FBX C++ API Reference
|
#include <fbxgeometrybase.h>
This class is the base class for geometric object such as meshes, NURBS and patches.
Use the FbxGeometryBase class to manage the control points, normals, binormals and tangents of the geometries. The meaning of "control point" is dependent of the geometry object type. For meshes, the "control point" is the physical 3D coordinate of polygon vertices while, for NURBS, it is the the actual control point on the curves defining the surface. This class also allow you to define normals, binormals and tangents regardless of the type of geometric object. However, in reality, applying such definitions to NURBS and patches does not make much sense since these definitions would only exist at the control points and inbetween them, the interpolation would certainly not follow the curve.
Geometric objects are using a system of layered data to extend their construction definition. For example, a typical layer for a Mesh contains Normals, UVs and Materials but client applications can decide to define another set of Normals and UVs and swap them during the rendering phase to produce some different results. The combinations are limitless and it would be impossible to discuss them all. This example has been presented to show one possible context where layers can be used. More information can be found in the FbxLayerContainer and FbxLayer classes description.
Definition at line 43 of file fbxgeometrybase.h.
Public Types | |
typedef FbxLayerContainer | ParentClass |
![]() | |
typedef FbxNodeAttribute | ParentClass |
![]() | |
enum | EType { eUnknown, eNull, eMarker, eSkeleton, eMesh, eNurbs, ePatch, eCamera, eCameraStereo, eCameraSwitcher, eLight, eOpticalReference, eOpticalMarker, eNurbsCurve, eTrimNurbsSurface, eBoundary, eNurbsSurface, eShape, eLODGroup, eSubDiv, eCachedEffect, eLine } |
Node attribute types. More... | |
typedef FbxObject | ParentClass |
![]() | |
typedef FbxEmitter | ParentClass |
enum | EObjectFlag { eNone = 0, eInitialized = 1 << 0, eSystem = 1 << 1, eSavable = 1 << 2, eSelected = 1 << 3, eHidden = 1 << 4, eContentLoaded = 1 << 5, eDontLocalize = 1 << 6, eCopyCalledByClone = 1 << 16 } |
Flags available to control objects. More... | |
enum | ECloneType { eDeepClone, eReferenceClone } |
Types of clones that can be created for FbxObject. More... | |
Public Member Functions | |
virtual FbxClassId | GetClassId () const |
virtual int | MemoryUsage () const |
Calculate the actual amount of memory used by this geometry object. More... | |
![]() | |
virtual FbxNodeAttribute::EType | GetAttributeType () const |
Returns the type of node attribute. More... | |
bool | ConvertDirectToIndexToDirect (int pLayer) |
Converts the reference mode from eDirect to eIndexToDirect. More... | |
int | CreateLayer () |
Creates a new layer on top of existing layers. More... | |
void | ClearLayers () |
Deletes all layers. More... | |
int | GetLayerCount () const |
Returns the number of layers. More... | |
int | GetLayerCount (FbxLayerElement::EType pType, bool pUVCount=false) const |
Returns the number of layers that contain the specified layer element type. More... | |
FbxLayer * | GetLayer (int pIndex) |
Returns the layer at the specified index. More... | |
const FbxLayer * | GetLayer (int pIndex) const |
Returns the layer at the specified index. More... | |
FbxLayer * | GetLayer (int pIndex, FbxLayerElement::EType pType, bool pIsUV=false) |
Returns the n'th layer as specified by pIndex that contains the specified layer element type. More... | |
const FbxLayer * | GetLayer (int pIndex, FbxLayerElement::EType pType, bool pIsUV=false) const |
Returns the n'th layer as specified by pIndex that contains the specified layer element type. More... | |
int | GetLayerIndex (int pIndex, FbxLayerElement::EType pType, bool pIsUV=false) const |
Returns the global index of the n'th layer as specified by pIndex that contains the specified layer element type. More... | |
int | GetLayerTypedIndex (int pGlobalIndex, FbxLayerElement::EType pType, bool pIsUV=false) const |
Converts the layer's global index to a type-specific index. More... | |
![]() | |
int | GetNodeCount () const |
Return the node count using this attribute. More... | |
FbxNode * | GetNode (int pIndex=0) const |
Return the node this attribute is set to. More... | |
![]() | |
virtual void | Compact () |
Compact the memory used by this object. More... | |
template<class T > | |
bool | Is () const |
Templated test if this class is a hierarchical children of the specified class type. More... | |
FbxManager * | GetFbxManager () const |
Retrieve the FbxManager this object belongs to. More... | |
FbxDocument * | GetDocument () const |
Returns a const pointer to the document that contains this object. More... | |
FbxDocument * | GetRootDocument () const |
Returns a const pointer to the root document that contains this object. More... | |
FbxScene * | GetScene () const |
Returns a const pointer to the scene that contains this object. More... | |
void | Destroy (bool pRecursive=false) |
Unregister and delete this object from memory. More... | |
void | ResetProperties () |
Reset all the properties of this object to their default values. More... | |
virtual bool | GetSelected () |
Returns if this object is currently in a selected state. More... | |
virtual void | SetSelected (bool pSelected) |
Sets whether this object is currently selected. More... | |
void | SetUserDataPtr (const FbxUInt64 &pUserID, void *pUserData) |
Sets the data pointer for an user data record whose ID is pUserID. More... | |
void * | GetUserDataPtr (const FbxUInt64 &pUserID) const |
Returns the data pointer of an user data record whose ID is pUserID. More... | |
void | SetUserDataPtr (void *pUserData) |
Sets the data pointer for the user data record whose ID is the object ID. More... | |
void * | GetUserDataPtr () const |
Returns the data pointer of the user data record whose ID is the object ID. More... | |
bool | ConnectSrcObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone) |
Connects this object to a source object. More... | |
bool | IsConnectedSrcObject (const FbxObject *pObject) const |
Judges whether this object connects with the source object. More... | |
bool | DisconnectSrcObject (FbxObject *pObject) |
Disconnects this object from a source object. More... | |
bool | DisconnectAllSrcObject () |
Disconnects this object from all source objects. More... | |
bool | DisconnectAllSrcObject (const FbxCriteria &pCriteria) |
Disconnects this object from all source objects that satisfy a given criteria. More... | |
int | GetSrcObjectCount () const |
Returns the number of source objects with which this object connects. More... | |
int | GetSrcObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of source objects that satisfy the given criteria with which this object connects. More... | |
FbxObject * | GetSrcObject (int pIndex=0) const |
Returns the source object with which this object connects at the specified index. More... | |
FbxObject * | GetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the source object that satisfies the criteria at the specified index with which this object connects. More... | |
FbxObject * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name, starting at the specified index. More... | |
FbxObject * | FindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name which satisfies the given criteria, starting at the specified index. More... | |
template<class T > | |
bool | DisconnectAllSrcObject () |
Disconnects this object from all source objects of the specified class type. More... | |
template<class T > | |
bool | DisconnectAllSrcObject (const FbxCriteria &pCriteria) |
Disconnects this object from all source objects that are of the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
int | GetSrcObjectCount () const |
Returns the number of source objects of a specific class type with which this object connects. More... | |
template<class T > | |
int | GetSrcObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of source objects with which this object connects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
T * | GetSrcObject (int pIndex=0) const |
Returns the source object of the specified class type at the specified index. More... | |
template<class T > | |
T * | GetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the source object that is the specified class type and that satisfies the given criteria at the specified index. More... | |
template<class T > | |
T * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name that is the specified class type, starting at the specified index. More... | |
template<class T > | |
T * | FindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More... | |
bool | ConnectDstObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone) |
Connects this object to one destination object. More... | |
bool | IsConnectedDstObject (const FbxObject *pObject) const |
Judges whether this object connects with the destination object. More... | |
bool | DisconnectDstObject (FbxObject *pObject) |
Disconnects this object from the destination object. More... | |
bool | DisconnectAllDstObject () |
Disconnects this object from all destination objects. More... | |
bool | DisconnectAllDstObject (const FbxCriteria &pCriteria) |
Disconnects this object from all destination objects that satisfy given criteria. More... | |
int | GetDstObjectCount () const |
Returns the number of destination objects with which this object connects. More... | |
int | GetDstObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of destination objects with which this object connects that satisfy the given criteria. More... | |
FbxObject * | GetDstObject (int pIndex=0) const |
Returns the destination object at the specified index with which this object connects. More... | |
FbxObject * | GetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the destination object with which this object connects that satisfies the given criteria at the specified index. More... | |
FbxObject * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name, starting at the specified index. More... | |
FbxObject * | FindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name which satisfies the given criteria, starting at the specified index. More... | |
template<class T > | |
bool | DisconnectAllDstObject () |
Disconnects this object from all destination objects of the specified class type. More... | |
template<class T > | |
bool | DisconnectAllDstObject (const FbxCriteria &pCriteria) |
Disconnects this object from all destination objects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
int | GetDstObjectCount () const |
Returns the number of destination objects of the specified class type with which this object connects. More... | |
template<class T > | |
int | GetDstObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of destination objects with which this object connects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
T * | GetDstObject (int pIndex=0) const |
Returns the destination object with which this object connects that is the specified class type at the specified index. More... | |
template<class T > | |
T * | GetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the destination object with which this object connects that is the specified class type and that satisfies the given criteria at the specified index. More... | |
template<class T > | |
T * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name which is of the specified class type, starting at the specified index. More... | |
template<class T > | |
T * | FindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More... | |
FbxProperty | GetFirstProperty () const |
Returns the first property of this object. More... | |
FbxProperty | GetNextProperty (const FbxProperty &pProperty) const |
Returns the next property of this object that follows the specified property. More... | |
FbxProperty | FindProperty (const char *pName, bool pCaseSensitive=true) const |
Searches a property by name. More... | |
FbxProperty | FindProperty (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const |
Searches a property by name and data type. More... | |
FbxProperty | FindPropertyHierarchical (const char *pName, bool pCaseSensitive=true) const |
Searches a property by full name. More... | |
FbxProperty | FindPropertyHierarchical (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const |
Searches a property by full name and data type. More... | |
FbxProperty | GetClassRootProperty () |
Returns the class root property. More... | |
bool | ConnectSrcProperty (const FbxProperty &pProperty) |
Connects this object to a source property. More... | |
bool | IsConnectedSrcProperty (const FbxProperty &pProperty) |
Determines whether this object connects with the specified source property. More... | |
bool | DisconnectSrcProperty (const FbxProperty &pProperty) |
Disconnects this object from the specified source property. More... | |
int | GetSrcPropertyCount () const |
Returns the number of source properties with which this object connects. More... | |
FbxProperty | GetSrcProperty (int pIndex=0) const |
Returns the source property at the specified index with which this object connects. More... | |
FbxProperty | FindSrcProperty (const char *pName, int pStartIndex=0) const |
Searches a source property with which this object connects that has a specific name, starting at the specified index. More... | |
bool | ConnectDstProperty (const FbxProperty &pProperty) |
Connects this object to a destination property. More... | |
bool | IsConnectedDstProperty (const FbxProperty &pProperty) |
Determines if this object connects with the specified destination property. More... | |
bool | DisconnectDstProperty (const FbxProperty &pProperty) |
Disconnects this object from the specified destination property. More... | |
int | GetDstPropertyCount () const |
Returns the number of destination properties with which this object connects. More... | |
FbxProperty | GetDstProperty (int pIndex=0) const |
Returns the destination property at the specified index with which this object connects. More... | |
FbxProperty | FindDstProperty (const char *pName, int pStartIndex=0) const |
Searches a destination property with which this object connects that has a specific name, starting at the specified index. More... | |
int | ContentUnload () |
Unloads this object's content using the offload peripheral that is currently set in the document then flushes it from memory. More... | |
int | ContentLoad () |
Loads this object's content using the offload peripheral that is currently set in the document. More... | |
bool | ContentIsLoaded () const |
Judges if this object's content is loaded. More... | |
void | ContentDecrementLockCount () |
Decreases the content lock count of an object. More... | |
void | ContentIncrementLockCount () |
Increases the content lock count of an object. More... | |
bool | ContentIsLocked () const |
Judges if this object's content is locked. More... | |
void | EmitMessage (FbxMessage *pMessage) const |
Emits a message in all available message emitters in the document or SDK manager. More... | |
virtual const char * | Localize (const char *pID, const char *pDefault=((void *) 0)) const |
Localization helper function, it calls the implementation of FBX SDK manager. More... | |
FbxLibrary * | GetParentLibrary () const |
Returns a handle on the parent library of this object. More... | |
bool | AddImplementation (FbxImplementation *pImplementation) |
Adds an implementation. More... | |
bool | RemoveImplementation (FbxImplementation *pImplementation) |
Removes an implementation. More... | |
bool | HasDefaultImplementation (void) const |
Determines if this shading node has a default implementation. More... | |
FbxImplementation * | GetDefaultImplementation (void) const |
Returns the default implementation of this shading node. More... | |
bool | SetDefaultImplementation (FbxImplementation *pImplementation) |
Sets the default implementation of this shading node. More... | |
int | GetImplementationCount (const FbxImplementationFilter *pCriteria=((void *) 0)) const |
Returns the number of implementations that satisfy a given criteria. More... | |
FbxImplementation * | GetImplementation (int pIndex, const FbxImplementationFilter *pCriteria=((void *) 0)) const |
Returns the implementation at the specified index that satisfies the given criteria. More... | |
virtual FbxString | GetUrl () const |
Returns the URL of this object. More... | |
virtual bool | SetUrl (char *pUrl) |
Sets the URL of this object. More... | |
void | SetRuntimeClassId (const FbxClassId &pClassId) |
Set the run-time ClassId for this class. More... | |
FbxClassId | GetRuntimeClassId () const |
Retrieve the run-time ClassId for this object. More... | |
bool | IsRuntime (const FbxClassId &pClassId) const |
Test if this class is a hierarchical children of the specified class type. More... | |
bool | IsRuntimePlug () const |
Find out if the ClassId was registered during run-time rather than at compile time. More... | |
void | SetObjectFlags (EObjectFlag pFlags, bool pValue) |
Set the state of object flags. More... | |
bool | GetObjectFlags (EObjectFlag pFlags) const |
Get the state of object flags. More... | |
void | SetAllObjectFlags (FbxUInt pFlags) |
Override all object flags at once. More... | |
FbxUInt | GetAllObjectFlags () const |
Get all object flags at once. More... | |
virtual FbxObject & | Copy (const FbxObject &pObject) |
Copy an object content into this object. More... | |
virtual FbxObject * | Clone (FbxObject::ECloneType pCloneType=eDeepClone, FbxObject *pContainer=((void *) 0), void *pSet=((void *) 0)) const |
Creates a clone of this object. More... | |
bool | IsAReferenceTo () const |
Checks if this object is a reference clone of another object. More... | |
FbxObject * | GetReferenceTo () const |
If this object is a reference clone, returns the original object (from which the clone originates). More... | |
bool | IsReferencedBy () const |
Checks if any objects are reference cloned from this object. More... | |
int | GetReferencedByCount () const |
Returns the number of objects that are reference clones of this object. More... | |
FbxObject * | GetReferencedBy (int pIndex) const |
Returns a reference clone of this object at the specified index. More... | |
void | SetName (const char *pName) |
Sets the name of this object. More... | |
const char * | GetName () const |
Returns the full name of this object. More... | |
FbxString | GetNameWithoutNameSpacePrefix () const |
Returns the name of the object without the namespace qualifier. More... | |
FbxString | GetNameWithNameSpacePrefix () const |
Returns the name of the object with the namespace qualifier. More... | |
void | SetInitialName (const char *pName) |
Sets the initial name of the object. More... | |
const char * | GetInitialName () const |
Returns the initial name of the object. More... | |
FbxString | GetNameSpaceOnly () |
Returns the namespace of the object. More... | |
void | SetNameSpace (FbxString pNameSpace) |
Sets the namespace of the object. More... | |
FbxArray< FbxString * > | GetNameSpaceArray (char identifier) |
Returns an array of all the namespaces for this object. More... | |
FbxString | GetNameOnly () const |
Returns only the name (no namespace or prefix) of the object. More... | |
FbxString | GetNameSpacePrefix () const |
Returns the namespace qualifier. More... | |
const FbxUInt64 & | GetUniqueID () const |
Returns the unique ID of this object. More... | |
![]() | |
void | AddListener (FbxEventHandler &pHandler) |
Add the specified event handler to current emitter list. More... | |
void | RemoveListener (FbxEventHandler &pHandler) |
Remove the specified event handler from current emitter list. More... | |
template<typename EventType > | |
void | Emit (const EventType &pEvent) const |
Emit an event with the specified the event type. More... | |
Static Public Member Functions | |
static FbxGeometryBase * | Create (FbxManager *pManager, const char *pName) |
static FbxGeometryBase * | Create (FbxObject *pContainer, const char *pName) |
![]() | |
static FbxLayerContainer * | Create (FbxManager *pManager, const char *pName) |
static FbxLayerContainer * | Create (FbxObject *pContainer, const char *pName) |
![]() | |
static FbxNodeAttribute * | Create (FbxManager *pManager, const char *pName) |
static FbxNodeAttribute * | Create (FbxObject *pContainer, const char *pName) |
![]() | |
static FbxObject * | Create (FbxManager *pManager, const char *pName) |
static FbxObject * | Create (FbxObject *pContainer, const char *pName) |
static FbxString | RemovePrefix (char *pName) |
Removes the prefix of pName. More... | |
static FbxString | StripPrefix (FbxString &lName) |
Strips the prefix of pName. More... | |
static FbxString | StripPrefix (const char *pName) |
Strips the prefix of pName. More... | |
Static Public Attributes | |
static FbxClassId | ClassId |
![]() | |
static FbxClassId | ClassId |
![]() | |
static FbxClassId | ClassId |
static const char * | sColor |
Property Names. More... | |
static const FbxDouble3 | sDefaultColor |
Property Default Values. More... | |
![]() | |
static FbxClassId | ClassId |
Protected Member Functions | |
virtual | ~ FbxGeometryBase () |
FbxGeometryBase (FbxManager &pManager, const char *pName) | |
![]() | |
virtual | ~ FbxLayerContainer () |
FbxLayerContainer (FbxManager &pManager, const char *pName) | |
![]() | |
virtual | ~ FbxNodeAttribute () |
FbxNodeAttribute (FbxManager &pManager, const char *pName) | |
![]() | |
virtual | ~ FbxObject () |
virtual void | Construct (const FbxObject *pFrom) |
Optional constructor override, automatically called by default constructor. More... | |
virtual void | ConstructProperties (bool pForceSet) |
Optional property constructor override, automatically called by default constructor. More... | |
virtual void | Destruct (bool pRecursive) |
Optional destructor override, automatically called by default destructor. More... | |
virtual void | ContentClear () |
Clears this object's content from memory. More... | |
virtual FbxPeripheral * | GetPeripheral () |
Retrieves the peripheral of that object. More... | |
Static Protected Member Functions | |
static FbxGeometryBase * | Allocate (FbxManager *pManager, const char *pName, const FbxGeometryBase *pFrom) |
![]() | |
static FbxLayerContainer * | Allocate (FbxManager *pManager, const char *pName, const FbxLayerContainer *pFrom) |
![]() | |
static FbxNodeAttribute * | Allocate (FbxManager *pManager, const char *pName, const FbxNodeAttribute *pFrom) |
![]() | |
static FbxObject * | Allocate (FbxManager *pManager, const char *pName, const FbxObject *pFrom) |
Friends | |
class | fbxsdk ::FbxManager |
template<typename T > | |
T * | fbxsdk ::FbxNew () |
template<typename T , typename T1 > | |
T * | fbxsdk ::FbxNew (T1 &p1) |
template<typename T , typename T1 > | |
T * | fbxsdk ::FbxNew (const T1 &p1) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > | |
T * | fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9) |
template<typename T > | |
void | fbxsdk ::FbxDelete (T *p) |
template<typename T > | |
void | fbxsdk ::FbxDelete (const T *p) |
template<typename T > | |
T * | fbxsdk ::FbxNewArray (const int n) |
template<typename T > | |
void | fbxsdk ::FbxDeleteArray (T *p) |
Control Points, Normals, Binormals and Tangent Management. | |
virtual void | InitControlPoints (int pCount) |
Allocates memory space for the array of control points. More... | |
void | InitNormals (int pCount=0) |
Allocates memory space for the array of normals. More... | |
void | InitNormals (FbxGeometryBase *pSrc) |
Allocates memory space for the array of normals cloned from the pSrc. More... | |
void | InitTangents (int pCount=0, const int pLayerIndex=0, const char *pName="") |
Allocates memory space for the array of tangents on specified layer. More... | |
void | InitTangents (FbxGeometryBase *pSrc, const int pLayerIndex=0) |
Allocates memory space for the array of tangents cloned from the pSrc on the specified layer. More... | |
void | InitBinormals (int pCount=0, const int pLayerIndex=0, const char *pName="") |
Allocates memory space for the array of binormals. More... | |
void | InitBinormals (FbxGeometryBase *pSrc, const int pLayerIndex=0) |
Allocates memory space for the array of binormals cloned from the pSrc. More... | |
virtual void | SetControlPointAt (const FbxVector4 &pCtrlPoint, const FbxVector4 &pNormal, int pIndex, bool pI2DSearch=false) |
Sets the control point and the normal values at the specified index. More... | |
virtual void | SetControlPointAt (const FbxVector4 &pCtrlPoint, int pIndex) |
Sets the control point at a specified index. More... | |
virtual FbxVector4 | GetControlPointAt (int pIndex) const |
Gets the control point at the specified index. More... | |
virtual void | SetControlPointNormalAt (const FbxVector4 &pNormal, int pIndex, bool pI2DSearch=false) |
Sets the control point normal value at the specified index. More... | |
virtual int | GetControlPointsCount () const |
Returns the number of control points. More... | |
virtual FbxVector4 * | GetControlPoints (FbxStatus *pStatus=((void *) 0)) const |
Returns a pointer to the array of control points. More... | |
virtual void | SetControlPointCount (int pCount) |
Allocates memory space for the array of control points. More... | |
Public and fast access Properties | |
FbxPropertyT< FbxBool > | PrimaryVisibility |
Control the geometry render state. Geometry can still cast shadows even if this is turned off. More... | |
FbxPropertyT< FbxBool > | CastShadow |
If true, the geometry will produce shadows. More... | |
FbxPropertyT< FbxBool > | ReceiveShadow |
If true, the geometry will receive shadows. More... | |
FbxPropertyT< FbxDouble3 > | BBoxMin |
The minimum value of the control points bounding box. More... | |
FbxPropertyT< FbxDouble3 > | BBoxMax |
The maximum value of the control points bounding box. More... | |
void | ComputeBBox () |
Computes the control points Bounding box. More... | |
Geometry Element Management. | |
A FbxGeometryElement describes how the geometry element (normals, UVs and etc.) is mapped to a geometry surface and how the mapping information is arranged in memory. FbxGeometryElement is exactly the same as FbxLayerElement but does not expose the geometry's layer information. Use the geometry element classes to decompose the geometry without dealing with layers. | |
FbxGeometryElementNormal * | CreateElementNormal () |
Creates a normal geometry element for this geometry. More... | |
bool | RemoveElementNormal (FbxGeometryElementNormal *pElementNormal) |
Remove the normal geometry element from this geometry. More... | |
FbxGeometryElementNormal * | GetElementNormal (int pIndex=0) |
Returns this geometry's normal element. More... | |
const FbxGeometryElementNormal * | GetElementNormal (int pIndex=0) const |
Returns this geometry's normal element. More... | |
int | GetElementNormalCount () const |
Get the number of this geometry's normal geometry element. More... | |
FbxGeometryElementBinormal * | CreateElementBinormal () |
Creates a binormal geometry element for this geometry. More... | |
bool | RemoveElementBinormal (FbxGeometryElementBinormal *pElementBinormal) |
Remove the binormal geometry element from this geometry. More... | |
FbxGeometryElementBinormal * | GetElementBinormal (int pIndex=0) |
Returns this geometry's binormal element. More... | |
const FbxGeometryElementBinormal * | GetElementBinormal (int pIndex=0) const |
Returns this geometry's binormal element. More... | |
int | GetElementBinormalCount () const |
Get the number of this geometry's binormal geometry element. More... | |
FbxGeometryElementTangent * | CreateElementTangent () |
Creates a tangent geometry element for this geometry. More... | |
bool | RemoveElementTangent (FbxGeometryElementTangent *pElementTangent) |
Remove the tangent geometry element from this geometry. More... | |
FbxGeometryElementTangent * | GetElementTangent (int pIndex=0) |
Returns this geometry's tangent element. More... | |
const FbxGeometryElementTangent * | GetElementTangent (int pIndex=0) const |
Returns this geometry's tangent element. More... | |
int | GetElementTangentCount () const |
Get the number of this geometry's tangent geometry element. More... | |
FbxGeometryElementMaterial * | CreateElementMaterial () |
Creates a material geometry element for this geometry. More... | |
bool | RemoveElementMaterial (FbxGeometryElementMaterial *pElementMaterial) |
Remove the material geometry element from this geometry. More... | |
FbxGeometryElementMaterial * | GetElementMaterial (int pIndex=0) |
Returns this geometry's material element. More... | |
const FbxGeometryElementMaterial * | GetElementMaterial (int pIndex=0) const |
Returns this geometry's material element. More... | |
int | GetElementMaterialCount () const |
Get the number of this geometry's material geometry element. More... | |
FbxGeometryElementPolygonGroup * | CreateElementPolygonGroup () |
Creates a polygon group geometry element for this geometry. More... | |
bool | RemoveElementPolygonGroup (FbxGeometryElementPolygonGroup *pElementPolygonGroup) |
Remove the polygon group geometry element from this geometry. More... | |
FbxGeometryElementPolygonGroup * | GetElementPolygonGroup (int pIndex=0) |
Returns this geometry's polygon group element. More... | |
const FbxGeometryElementPolygonGroup * | GetElementPolygonGroup (int pIndex=0) const |
Returns this geometry's polygon group element. More... | |
int | GetElementPolygonGroupCount () const |
Get the number of this geometry's polygon group geometry element. More... | |
FbxGeometryElementVertexColor * | CreateElementVertexColor () |
Creates a vertex color geometry element for this geometry. More... | |
bool | RemoveElementVertexColor (FbxGeometryElementVertexColor *pElementVertexColor) |
Remove the vertex color geometry element from this geometry. More... | |
FbxGeometryElementVertexColor * | GetElementVertexColor (int pIndex=0) |
Returns this geometry's vertex color element. More... | |
const FbxGeometryElementVertexColor * | GetElementVertexColor (int pIndex=0) const |
Returns this geometry's vertex color element. More... | |
int | GetElementVertexColorCount () const |
Get the number of this geometry's vertex color geometry element. More... | |
FbxGeometryElementSmoothing * | CreateElementSmoothing () |
Creates a smoothing geometry element for this geometry. More... | |
bool | RemoveElementSmoothing (FbxGeometryElementSmoothing *pElementSmoothing) |
Remove the smoothing geometry element from this geometry. More... | |
FbxGeometryElementSmoothing * | GetElementSmoothing (int pIndex=0) |
Returns this geometry's smoothing element. More... | |
const FbxGeometryElementSmoothing * | GetElementSmoothing (int pIndex=0) const |
Returns this geometry's smoothing element. More... | |
int | GetElementSmoothingCount () const |
Get the number of this geometry's smoothing geometry element. More... | |
FbxGeometryElementCrease * | CreateElementVertexCrease () |
Creates a vertex crease geometry element for this geometry. More... | |
bool | RemoveElementVertexCrease (FbxGeometryElementCrease *pElementCrease) |
Remove the vertex crease geometry element from this geometry. More... | |
FbxGeometryElementCrease * | GetElementVertexCrease (int pIndex=0) |
Returns this geometry's vertex crease element. More... | |
const FbxGeometryElementCrease * | GetElementVertexCrease (int pIndex=0) const |
Returns this geometry's vertex crease element. More... | |
int | GetElementVertexCreaseCount () const |
Get the number of this geometry's vertex crease geometry element. More... | |
FbxGeometryElementCrease * | CreateElementEdgeCrease () |
Creates an edge crease geometry element for this geometry. More... | |
bool | RemoveElementEdgeCrease (FbxGeometryElementCrease *pElementCrease) |
Remove the edge crease geometry element from this geometry. More... | |
FbxGeometryElementCrease * | GetElementEdgeCrease (int pIndex=0) |
Returns this geometry's edge crease element. More... | |
const FbxGeometryElementCrease * | GetElementEdgeCrease (int pIndex=0) const |
Returns this geometry's edge crease element. More... | |
int | GetElementEdgeCreaseCount () const |
Get the number of this geometry's edge crease geometry element. More... | |
FbxGeometryElementHole * | CreateElementHole () |
Creates a hole geometry element for this geometry. More... | |
bool | RemoveElementHole (FbxGeometryElementHole *pElementHole) |
Remove the hole geometry element from this geometry. More... | |
FbxGeometryElementHole * | GetElementHole (int pIndex=0) |
Returns this geometry's hole element. More... | |
const FbxGeometryElementHole * | GetElementHole (int pIndex=0) const |
Returns this geometry's hole element. More... | |
int | GetElementHoleCount () const |
Get the number of this geometry's hole geometry element. More... | |
FbxGeometryElementUserData * | CreateElementUserData () |
Creates a user data geometry element for this geometry. More... | |
bool | RemoveElementUserData (FbxGeometryElementUserData *pElementUserData) |
Remove the user data geometry element from this geometry. More... | |
FbxGeometryElementUserData * | GetElementUserData (int pIndex=0) |
Returns this geometry's user data element. More... | |
const FbxGeometryElementUserData * | GetElementUserData (int pIndex=0) const |
Returns this geometry's user data element. More... | |
int | GetElementUserDataCount () const |
Get the number of this geometry's user data geometry element. More... | |
FbxGeometryElementVisibility * | CreateElementVisibility () |
Creates a visibility geometry element for this geometry. More... | |
bool | RemoveElementVisibility (FbxGeometryElementVisibility *pElementVisibility) |
Remove the visibility geometry element from this geometry. More... | |
FbxGeometryElementVisibility * | GetElementVisibility (int pIndex=0) |
Returns this geometry's visibility element. More... | |
const FbxGeometryElementVisibility * | GetElementVisibility (int pIndex=0) const |
Returns this geometry's visibility element. More... | |
int | GetElementVisibilityCount () const |
Get the number of this geometry's visibility geometry element. More... | |
FbxGeometryElementUV * | CreateElementUV (const char *pUVSetName, FbxLayerElement::EType pTypeIdentifier=FbxLayerElement::eTextureDiffuse) |
Creates a UV geometry element for this geometry. More... | |
bool | RemoveElementUV (FbxGeometryElementUV *pElementUV) |
Remove the UV geometry element from this geometry. More... | |
FbxGeometryElementUV * | GetElementUV (int pIndex=0, FbxLayerElement::EType pTypeIdentifier=FbxLayerElement::eUnknown) |
Returns this geometry's UV element. More... | |
const FbxGeometryElementUV * | GetElementUV (int pIndex=0, FbxLayerElement::EType pTypeIdentifier=FbxLayerElement::eUnknown) const |
Returns this geometry's UV element. More... | |
int | GetElementUVCount (FbxLayerElement::EType pTypeIdentifier=FbxLayerElement::eUnknown) const |
Get the number of this geometry's UV geometry element. More... | |
FbxGeometryElementUV * | GetElementUV (const char *pUVSetName) |
Returns this geometry's UV element. More... | |
const FbxGeometryElementUV * | GetElementUV (const char *pUVSetName) const |
Returns this geometry's UV element. More... | |
void | GetUVSetNames (FbxStringList &pUVSetNameList) const |
Returns this geometry's all UV set names. More... | |
Off-loading Serialization section | |
The methods in this section are typically called by a peripheral (FbxPeripheral). There should be no real interest in calling them directly. The functions will write/read the memory dump of the data contained in this class. Each data block written/read will start with an (int) value representing the number of items in the array. If this value (v) is not zero, it will be followed by the array content. A block of data that is (v * sizeof(array item size)) bytes big. The methods will also call the parent class ones to dump the Layers content. | |
virtual bool | ContentWriteTo (FbxStream &pStream) const |
Writes the content of the geometry object to the specified stream. More... | |
virtual bool | ContentReadFrom (const FbxStream &pStream) |
Reads the content of the geometry object from the specified stream. More... | |
Additional Inherited Members | |
![]() | |
FbxPropertyT< FbxDouble3 > | Color |
This property handles the color. More... | |
![]() | |
FbxProperty | RootProperty |
The root property that holds all children property for this object. More... | |
typedef FbxLayerContainer ParentClass |
Definition at line 45 of file fbxgeometrybase.h.
|
inlineprotectedvirtual |
Definition at line 45 of file fbxgeometrybase.h.
|
inlineprotected |
Definition at line 45 of file fbxgeometrybase.h.
|
inlinevirtual |
Reimplemented from FbxLayerContainer.
Reimplemented in FbxTrimNurbsSurface, FbxNurbsCurve, FbxGeometry, FbxLine, FbxNurbsSurface, FbxMesh, FbxShape, FbxNurbs, FbxBoundary, FbxProceduralGeometry, and FbxPatch.
Definition at line 45 of file fbxgeometrybase.h.
|
static |
|
static |
|
staticprotected |
|
virtual |
Allocates memory space for the array of control points.
pCount | The number of control points. |
void InitNormals | ( | int | pCount = 0 | ) |
Allocates memory space for the array of normals.
pCount | The desired size for the normal array. If pCount is specified, the array will be the same size as pCount. If pCount is not specified, the array will be the same length as the array of control points. |
void InitNormals | ( | FbxGeometryBase * | pSrc | ) |
Allocates memory space for the array of normals cloned from the pSrc.
pSrc | The source geometry from which the normals information is cloned. |
void InitTangents | ( | int | pCount = 0 , |
const int | pLayerIndex = 0 , |
||
const char * | pName = "" |
||
) |
Allocates memory space for the array of tangents on specified layer.
pCount | The desired size of the tangent array. If pCount is specified, the array will be the same size as pCount. If pCount is not specified, the array will be the same length as the array of control points. |
pLayerIndex | The specified layer index to allocate memory space for the array of tangents. |
pName | The specified name for the allocated tangents array. |
void InitTangents | ( | FbxGeometryBase * | pSrc, |
const int | pLayerIndex = 0 |
||
) |
Allocates memory space for the array of tangents cloned from the pSrc on the specified layer.
pSrc | The source geometry from which the tangents information is cloned. |
pLayerIndex | The specified layer index to allocate memory space for cloned array of tangents from the pSrc. |
void InitBinormals | ( | int | pCount = 0 , |
const int | pLayerIndex = 0 , |
||
const char * | pName = "" |
||
) |
Allocates memory space for the array of binormals.
pCount | The desired size of the binormal array. If pCount is specified, the array will have the same size as pCount. If pCount is not specified, the array will be the same length as the array of control points. |
pLayerIndex | The specified layer index to allocate memory space for the array of binormals. |
pName | The specified name for the allocated binormals array. |
void InitBinormals | ( | FbxGeometryBase * | pSrc, |
const int | pLayerIndex = 0 |
||
) |
Allocates memory space for the array of binormals cloned from the pSrc.
pSrc | The source geometry from which the binormals information is cloned. |
pLayerIndex | The specified layer index to allocate memory space for cloned array of binormals from the pSrc. |
|
virtual |
Sets the control point and the normal values at the specified index.
pCtrlPoint | The value of the control point. |
pNormal | The value of the normal. |
pIndex | The specified index of the control point/normal. |
pI2DSearch | When true AND the normals array reference mode is eIndexToDirect, search pNormal in the existing array to avoid inserting if it already exist. NOTE: This feature uses a linear search algorithm, therefore it can be time consuming if the DIRECT array of normals contains a huge number of elements. |
Reimplemented in FbxTrimNurbsSurface.
|
virtual |
Sets the control point at a specified index.
pCtrlPoint | The value of the control point. |
pIndex | The specified index of the control point. |
Reimplemented in FbxTrimNurbsSurface.
|
virtual |
Gets the control point at the specified index.
pIndex | The specified index of the control point. |
|
virtual |
Sets the control point normal value at the specified index.
pNormal | The value of the normal. |
pIndex | The specified index of the normal. |
pI2DSearch | When true AND the normals array reference mode is eIndexToDirect, search pNormal in the existing array to avoid inserting it if it already exist. NOTE: this feature uses a linear search algorithm, therefore it can be time consuming if the DIRECT array of normals contains a huge number of elements. |
|
virtual |
Returns the number of control points.
Reimplemented in FbxTrimNurbsSurface.
|
virtual |
Returns a pointer to the array of control points.
pStatus | Not used in the implementation of this class. |
NULL
if the array has not been allocated. Reimplemented in FbxTrimNurbsSurface.
|
virtual |
Allocates memory space for the array of control points.
pCount | The number of control points. |
void ComputeBBox | ( | ) |
Computes the control points Bounding box.
FbxGeometryElementNormal* CreateElementNormal | ( | ) |
Creates a normal geometry element for this geometry.
bool RemoveElementNormal | ( | FbxGeometryElementNormal * | pElementNormal | ) |
Remove the normal geometry element from this geometry.
pElementNormal | A pointer to the normal element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementNormal* GetElementNormal | ( | int | pIndex = 0 | ) |
Returns this geometry's normal element.
pIndex | The normal geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementNormal* GetElementNormal | ( | int | pIndex = 0 | ) | const |
Returns this geometry's normal element.
pIndex | The normal geometry element index. |
NULL
if pIndex is out of range. int GetElementNormalCount | ( | ) | const |
Get the number of this geometry's normal geometry element.
FbxGeometryElementBinormal* CreateElementBinormal | ( | ) |
Creates a binormal geometry element for this geometry.
bool RemoveElementBinormal | ( | FbxGeometryElementBinormal * | pElementBinormal | ) |
Remove the binormal geometry element from this geometry.
pElementBinormal | A pointer to the binormal element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementBinormal* GetElementBinormal | ( | int | pIndex = 0 | ) |
Returns this geometry's binormal element.
pIndex | The binormal geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementBinormal* GetElementBinormal | ( | int | pIndex = 0 | ) | const |
Returns this geometry's binormal element.
pIndex | The binormal geometry element index. |
NULL
if pIndex is out of range. int GetElementBinormalCount | ( | ) | const |
Get the number of this geometry's binormal geometry element.
FbxGeometryElementTangent* CreateElementTangent | ( | ) |
Creates a tangent geometry element for this geometry.
bool RemoveElementTangent | ( | FbxGeometryElementTangent * | pElementTangent | ) |
Remove the tangent geometry element from this geometry.
pElementTangent | A pointer to the tangent element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementTangent* GetElementTangent | ( | int | pIndex = 0 | ) |
Returns this geometry's tangent element.
pIndex | The tangent geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementTangent* GetElementTangent | ( | int | pIndex = 0 | ) | const |
Returns this geometry's tangent element.
pIndex | The tangent geometry element index. |
NULL
if pIndex is out of range. int GetElementTangentCount | ( | ) | const |
Get the number of this geometry's tangent geometry element.
FbxGeometryElementMaterial* CreateElementMaterial | ( | ) |
Creates a material geometry element for this geometry.
bool RemoveElementMaterial | ( | FbxGeometryElementMaterial * | pElementMaterial | ) |
Remove the material geometry element from this geometry.
pElementMaterial | A pointer to the material element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementMaterial* GetElementMaterial | ( | int | pIndex = 0 | ) |
Returns this geometry's material element.
pIndex | The material geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementMaterial* GetElementMaterial | ( | int | pIndex = 0 | ) | const |
Returns this geometry's material element.
pIndex | The material geometry element index. |
NULL
if pIndex is out of range. int GetElementMaterialCount | ( | ) | const |
Get the number of this geometry's material geometry element.
FbxGeometryElementPolygonGroup* CreateElementPolygonGroup | ( | ) |
Creates a polygon group geometry element for this geometry.
bool RemoveElementPolygonGroup | ( | FbxGeometryElementPolygonGroup * | pElementPolygonGroup | ) |
Remove the polygon group geometry element from this geometry.
pElementPolygonGroup | A pointer to the polygon group element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementPolygonGroup* GetElementPolygonGroup | ( | int | pIndex = 0 | ) |
Returns this geometry's polygon group element.
pIndex | The polygon group geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementPolygonGroup* GetElementPolygonGroup | ( | int | pIndex = 0 | ) | const |
Returns this geometry's polygon group element.
pIndex | The polygon group geometry element index. |
NULL
if pIndex is out of range. int GetElementPolygonGroupCount | ( | ) | const |
Get the number of this geometry's polygon group geometry element.
FbxGeometryElementVertexColor* CreateElementVertexColor | ( | ) |
Creates a vertex color geometry element for this geometry.
bool RemoveElementVertexColor | ( | FbxGeometryElementVertexColor * | pElementVertexColor | ) |
Remove the vertex color geometry element from this geometry.
pElementVertexColor | A pointer to the vertex color element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementVertexColor* GetElementVertexColor | ( | int | pIndex = 0 | ) |
Returns this geometry's vertex color element.
pIndex | The vertex color geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementVertexColor* GetElementVertexColor | ( | int | pIndex = 0 | ) | const |
Returns this geometry's vertex color element.
pIndex | The vertex color geometry element index. |
NULL
if pIndex is out of range. int GetElementVertexColorCount | ( | ) | const |
Get the number of this geometry's vertex color geometry element.
FbxGeometryElementSmoothing* CreateElementSmoothing | ( | ) |
Creates a smoothing geometry element for this geometry.
bool RemoveElementSmoothing | ( | FbxGeometryElementSmoothing * | pElementSmoothing | ) |
Remove the smoothing geometry element from this geometry.
pElementSmoothing | A pointer to the smoothing element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementSmoothing* GetElementSmoothing | ( | int | pIndex = 0 | ) |
Returns this geometry's smoothing element.
pIndex | The smoothing geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementSmoothing* GetElementSmoothing | ( | int | pIndex = 0 | ) | const |
Returns this geometry's smoothing element.
pIndex | The smoothing geometry element index. |
NULL
if pIndex is out of range. int GetElementSmoothingCount | ( | ) | const |
Get the number of this geometry's smoothing geometry element.
FbxGeometryElementCrease* CreateElementVertexCrease | ( | ) |
Creates a vertex crease geometry element for this geometry.
bool RemoveElementVertexCrease | ( | FbxGeometryElementCrease * | pElementCrease | ) |
Remove the vertex crease geometry element from this geometry.
pElementCrease | A pointer to the vertex crease element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementCrease* GetElementVertexCrease | ( | int | pIndex = 0 | ) |
Returns this geometry's vertex crease element.
pIndex | The vertex crease geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementCrease* GetElementVertexCrease | ( | int | pIndex = 0 | ) | const |
Returns this geometry's vertex crease element.
pIndex | The vertex crease geometry element index. |
NULL
if pIndex is out of range. int GetElementVertexCreaseCount | ( | ) | const |
Get the number of this geometry's vertex crease geometry element.
FbxGeometryElementCrease* CreateElementEdgeCrease | ( | ) |
Creates an edge crease geometry element for this geometry.
bool RemoveElementEdgeCrease | ( | FbxGeometryElementCrease * | pElementCrease | ) |
Remove the edge crease geometry element from this geometry.
pElementCrease | A pointer to the edge crease element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementCrease* GetElementEdgeCrease | ( | int | pIndex = 0 | ) |
Returns this geometry's edge crease element.
pIndex | The edge crease geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementCrease* GetElementEdgeCrease | ( | int | pIndex = 0 | ) | const |
Returns this geometry's edge crease element.
pIndex | The edge crease geometry element index. |
NULL
if pIndex is out of range. int GetElementEdgeCreaseCount | ( | ) | const |
Get the number of this geometry's edge crease geometry element.
FbxGeometryElementHole* CreateElementHole | ( | ) |
Creates a hole geometry element for this geometry.
bool RemoveElementHole | ( | FbxGeometryElementHole * | pElementHole | ) |
Remove the hole geometry element from this geometry.
pElementHole | A pointer to the hole element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementHole* GetElementHole | ( | int | pIndex = 0 | ) |
Returns this geometry's hole element.
pIndex | The hole geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementHole* GetElementHole | ( | int | pIndex = 0 | ) | const |
Returns this geometry's hole element.
pIndex | The hole geometry element index. |
NULL
if pIndex is out of range. int GetElementHoleCount | ( | ) | const |
Get the number of this geometry's hole geometry element.
FbxGeometryElementUserData* CreateElementUserData | ( | ) |
Creates a user data geometry element for this geometry.
bool RemoveElementUserData | ( | FbxGeometryElementUserData * | pElementUserData | ) |
Remove the user data geometry element from this geometry.
pElementUserData | A pointer to the user data element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementUserData* GetElementUserData | ( | int | pIndex = 0 | ) |
Returns this geometry's user data element.
pIndex | The user data geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementUserData* GetElementUserData | ( | int | pIndex = 0 | ) | const |
Returns this geometry's user data element.
pIndex | The user data geometry element index. |
NULL
if pIndex is out of range. int GetElementUserDataCount | ( | ) | const |
Get the number of this geometry's user data geometry element.
FbxGeometryElementVisibility* CreateElementVisibility | ( | ) |
Creates a visibility geometry element for this geometry.
bool RemoveElementVisibility | ( | FbxGeometryElementVisibility * | pElementVisibility | ) |
Remove the visibility geometry element from this geometry.
pElementVisibility | A pointer to the visibility element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementVisibility* GetElementVisibility | ( | int | pIndex = 0 | ) |
Returns this geometry's visibility element.
pIndex | The visibility geometry element index. |
NULL
if pIndex is out of range. const FbxGeometryElementVisibility* GetElementVisibility | ( | int | pIndex = 0 | ) | const |
Returns this geometry's visibility element.
pIndex | The visibility geometry element index. |
NULL
if pIndex is out of range. int GetElementVisibilityCount | ( | ) | const |
Get the number of this geometry's visibility geometry element.
FbxGeometryElementUV* CreateElementUV | ( | const char * | pUVSetName, |
FbxLayerElement::EType | pTypeIdentifier = FbxLayerElement::eTextureDiffuse |
||
) |
Creates a UV geometry element for this geometry.
pUVSetName | The UV geometry element name. |
pTypeIdentifier | The texture channel the UVIndex refers to. |
bool RemoveElementUV | ( | FbxGeometryElementUV * | pElementUV | ) |
Remove the UV geometry element from this geometry.
pElementUV | A pointer to the UV element to be removed. |
True
if the geometry element is removed, false
otherwise. FbxGeometryElementUV* GetElementUV | ( | int | pIndex = 0 , |
FbxLayerElement::EType | pTypeIdentifier = FbxLayerElement::eUnknown |
||
) |
Returns this geometry's UV element.
pIndex | The UV geometry element index. |
pTypeIdentifier | The texture channel the UVIndex refers to. |
NULL
if pIndex is out of range. const FbxGeometryElementUV* GetElementUV | ( | int | pIndex = 0 , |
FbxLayerElement::EType | pTypeIdentifier = FbxLayerElement::eUnknown |
||
) | const |
Returns this geometry's UV element.
pIndex | The UV geometry element index. |
pTypeIdentifier | The texture channel the UVIndex refers to. |
NULL
if pIndex is out of range. int GetElementUVCount | ( | FbxLayerElement::EType | pTypeIdentifier = FbxLayerElement::eUnknown | ) | const |
Get the number of this geometry's UV geometry element.
pTypeIdentifier | The texture channel the UVIndex refers to. |
FbxGeometryElementUV* GetElementUV | ( | const char * | pUVSetName | ) |
Returns this geometry's UV element.
pUVSetName | The UV set name of the UV geometry element. |
NULL
if no UV geometry element with this name exists. const FbxGeometryElementUV* GetElementUV | ( | const char * | pUVSetName | ) | const |
Returns this geometry's UV element.
pUVSetName | The UV set name of the UV geometry element. |
NULL
if no UV geometry element with this name exists. void GetUVSetNames | ( | FbxStringList & | pUVSetNameList | ) | const |
Returns this geometry's all UV set names.
pUVSetNameList | A reference to FbxStringList that will be filled with this geometry's all UV set names. |
|
virtual |
|
virtual |
|
virtual |
Calculate the actual amount of memory used by this geometry object.
|
friend |
Definition at line 45 of file fbxgeometrybase.h.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 45 of file fbxgeometrybase.h.
FbxPropertyT<FbxBool> PrimaryVisibility |
Control the geometry render state. Geometry can still cast shadows even if this is turned off.
Definition at line 179 of file fbxgeometrybase.h.
FbxPropertyT<FbxBool> CastShadow |
If true, the geometry will produce shadows.
Definition at line 182 of file fbxgeometrybase.h.
FbxPropertyT<FbxBool> ReceiveShadow |
If true, the geometry will receive shadows.
Definition at line 185 of file fbxgeometrybase.h.
FbxPropertyT<FbxDouble3> BBoxMin |
The minimum value of the control points bounding box.
Definition at line 188 of file fbxgeometrybase.h.
FbxPropertyT<FbxDouble3> BBoxMax |
The maximum value of the control points bounding box.
Definition at line 191 of file fbxgeometrybase.h.