HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OBJ_Bone.h File Reference
#include "OBJ_API.h"
#include <UT/UT_XformOrder.h>
#include <UT/UT_ValArray.h>
#include "OBJ_Geometry.h"
+ Include dependency graph for OBJ_Bone.h:

Go to the source code of this file.

Classes

class  OBJ_Bone
 

Macros

#define BONESTATE_CHOPNET   "KIN_Chops"
 
#define EVAL_FLOAT(name, idx, vi, t)   return evalFloat(name, &getIndirect()[idx], vi, t);
 
#define EVAL_FLOATS(name, idx, v, t)   evalFloats(name, &getIndirect()[idx], v, t);
 
#define EVAL_INT(name, idx, vi, t)   return evalInt(name, &getIndirect()[idx], vi, t);
 
#define EVAL_STR(name, idx, vi, t)   evalString(str, name, &getIndirect()[idx], vi, t);
 
#define SET_FLOAT(name, parm_index, vector_index, t, val)   setFloat(name, getIndirect()[parm_index], vector_index, t, val)
 
#define SET_FLOATREF(name, vector_index, t, val)   setChRefFloat(getParmList()->getParmIndex(name), vector_index, t, val)
 
#define SET_INT(name, parm_index, vector_index, t, val)   setInt(name, getIndirect()[parm_index], vector_index, t, val)
 
#define SET_STRING(val, meaning, name, parm_index, vector_index, t)
 

Enumerations

enum  OBJ_BoneIndex {
  I_LINK = I_N_GEO_INDICES, I_REST_ANGLE, I_LENGTH, I_SOLVER,
  I_DAMPEN, I_XRANGE, I_XDAMP, I_XROLLOFF,
  I_YRANGE, I_YDAMP, I_YROLLOFF, I_ZRANGE,
  I_ZDAMP, I_ZROLLOFF, I_CAPTURE, I_CRSWITCHER,
  I_CCRCENTER, I_CCRROTATE, I_CCRSCALE, I_CCRTOPHEIGHT,
  I_CCRTOPCAP, I_CCRBOTHEIGHT, I_CCRBOTCAP, I_CRCENTER,
  I_CRROTATE, I_CRSCALE, I_CRTOPHEIGHT, I_CRTOPCAP,
  I_CRBOTHEIGHT, I_CRBOTCAP, I_LABEL_1, I_CAPTPOSE_LENGTH,
  I_CAPTPOSE_T, I_CAPTPOSE_R, I_CAPTPOSE_S, I_N_BONE_INDICES
}
 

Macro Definition Documentation

#define BONESTATE_CHOPNET   "KIN_Chops"

Definition at line 23 of file OBJ_Bone.h.

#define EVAL_FLOAT (   name,
  idx,
  vi,
 
)    return evalFloat(name, &getIndirect()[idx], vi, t);

Definition at line 74 of file OBJ_Bone.h.

#define EVAL_FLOATS (   name,
  idx,
  v,
 
)    evalFloats(name, &getIndirect()[idx], v, t);

Definition at line 76 of file OBJ_Bone.h.

#define EVAL_INT (   name,
  idx,
  vi,
 
)    return evalInt(name, &getIndirect()[idx], vi, t);

Definition at line 78 of file OBJ_Bone.h.

#define EVAL_STR (   name,
  idx,
  vi,
 
)    evalString(str, name, &getIndirect()[idx], vi, t);

Definition at line 80 of file OBJ_Bone.h.

#define SET_FLOAT (   name,
  parm_index,
  vector_index,
  t,
  val 
)    setFloat(name, getIndirect()[parm_index], vector_index, t, val)

Definition at line 83 of file OBJ_Bone.h.

#define SET_FLOATREF (   name,
  vector_index,
  t,
  val 
)    setChRefFloat(getParmList()->getParmIndex(name), vector_index, t, val)

Definition at line 85 of file OBJ_Bone.h.

#define SET_INT (   name,
  parm_index,
  vector_index,
  t,
  val 
)    setInt(name, getIndirect()[parm_index], vector_index, t, val)

Definition at line 87 of file OBJ_Bone.h.

#define SET_STRING (   val,
  meaning,
  name,
  parm_index,
  vector_index,
 
)
Value:
setString(val, meaning, name, getIndirect()[parm_index], \
vector_index, t)
GLuint const GLchar * name
Definition: glcorearb.h:785
GLuint GLfloat * val
Definition: glcorearb.h:1607

Definition at line 89 of file OBJ_Bone.h.

Enumeration Type Documentation

Enumerator
I_LINK 
I_REST_ANGLE 
I_LENGTH 
I_SOLVER 
I_DAMPEN 
I_XRANGE 
I_XDAMP 
I_XROLLOFF 
I_YRANGE 
I_YDAMP 
I_YROLLOFF 
I_ZRANGE 
I_ZDAMP 
I_ZROLLOFF 
I_CAPTURE 
I_CRSWITCHER 
I_CCRCENTER 
I_CCRROTATE 
I_CCRSCALE 
I_CCRTOPHEIGHT 
I_CCRTOPCAP 
I_CCRBOTHEIGHT 
I_CCRBOTCAP 
I_CRCENTER 
I_CRROTATE 
I_CRSCALE 
I_CRTOPHEIGHT 
I_CRTOPCAP 
I_CRBOTHEIGHT 
I_CRBOTCAP 
I_LABEL_1 
I_CAPTPOSE_LENGTH 
I_CAPTPOSE_T 
I_CAPTPOSE_R 
I_CAPTPOSE_S 
I_N_BONE_INDICES 

Definition at line 27 of file OBJ_Bone.h.