fbxsdk/scene/geometry/fbxsubdiv.h Source File
Go to the documentation of this file.
13 #ifndef _FBXSDK_SCENE_GEOMETRY_SUB_DIV_H_
14 #define _FBXSDK_SCENE_GEOMETRY_SUB_DIV_H_
28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 enum ETesselationPattern
51 enum EDisplaySmoothness
64 void InitSubdivLevel(
int pLevelCount,
65 EScheme pScheme = eCatmullClark,
66 ETesselationPattern pPattern = ePower2);
72 static const int MAX_SUBDIV_LEVEL = 16;
84 bool SetFinestMesh(
FbxMesh* pMesh);
87 bool SetBaseMesh(
FbxMesh* pMesh);
90 FbxMesh* GetMesh(
int pLevel)
const;
97 void SetSubdivLevelMesh(
int pLevel,
FbxMesh* pMesh);
99 int GetLevelCount()
const;
100 void SetLevelCount(
int pLevelCount);
102 int GetCurrentLevel()
const;
103 void SetCurrentLevel(
int pCurrentLevel);
105 FbxMesh* GetCurrentMesh()
const;
107 FbxSubDiv::EScheme GetSubdivScheme()
const;
109 FbxSubDiv::ETesselationPattern GetTessPattern()
const;
111 void SetSubdivScheme(FbxSubDiv::EScheme pScheme);
113 void SetTessPattern(FbxSubDiv::ETesselationPattern pPattern);
115 FbxSubDiv::EDisplaySmoothness GetDisplaySmoothness()
const;
117 void SetDisplaySmoothness(FbxSubDiv::EDisplaySmoothness pSmoothness);
137 ETesselationPattern mPattern;
140 EDisplaySmoothness mSmoothness;
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
FBX SDK environment definition.
EType
Node attribute types.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
The base class of geometric objects that support control point deformations (e.g. ...
Class for array of basic elements such as pointers and basic types.
A mesh is a geometry made of polygons.