fbxsdk/scene/animation/fbxanimstack.h Source File

fbxanimstack.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_ANIMATION_STACK_H_
14 #define _FBXSDK_SCENE_ANIMATION_STACK_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
23 // these symbols are defined for backward compatibility
24 #define FBXSDK_TAKENODE_DEFAULT_NAME "Default"
25 #define FBXSDK_ROOTCURVE_DEFAULT_NAME "Defaults"
26 
27 class FbxTakeInfo;
28 class FbxThumbnail;
29 class FbxAnimEvaluator;
30 
38 {
40 
41 public:
43  //
44  // Properties
45  //
47 
53  FbxPropertyT<FbxString> Description;
54 
64 
74 
82 
90 
94  void Reset(const FbxTakeInfo* pTakeInfo = NULL);
95 
104  FbxTimeSpan GetLocalTimeSpan() const;
105 
109  void SetLocalTimeSpan(FbxTimeSpan& pTimeSpan);
110 
114  FbxTimeSpan GetReferenceTimeSpan() const;
115 
119  void SetReferenceTimeSpan(FbxTimeSpan& pTimeSpan);
120 
135  bool BakeLayers(FbxAnimEvaluator* pEvaluator, FbxTime pStart, FbxTime pStop, FbxTime pPeriod);
137 
138 /*****************************************************************************************************************************
139 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
140 *****************************************************************************************************************************/
141 #ifndef DOXYGEN_SHOULD_SKIP_THIS
142 protected:
143  virtual void ConstructProperties(bool pForceSet);
144  virtual void Destruct(bool pRecursive);
145 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
146 };
147 
148 #include <fbxsdk/fbxsdk_nsend.h>
149 
150 #endif /* _FBXSDK_SCENE_ANIMATION_STACK_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
The Animation stack is a collection of animation layers.
Definition: fbxanimstack.h:37
#define NULL
Definition: fbxarch.h:210
FbxPropertyT< FbxTime > LocalStart
This property stores the local time span "Start" time.
Definition: fbxanimstack.h:63
FbxPropertyT< FbxTime > LocalStop
This property stores the local time span "Stop" time.
Definition: fbxanimstack.h:73
Class to encapsulate time units.
Definition: fbxtime.h:44
The principal interface for animation evaluators.
FbxPropertyT< FbxTime > ReferenceStart
This property stores the reference time span "Start" time.
Definition: fbxanimstack.h:81
A FbxObject derived container for FbxObject.
Definition: fbxcollection.h:28
This class contains take information from an imported file or exported to an output file...
Definition: fbxtakeinfo.h:56
#define FBXSDK_DLL
Definition: fbxarch.h:173
Class to encapsulate time intervals.
Definition: fbxtime.h:508
FbxPropertyT< FbxTime > ReferenceStop
This property stores the reference time span "Stop" time.
Definition: fbxanimstack.h:89
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
Simple class to hold RGBA values of a thumbnail image.
Definition: fbxthumbnail.h:27