fbxsdk/scene/fbxobjectscontainer.h Source File

fbxobjectscontainer.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2014 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_OBJECTS_CONTAINER_H_
14 #define _FBXSDK_SCENE_OBJECTS_CONTAINER_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 #include <fbxsdk/scene/fbxscene.h>
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
24 
25 /* Internal helper class used to traverse scene in the FbxAxisSystem and FbxSystemUnit
26  */
28 {
29 public:
30  enum EDepth
31  {
35  };
36 
38  virtual ~FbxObjectsContainer(){ Clear(); }
39 
40  // Store all anim curve nodes pointers that need to be converted
44 
45  // Store all node that need to be converted
47 
48 public:
49  void ExtractSceneObjects(FbxScene* pScene, EDepth pDepth, const FbxAttributeFilters& pFilters);
50 
51  void ExtractSceneObjects(FbxNode* pRootNode, EDepth pDepth, const FbxAttributeFilters& pFilters);
52 
54 
55 protected:
56  // Extract all node and fcurve from all take for this node.
57  void ExtractNodesAnimCurveNodes(FbxNode* pNode, EDepth pDepth, const FbxAttributeFilters& pFilters);
58  void ExtractAnimCurveNodes(FbxNode* pNode);
59  bool InheritsScale( FbxNode* pNode ) const;
60 
62 };
63 
64 #include <fbxsdk/fbxsdk_nsend.h>
65 
66 #endif /* _FBXSDK_SCENE_OBJECTS_CONTAINER_H_ */
FBX SDK environment definition.
FbxArray< FbxAnimCurveNode * > mFCurvesS
bool InheritsScale(FbxNode *pNode) const
#define NULL
Definition: fbxarch.h:207
FbxArray< FbxAnimCurveNode * > mFCurvesT
void Clear()
Reset the number of element to zero and free the memory allocated.
Definition: fbxarray.h:350
void ExtractAnimCurveNodes(FbxNode *pNode)
Represents an element in the scene graph.
Definition: fbxnode.h:72
This class contains the description of a 3D scene.
Definition: fbxscene.h:61
void ExtractNodesAnimCurveNodes(FbxNode *pNode, EDepth pDepth, const FbxAttributeFilters &pFilters)
FbxArray< FbxAnimCurveNode * > mFCurvesR
FbxArray< FbxNodeAttribute::EType > FbxAttributeFilters
void ExtractSceneObjects(FbxScene *pScene, EDepth pDepth, const FbxAttributeFilters &pFilters)
FbxArray< FbxNode * > mNodes
Class for array of basic elements such as pointers and basic types.
Definition: fbxarray.h:23