HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OBJ_Bone.h File Reference
#include "OBJ_API.h"
#include "OBJ_Geometry.h"
#include <UT/UT_ValArray.h>
#include <UT/UT_XformOrder.h>
#include <SYS/SYS_Inline.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_FLOAT_T(name, idx, vi, t, thread)   return evalFloatT(name, &getIndirect()[idx], vi, t, thread);
 
#define EVAL_FLOATS(name, idx, v, t)   evalFloats(name, &getIndirect()[idx], v, t);
 
#define EVAL_FLOATS_T(name, idx, v, t, stid)   evalFloatsT(name, &getIndirect()[idx], v, t, stid);
 
#define EVAL_INT(name, idx, vi, t)   return evalInt(name, &getIndirect()[idx], vi, t);
 
#define EVAL_BOOL(name, idx, vi, t)   return (evalInt(name, &getIndirect()[idx], vi, t) != 0);
 
#define EVAL_STR(name, idx, vi, t)   evalString(str, name, &getIndirect()[idx], vi, t);
 
#define SET_FLOAT(name, parm_index, vector_index, t, val)   setChRefFloat(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)   setChRefInt(name, getIndirect()[parm_index], vector_index, t, val)
 
#define SET_STRING(val, meaning, name, parm_index, vector_index, t)   setChRefString(val,meaning, name, getIndirect()[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 24 of file OBJ_Bone.h.

#define EVAL_BOOL (   name,
  idx,
  vi,
  t 
)    return (evalInt(name, &getIndirect()[idx], vi, t) != 0);

Definition at line 85 of file OBJ_Bone.h.

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

Definition at line 75 of file OBJ_Bone.h.

#define EVAL_FLOAT_T (   name,
  idx,
  vi,
  t,
  thread 
)    return evalFloatT(name, &getIndirect()[idx], vi, t, thread);

Definition at line 77 of file OBJ_Bone.h.

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

Definition at line 79 of file OBJ_Bone.h.

#define EVAL_FLOATS_T (   name,
  idx,
  v,
  t,
  stid 
)    evalFloatsT(name, &getIndirect()[idx], v, t, stid);

Definition at line 81 of file OBJ_Bone.h.

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

Definition at line 83 of file OBJ_Bone.h.

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

Definition at line 87 of file OBJ_Bone.h.

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

Definition at line 90 of file OBJ_Bone.h.

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

Definition at line 92 of file OBJ_Bone.h.

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

Definition at line 94 of file OBJ_Bone.h.

#define SET_STRING (   val,
  meaning,
  name,
  parm_index,
  vector_index,
  t 
)    setChRefString(val,meaning, name, getIndirect()[parm_index], vector_index, t)

Definition at line 96 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 28 of file OBJ_Bone.h.