34 bool m_translationRequired;
35 bool m_highRangeRequired;
36 bool m_translationIsDynamic;
37 static int m_translationRequiredCount;
38 static int m_translationNotRequiredCount;
41 std::vector<CalCoreKeyframe*> m_keyframes;
69 bool setCoreBoneId(
int coreBoneId);
71 int getCoreKeyframeCount()
const;
75 static int translationRequiredCount() {
return m_translationRequiredCount; }
76 static int translationNotRequiredCount() {
return m_translationNotRequiredCount; }
78 bool addCoreKeyframe(CalCoreKeyframe *pCoreKeyframe);
79 void removeCoreKeyFrame(
int _i) { m_keyframes.erase( m_keyframes.begin() + _i); }
80 bool getTranslationRequired() {
return m_translationRequired; }
81 void setTranslationRequired(
bool p ) { m_translationRequired = p; }
82 bool getTranslationIsDynamic() {
return m_translationIsDynamic; }
83 void setTranslationIsDynamic(
bool p ) { m_translationIsDynamic = p; }
84 bool getHighRangeRequired() {
return m_highRangeRequired; }
85 void setHighRangeRequired(
bool p ) { m_highRangeRequired = p; }
86 void fillInvalidTranslations( CalVector
const & trans );
88 void scale(
float factor);
89 void compress(
double translationTolerance,
double rotationToleranceDegrees, CalCoreSkeleton * skelOrNull );
90 bool roundTranslation( CalCoreKeyframe
const * prev, CalCoreKeyframe * p,
double translationTolerance );
91 void translationCompressibility(
92 bool * transRequiredResult,
bool * transDynamicResult,
bool * highRangeRequiredResult,
93 float threshold,
float highRangeThreshold, CalCoreSkeleton * skel );
94 void collapseSequences(
double translationTolerance,
double rotationToleranceDegrees );
97 std::vector<CalCoreKeyframe *>::const_iterator getUpperBound(
float time)
const;
98 bool keyframeEliminatable( CalCoreKeyframe * prev, CalCoreKeyframe * p, CalCoreKeyframe * next,
99 double translationTolerance,
double rotationToleranceDegrees);
bool getState(float time, CalVector &translation, CalQuaternion &rotation) const
Returns a specified state.
Definition coretrack.cpp:531