Definition at line 35 of file fbxsubdiv.h.
#include <fbxsubdiv.h>

Public Types |
|
| enum | EScheme { eCatmullClark, eDooCSabin, eLoop, eLinear } |
| enum | ETesselationPattern { eOddFractional, eEvenFractional, eInteger, ePower2 } |
| enum | EDisplaySmoothness { eHull, eRough, eMedium, eFine } |
Public Member Functions |
|
| void | InitSubdivLevel (int pLevelCount, EScheme pScheme=eCatmullClark, ETesselationPattern pPattern=ePower2) |
| InitSubdivLevel Initialize the subdiv.
|
|
| FbxSubDiv (FbxManager &pManager, char const *pName) | |
| virtual void | Destruct (bool pRecursive, bool pDependents) |
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Returns the node attribute type. |
|
| FbxMesh * | GetBaseMesh () const |
| FbxMesh * | GetFinestMesh () const |
| bool | SetFinestMesh (FbxMesh *pMesh) |
| bool | SetBaseMesh (FbxMesh *pMesh) |
| FbxMesh * | GetMesh (int pLevel) const |
| void | SetSubdivLevelMesh (int pLevel, FbxMesh *pMesh) |
| SetSubdivLevelMesh Set certain subdivision
mesh. |
|
| int | GetLevelCount () const |
| void | SetLevelCount (int pLevelCount) |
| int | GetCurrentLevel () const |
| void | SetCurrentLevel (int pCurrentLevel) |
| FbxMesh * | GetCurrentMesh () const |
| FbxSubDiv::EScheme | GetSubdivScheme () const |
| FbxSubDiv::ETesselationPattern | GetTessPattern () const |
| void | SetSubdivScheme (FbxSubDiv::EScheme pScheme) |
| void | SetTessPattern (FbxSubDiv::ETesselationPattern pPattern) |
| FbxSubDiv::EDisplaySmoothness | GetDisplaySmoothness () const |
| void | SetDisplaySmoothness (FbxSubDiv::EDisplaySmoothness pSmoothness) |
Public Attributes |
|
| FbxArray< FbxMesh * > | mSubDivLevel |
Static Public Attributes |
|
| static const int | MAX_SUBDIV_LEVEL = 16 |
| enum EScheme |
Definition at line 40 of file fbxsubdiv.h.
{
eCatmullClark, //Catmull CClark subdivision surface
eDooCSabin, //Doo CSabin subdivision surface
eLoop, //Loop subdivision surface
eLinear, //Linear subdivision surface
};
| enum ETesselationPattern |
Definition at line 48 of file fbxsubdiv.h.
{
eOddFractional,
eEvenFractional,
eInteger,
ePower2, //Max, Maya use this one
};
| enum EDisplaySmoothness |
Definition at line 56 of file fbxsubdiv.h.
| FbxSubDiv | ( | FbxManager & | pManager, |
| char const * | pName | ||
| ) |
| void InitSubdivLevel | ( | int | pLevelCount, |
| EScheme | pScheme =
eCatmullClark, |
||
| ETesselationPattern | pPattern =
ePower2 |
||
| ) |
InitSubdivLevel Initialize the subdiv.
| pLevelCount | number of levels |
| pScheme | subdivision scheme |
| pPattern | Tessellation pattern |
| virtual void Destruct | ( | bool | pRecursive, |
| bool | pDependents | ||
| ) | [virtual] |
Reimplemented from FbxGeometry.
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [virtual] |
Returns the node attribute type.
This method is derived in the more high level classes (FbxMesh, FbxNurbs, etc...) and returns the actual type of the geometry object.
Reimplemented from FbxGeometry.
| FbxMesh* GetBaseMesh | ( | ) | const |
| FbxMesh* GetFinestMesh | ( | ) | const |
| bool SetFinestMesh | ( | FbxMesh * | pMesh | ) |
| bool SetBaseMesh | ( | FbxMesh * | pMesh | ) |
| FbxMesh* GetMesh | ( | int | pLevel | ) | const |
| void SetSubdivLevelMesh | ( | int | pLevel, |
| FbxMesh * | pMesh | ||
| ) |
SetSubdivLevelMesh Set certain subdivision mesh.
| pLevel | working level |
| pMesh | new level mesh. pLevel = 0 means base mesh, pLevel = MaxLevel -1 means finest mesh |
| int GetLevelCount | ( | ) | const |
| void SetLevelCount | ( | int | pLevelCount | ) |
| int GetCurrentLevel | ( | ) | const |
| void SetCurrentLevel | ( | int | pCurrentLevel | ) |
| FbxMesh* GetCurrentMesh | ( | ) | const |
| FbxSubDiv::EScheme GetSubdivScheme | ( | ) | const |
| FbxSubDiv::ETesselationPattern GetTessPattern | ( | ) | const |
| void SetSubdivScheme | ( | FbxSubDiv::EScheme | pScheme | ) |
| void SetTessPattern | ( | FbxSubDiv::ETesselationPattern | pPattern | ) |
| FbxSubDiv::EDisplaySmoothness GetDisplaySmoothness | ( | ) | const |
| void SetDisplaySmoothness | ( | FbxSubDiv::EDisplaySmoothness | pSmoothness | ) |
const int MAX_SUBDIV_LEVEL
= 16 [static] |
Definition at line 81 of file fbxsubdiv.h.
Definition at line 84 of file fbxsubdiv.h.