13 #ifndef _FBXSDK_SCENE_ANIMATION_CURVE_BASE_H_ 14 #define _FBXSDK_SCENE_ANIMATION_CURVE_BASE_H_ 80 virtual void KeyClear () = 0;
84 virtual int KeyGetCount ()
const = 0;
111 virtual bool KeyRemove(
int pIndex) = 0;
118 virtual bool KeyRemove(
int pStartIndex,
int pEndIndex) = 0;
136 virtual void KeySetTime(
int pKeyIndex,
FbxTime pTime) = 0;
156 eMirrorRepetition = 3,
158 eRelativeRepetition = 5
164 void SetPreExtrapolation(EExtrapolationType pExtrapolation);
175 void SetPreExtrapolationCount(
unsigned long pCount);
186 void SetPostExtrapolation(EExtrapolationType pExtrapolation);
197 void SetPostExtrapolationCount(
unsigned long pCount);
218 virtual float Evaluate (
FbxTime pTime,
int* pLast =
NULL) = 0;
226 virtual float EvaluateIndex(
double pIndex) = 0;
239 virtual bool GetTimeInterval(
FbxTimeSpan& pTimeInterval);
245 #ifndef DOXYGEN_SHOULD_SKIP_THIS 247 virtual bool Store(
FbxIO* pFileObject,
bool pLegacyVersion=
false) = 0;
248 virtual bool Retrieve(
FbxIO* pFileObject) = 0;
249 virtual void ExtrapolationSyncCallback() = 0;
255 EExtrapolationType mPreExtrapolation;
256 unsigned long mPreExtrapolationCount;
257 EExtrapolationType mPostExtrapolation;
258 unsigned long mPostExtrapolationCount;
264 #endif // FBXFILESDK_KFBXPLUGINS_KFBXANIMCURVEBASE_H EExtrapolationType GetPreExtrapolation() const
Get pre-extrapolation mode.
FBX SDK environment definition.
This is the base class interface for the FBX animation curve keys.
This is the base class for implementing animation curves.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
EExtrapolationType GetPostExtrapolation() const
Get post-extrapolation mode.
FbxTime mTime
Data member representing time value.
FbxAnimCurveKeyBase()
Constructor.
unsigned long GetPreExtrapolationCount() const
Get pre-extrapolation count.
#define FBXSDK_TIME_INFINITE
Class to encapsulate time units.
The base class of most FBX objects.
#define FBXSDK_ABSTRACT_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new abstract class derived from FbxObject.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
unsigned long GetPostExtrapolationCount() const
Get post-extrapolation count.
virtual ~FbxAnimCurveKeyBase()
Destructor.
virtual FbxTime GetTime() const
Get time value.
virtual FbxTime KeyGetTime(int) const
Get key time.
FbxIO represents an FBX file.
Class to encapsulate time intervals.
virtual void SetTime(const FbxTime &pTime)
Set time value.