29 #define KIN_CHAIN_ROT_ORDER UT_XformOrder::ZYX
52 myOrientToNormalsFlag =
false;
94 fpreal myTrackingThresholdFactor = 1e-3;
95 int myResistStraight =
true;
116 int getNbones()
const;
117 void setNbones(
int bones);
119 {
return myBones(index); }
158 void copySubChain(
const KIN_Chain &
src,
int from,
int to);
162 int64 mem = inclusive ?
sizeof(*this) : 0;
163 mem += myBones.getMemoryUsage(
false);
164 mem += mySolverType.getMemoryUsage(
false);
168 void updateCurrentSolverRestChain();
170 void initializeSolver();
183 auto &&bone = myBones(index);
198 auto &&bone = myBones(index);
206 bone.setRotates(r,rads);
220 auto &&bone = myBones(index);
221 return bone.setRotateMatrix(m);
void setBoneRotates(int index, const fpreal *r)
SIM_API const UT_StringHolder angle
void getRotates(fpreal *r) const
int64 getMemoryUsage(bool inclusive) const
GA_API const UT_StringHolder rot
void setBoneRotateMatrix(int index, const UT_Matrix3R &m)
GLuint GLsizei GLsizei * length
const KIN_Bone & getBone(int index) const
**But if you need a result
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GLint GLint GLsizei GLint GLenum GLenum type
bool myOrientToNormalsFlag
void getBoneRotates(int index, fpreal *r) const
const UT_Matrix3R & getBoneRotateMatrix(int index) const
GA_API const UT_StringHolder parms
UT_Vector3RArray myPoints
UT_Vector3R myTwistAffectorPos
static const UT_XformOrder & getXformOrder()
UT_Vector3RArray myNormals
bool SYSisEqual(const UT_Vector2T< T > &a, const UT_Vector2T< T > &b, S tol=SYS_FTOLERANCE)
Componentwise equality.
GA_API const UT_StringHolder rest
UT_Vector3R myEndAffectorPos
const UT_Matrix3R & getRotateMatrix() const