29 #define KIN_CHAIN_ROT_ORDER UT_XformOrder::ZYX
85 myResistStraight =
true;
86 myTrackingThresholdFactor = 1e-03;
111 int getNbones()
const;
112 void setNbones(
int bones);
114 {
return myBones(index); }
153 void copySubChain(
const KIN_Chain &
src,
int from,
int to);
157 int64 mem = inclusive ?
sizeof(*this) : 0;
158 mem += myBones.getMemoryUsage(
false);
159 mem += mySolverType.getMemoryUsage(
false);
163 void updateCurrentSolverRestChain();
165 void initializeSolver();
178 auto &&bone = myBones(index);
193 auto &&bone = myBones(index);
201 bone.setRotates(r,rads);
215 auto &&bone = myBones(index);
216 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.
bool myOrientToNormalsFlag
void getBoneRotates(int index, fpreal *r) const
const UT_Matrix3R & getBoneRotateMatrix(int index) const
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