Public Types | Public Member Functions | Public Attributes | Static Public Attributes

FbxSubDiv Class Reference

Search for all occurrences

Detailed Description

Definition at line 35 of file fbxsubdiv.h.

#include <fbxsubdiv.h>

Inheritance diagram for FbxSubDiv:
Inheritance graph
[legend]

List of all members.

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

Member Enumeration Documentation

enum EScheme
Enumerator:
eCatmullClark 
eDooCSabin 
eLoop 
eLinear 

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 
    };
Enumerator:
eOddFractional 
eEvenFractional 
eInteger 
ePower2 

Definition at line 48 of file fbxsubdiv.h.

    {
        eOddFractional,
        eEvenFractional,
        eInteger,
        ePower2,      //Max, Maya use this one
    };

Constructor & Destructor Documentation

FbxSubDiv ( FbxManager pManager,
char const *  pName 
)

Member Function Documentation

void InitSubdivLevel ( int  pLevelCount,
EScheme  pScheme = eCatmullClark,
ETesselationPattern  pPattern = ePower2 
)

InitSubdivLevel Initialize the subdiv.

Parameters:
pLevelCount number of levels
pScheme subdivision scheme
pPattern Tessellation pattern
virtual void Destruct ( bool  pRecursive,
bool  pDependents 
) [virtual]
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.

Returns:
eUnknown

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.

Parameters:
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 )

Member Data Documentation

const int MAX_SUBDIV_LEVEL = 16 [static]

Definition at line 81 of file fbxsubdiv.h.

Definition at line 84 of file fbxsubdiv.h.


The documentation for this class was generated from the following file:

FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv
FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv FbxSubDiv