29 #define KIN_CHAIN_ROT_ORDER UT_XformOrder::ZYX
52 myOrientToNormalsFlag =
false;
96 myResistStraight =
true;
97 myTrackingThresholdFactor = 1e-03;
122 int getNbones()
const;
123 void setNbones(
int bones);
125 {
return myBones(index); }
164 void copySubChain(
const KIN_Chain &
src,
int from,
int to);
168 int64 mem = inclusive ?
sizeof(*this) : 0;
169 mem += myBones.getMemoryUsage(
false);
170 mem += mySolverType.getMemoryUsage(
false);
174 void updateCurrentSolverRestChain();
176 void initializeSolver();
189 auto &&bone = myBones(index);
204 auto &&bone = myBones(index);
212 bone.setRotates(r,rads);
226 auto &&bone = myBones(index);
227 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
fpreal myTrackingThresholdFactor
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