FBX C++ API Reference
FbxGeometry Class Reference

#include <fbxgeometry.h>

Class Description

The base class of geometric objects that support control point deformations (e.g.

FbxMesh, FbxNurbs, and FbxPatch). The FbxGeometry provides support for the following kinds of deformations.

  • Skin deformation deformers
  • Vertex cache deformers
  • Geometry weighted maps
  • Shapes

Most of the methods of FbxGeometry are wrappers to simplify the access/manipulation of the connections to the deformers. For example, calling the GetDeformerCount() method is the same thing as calling:

geometry.GetSrcObjectCount(FbxDeformer::ClassId)
Examples:
ExportScene01/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayAnimation.cxx, ImportScene/DisplayCache.cxx, ImportScene/DisplayCache.h, ImportScene/DisplayLink.cxx, ImportScene/DisplayLink.h, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayMaterial.h, ImportScene/DisplayShape.cxx, ImportScene/DisplayShape.h, ImportScene/DisplayTexture.cxx, and ImportScene/DisplayTexture.h.

Definition at line 45 of file fbxgeometry.h.

+ Inheritance diagram for FbxGeometry:

Public Types

enum  ESurfaceMode {
  eRaw, eLowNoNormals, eLow, eHighNoNormals,
  eHigh
}
 NURBS and Patches surface modes. More...
 
typedef FbxGeometryBase ParentClass
 
- Public Types inherited from FbxGeometryBase
typedef FbxLayerContainer ParentClass
 
- Public Types inherited from FbxLayerContainer
typedef FbxNodeAttribute ParentClass
 
- Public Types inherited from FbxNodeAttribute
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
 
- Public Types inherited from FbxObject
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 FbxNodeAttribute::EType GetAttributeType () const
 Returns the node attribute type. More...
 
Deformer Management
int AddDeformer (FbxDeformer *pDeformer)
 Adds a deformer to this geometry (as mentioned in the description of this class, adding a deformer is a synonym for "connect a deformer"). More...
 
FbxDeformerRemoveDeformer (int pIndex, FbxStatus *pStatus=((void *) 0))
 Remove a deformer. More...
 
int GetDeformerCount () const
 Returns the number of deformers. More...
 
FbxDeformerGetDeformer (int pIndex, FbxStatus *pStatus=((void *) 0)) const
 Returns the deformer at the specified index. More...
 
int GetDeformerCount (FbxDeformer::EDeformerType pType) const
 Returns the number of deformers of a specified type. More...
 
FbxDeformerGetDeformer (int pIndex, FbxDeformer::EDeformerType pType, FbxStatus *pStatus=((void *) 0)) const
 Returns the deformer of a specified type at the specified index. More...
 
Geometry Weighted Maps Management
FbxGeometryWeightedMapGetSourceGeometryWeightedMap ()
 Returns the source geometry weighted map that is connected to this geometry. More...
 
int GetDestinationGeometryWeightedMapCount () const
 Returns the number of destination geometry weighted map(s) that are connected to this geometry. More...
 
FbxGeometryWeightedMapGetDestinationGeometryWeightedMap (int pIndex)
 Returns the destination geometry weighted map at a specified index. More...
 
Shape Management
bool AddShape (int pBlendShapeIndex, int pBlendShapeChannelIndex, FbxShape *pShape, double pPercent=100, FbxStatus *pStatus=((void *) 0))
 Add a shape to the specified blend shape deformer and blend shape channel of this geometry. More...
 
void ClearShape ()
 Removes all the shapes without destroying them. More...
 
int GetShapeCount () const
 Returns the number of shapes. More...
 
int GetShapeCount (int pBlendShapeIndex, int pBlendShapeChannelIndex, FbxStatus *pStatus=((void *) 0)) const
 Returns the number of shapes. More...
 
FbxShapeGetShape (int pBlendShapeIndex, int pBlendShapeChannelIndex, int pShapeIndex, FbxStatus *pStatus=((void *) 0))
 Returns the shape found at the specified index on a blend shape channel of a blend shape deformer. More...
 
const FbxShapeGetShape (int pBlendShapeIndex, int pBlendShapeChannelIndex, int pShapeIndex, FbxStatus *pStatus=((void *) 0)) const
 Returns the shape found at the specified index on a blend shape channel of a blend shape deformer. More...
 
FbxAnimCurveGetShapeChannel (int pBlendShapeIndex, int pBlendShapeChannelIndex, FbxAnimLayer *pLayer, bool pCreateAsNeeded=false, FbxStatus *pStatus=((void *) 0))
 Get the shape animation curve. More...
 
Pivot Management

The geometry pivot is used to specify additional translation, rotation, and scaling information applied to all control points when the model is exported.

FbxAMatrixGetPivot (FbxAMatrix &pXMatrix) const
 Returns the pivot matrix. More...
 
void SetPivot (FbxAMatrix &pXMatrix)
 Sets the pivot matrix. More...
 
void ApplyPivot ()
 Applies the pivot matrix to all vertices/normals of the geometry. More...
 
Default Animation Values

These functions provides direct access to default animation values that are specific to a geometry.

These functions only work if the geometry has been associated with a node.

void SetDefaultShape (int pBlendShapeIndex, int pBlendShapeChannelIndex, double pPercent)
 Sets the default deformation for a specified shape. More...
 
void SetDefaultShape (FbxBlendShapeChannel *pBlendShapeChannel, double pPercent)
 Sets the default deformation for a specified channel. More...
 
double GetDefaultShape (int pBlendShapeIndex, int pBlendShapeChannelIndex) const
 Returns the default deformation value for the specified shape. More...
 
double GetDefaultShape (FbxBlendShapeChannel *pBlendShapeChannel) const
 Returns the default deformation value for the specified channel. More...
 
- Public Member Functions inherited from FbxGeometryBase
virtual int MemoryUsage () const
 Calculate the actual amount of memory used by this geometry object. More...
 
void ComputeBBox ()
 Computes the control points Bounding box. More...
 
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 FbxVector4GetControlPoints (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...
 
FbxGeometryElementNormalCreateElementNormal ()
 Creates a normal geometry element for this geometry. More...
 
bool RemoveElementNormal (FbxGeometryElementNormal *pElementNormal)
 Remove the normal geometry element from this geometry. More...
 
FbxGeometryElementNormalGetElementNormal (int pIndex=0)
 Returns this geometry's normal element. More...
 
const FbxGeometryElementNormalGetElementNormal (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...
 
FbxGeometryElementBinormalCreateElementBinormal ()
 Creates a binormal geometry element for this geometry. More...
 
bool RemoveElementBinormal (FbxGeometryElementBinormal *pElementBinormal)
 Remove the binormal geometry element from this geometry. More...
 
FbxGeometryElementBinormalGetElementBinormal (int pIndex=0)
 Returns this geometry's binormal element. More...
 
const FbxGeometryElementBinormalGetElementBinormal (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...
 
FbxGeometryElementTangentCreateElementTangent ()
 Creates a tangent geometry element for this geometry. More...
 
bool RemoveElementTangent (FbxGeometryElementTangent *pElementTangent)
 Remove the tangent geometry element from this geometry. More...
 
FbxGeometryElementTangentGetElementTangent (int pIndex=0)
 Returns this geometry's tangent element. More...
 
const FbxGeometryElementTangentGetElementTangent (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...
 
FbxGeometryElementMaterialCreateElementMaterial ()
 Creates a material geometry element for this geometry. More...
 
bool RemoveElementMaterial (FbxGeometryElementMaterial *pElementMaterial)
 Remove the material geometry element from this geometry. More...
 
FbxGeometryElementMaterialGetElementMaterial (int pIndex=0)
 Returns this geometry's material element. More...
 
const FbxGeometryElementMaterialGetElementMaterial (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...
 
FbxGeometryElementPolygonGroupCreateElementPolygonGroup ()
 Creates a polygon group geometry element for this geometry. More...
 
bool RemoveElementPolygonGroup (FbxGeometryElementPolygonGroup *pElementPolygonGroup)
 Remove the polygon group geometry element from this geometry. More...
 
FbxGeometryElementPolygonGroupGetElementPolygonGroup (int pIndex=0)
 Returns this geometry's polygon group element. More...
 
const FbxGeometryElementPolygonGroupGetElementPolygonGroup (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...
 
FbxGeometryElementVertexColorCreateElementVertexColor ()
 Creates a vertex color geometry element for this geometry. More...
 
bool RemoveElementVertexColor (FbxGeometryElementVertexColor *pElementVertexColor)
 Remove the vertex color geometry element from this geometry. More...
 
FbxGeometryElementVertexColorGetElementVertexColor (int pIndex=0)
 Returns this geometry's vertex color element. More...
 
const FbxGeometryElementVertexColorGetElementVertexColor (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...
 
FbxGeometryElementSmoothingCreateElementSmoothing ()
 Creates a smoothing geometry element for this geometry. More...
 
bool RemoveElementSmoothing (FbxGeometryElementSmoothing *pElementSmoothing)
 Remove the smoothing geometry element from this geometry. More...
 
FbxGeometryElementSmoothingGetElementSmoothing (int pIndex=0)
 Returns this geometry's smoothing element. More...
 
const FbxGeometryElementSmoothingGetElementSmoothing (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...
 
FbxGeometryElementCreaseCreateElementVertexCrease ()
 Creates a vertex crease geometry element for this geometry. More...
 
bool RemoveElementVertexCrease (FbxGeometryElementCrease *pElementCrease)
 Remove the vertex crease geometry element from this geometry. More...
 
FbxGeometryElementCreaseGetElementVertexCrease (int pIndex=0)
 Returns this geometry's vertex crease element. More...
 
const FbxGeometryElementCreaseGetElementVertexCrease (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...
 
FbxGeometryElementCreaseCreateElementEdgeCrease ()
 Creates an edge crease geometry element for this geometry. More...
 
bool RemoveElementEdgeCrease (FbxGeometryElementCrease *pElementCrease)
 Remove the edge crease geometry element from this geometry. More...
 
FbxGeometryElementCreaseGetElementEdgeCrease (int pIndex=0)
 Returns this geometry's edge crease element. More...
 
const FbxGeometryElementCreaseGetElementEdgeCrease (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...
 
FbxGeometryElementHoleCreateElementHole ()
 Creates a hole geometry element for this geometry. More...
 
bool RemoveElementHole (FbxGeometryElementHole *pElementHole)
 Remove the hole geometry element from this geometry. More...
 
FbxGeometryElementHoleGetElementHole (int pIndex=0)
 Returns this geometry's hole element. More...
 
const FbxGeometryElementHoleGetElementHole (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...
 
FbxGeometryElementUserDataCreateElementUserData ()
 Creates a user data geometry element for this geometry. More...
 
bool RemoveElementUserData (FbxGeometryElementUserData *pElementUserData)
 Remove the user data geometry element from this geometry. More...
 
FbxGeometryElementUserDataGetElementUserData (int pIndex=0)
 Returns this geometry's user data element. More...
 
const FbxGeometryElementUserDataGetElementUserData (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...
 
FbxGeometryElementVisibilityCreateElementVisibility ()
 Creates a visibility geometry element for this geometry. More...
 
bool RemoveElementVisibility (FbxGeometryElementVisibility *pElementVisibility)
 Remove the visibility geometry element from this geometry. More...
 
FbxGeometryElementVisibilityGetElementVisibility (int pIndex=0)
 Returns this geometry's visibility element. More...
 
const FbxGeometryElementVisibilityGetElementVisibility (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...
 
FbxGeometryElementUVCreateElementUV (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...
 
FbxGeometryElementUVGetElementUV (int pIndex=0, FbxLayerElement::EType pTypeIdentifier=FbxLayerElement::eUnknown)
 Returns this geometry's UV element. More...
 
const FbxGeometryElementUVGetElementUV (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...
 
FbxGeometryElementUVGetElementUV (const char *pUVSetName)
 Returns this geometry's UV element. More...
 
const FbxGeometryElementUVGetElementUV (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...
 
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...
 
- Public Member Functions inherited from FbxLayerContainer
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...
 
FbxLayerGetLayer (int pIndex)
 Returns the layer at the specified index. More...
 
const FbxLayerGetLayer (int pIndex) const
 Returns the layer at the specified index. More...
 
FbxLayerGetLayer (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 FbxLayerGetLayer (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...
 
- Public Member Functions inherited from FbxNodeAttribute
int GetNodeCount () const
 Return the node count using this attribute. More...
 
FbxNodeGetNode (int pIndex=0) const
 Return the node this attribute is set to. More...
 
- Public Member Functions inherited from FbxObject
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...
 
FbxManagerGetFbxManager () const
 Retrieve the FbxManager this object belongs to. More...
 
FbxDocumentGetDocument () const
 Returns a const pointer to the document that contains this object. More...
 
FbxDocumentGetRootDocument () const
 Returns a const pointer to the root document that contains this object. More...
 
FbxSceneGetScene () 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...
 
FbxObjectGetSrcObject (int pIndex=0) const
 Returns the source object with which this object connects at the specified index. More...
 
FbxObjectGetSrcObject (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...
 
FbxObjectFindSrcObject (const char *pName, int pStartIndex=0) const
 Searches the source object with the specified name, starting at the specified index. More...
 
FbxObjectFindSrcObject (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...
 
FbxObjectGetDstObject (int pIndex=0) const
 Returns the destination object at the specified index with which this object connects. More...
 
FbxObjectGetDstObject (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...
 
FbxObjectFindDstObject (const char *pName, int pStartIndex=0) const
 Searches the destination object with the specified name, starting at the specified index. More...
 
FbxObjectFindDstObject (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...
 
FbxLibraryGetParentLibrary () 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...
 
FbxImplementationGetDefaultImplementation (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...
 
FbxImplementationGetImplementation (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 FbxObjectCopy (const FbxObject &pObject)
 Copy an object content into this object. More...
 
virtual FbxObjectClone (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...
 
FbxObjectGetReferenceTo () 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...
 
FbxObjectGetReferencedBy (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 FbxUInt64GetUniqueID () const
 Returns the unique ID of this object. More...
 
- Public Member Functions inherited from FbxEmitter
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 FbxGeometryCreate (FbxManager *pManager, const char *pName)
 
static FbxGeometryCreate (FbxObject *pContainer, const char *pName)
 
- Static Public Member Functions inherited from FbxGeometryBase
static FbxGeometryBaseCreate (FbxManager *pManager, const char *pName)
 
static FbxGeometryBaseCreate (FbxObject *pContainer, const char *pName)
 
- Static Public Member Functions inherited from FbxLayerContainer
static FbxLayerContainerCreate (FbxManager *pManager, const char *pName)
 
static FbxLayerContainerCreate (FbxObject *pContainer, const char *pName)
 
- Static Public Member Functions inherited from FbxNodeAttribute
static FbxNodeAttributeCreate (FbxManager *pManager, const char *pName)
 
static FbxNodeAttributeCreate (FbxObject *pContainer, const char *pName)
 
- Static Public Member Functions inherited from FbxObject
static FbxObjectCreate (FbxManager *pManager, const char *pName)
 
static FbxObjectCreate (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 Public Attributes inherited from FbxGeometryBase
static FbxClassId ClassId
 
- Static Public Attributes inherited from FbxLayerContainer
static FbxClassId ClassId
 
- Static Public Attributes inherited from FbxNodeAttribute
static FbxClassId ClassId
 
static const char * sColor
 Property Names. More...
 
static const FbxDouble3 sDefaultColor
 Property Default Values. More...
 
- Static Public Attributes inherited from FbxObject
static FbxClassId ClassId
 

Protected Member Functions

virtual ~ FbxGeometry ()
 
 FbxGeometry (FbxManager &pManager, const char *pName)
 
- Protected Member Functions inherited from FbxGeometryBase
virtual ~ FbxGeometryBase ()
 
 FbxGeometryBase (FbxManager &pManager, const char *pName)
 
- Protected Member Functions inherited from FbxLayerContainer
virtual ~ FbxLayerContainer ()
 
 FbxLayerContainer (FbxManager &pManager, const char *pName)
 
- Protected Member Functions inherited from FbxNodeAttribute
virtual ~ FbxNodeAttribute ()
 
 FbxNodeAttribute (FbxManager &pManager, const char *pName)
 
- Protected Member Functions inherited from FbxObject
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 FbxPeripheralGetPeripheral ()
 Retrieves the peripheral of that object. More...
 

Static Protected Member Functions

static FbxGeometryAllocate (FbxManager *pManager, const char *pName, const FbxGeometry *pFrom)
 
- Static Protected Member Functions inherited from FbxGeometryBase
static FbxGeometryBaseAllocate (FbxManager *pManager, const char *pName, const FbxGeometryBase *pFrom)
 
- Static Protected Member Functions inherited from FbxLayerContainer
static FbxLayerContainerAllocate (FbxManager *pManager, const char *pName, const FbxLayerContainer *pFrom)
 
- Static Protected Member Functions inherited from FbxNodeAttribute
static FbxNodeAttributeAllocate (FbxManager *pManager, const char *pName, const FbxNodeAttribute *pFrom)
 
- Static Protected Member Functions inherited from FbxObject
static FbxObjectAllocate (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)
 

Additional Inherited Members

- Public Attributes inherited from FbxGeometryBase
FbxPropertyT< FbxBoolPrimaryVisibility
 Control the geometry render state. Geometry can still cast shadows even if this is turned off. More...
 
FbxPropertyT< FbxBoolCastShadow
 If true, the geometry will produce shadows. More...
 
FbxPropertyT< FbxBoolReceiveShadow
 If true, the geometry will receive shadows. More...
 
FbxPropertyT< FbxDouble3BBoxMin
 The minimum value of the control points bounding box. More...
 
FbxPropertyT< FbxDouble3BBoxMax
 The maximum value of the control points bounding box. More...
 
- Public Attributes inherited from FbxNodeAttribute
FbxPropertyT< FbxDouble3Color
 This property handles the color. More...
 
- Public Attributes inherited from FbxObject
FbxProperty RootProperty
 The root property that holds all children property for this object. More...
 

Member Typedef Documentation

◆ ParentClass

Definition at line 47 of file fbxgeometry.h.

Member Enumeration Documentation

◆ ESurfaceMode

NURBS and Patches surface modes.

This information is never directly used inside the FBX SDK. Applications can use these values if they wish to carry the "rendering" details of the NURBS and Patches. The FBX SDK guarantee that the value (member of the FbxNurbs, FbxNurbsSurface and FbxPatch classes) is stored to FBX files and retrieved from them.

Remarks
The enum has been defined in this class to avoid symbols duplication.
Enumerator
eRaw 
eLowNoNormals 

Raw.

eLow 

Low and no normals.

eHighNoNormals 

Low.

eHigh 

High and no normals.

High.

Definition at line 200 of file fbxgeometry.h.

201  {
202  eRaw,
203  eLowNoNormals,
204  eLow,
206  eHigh
207  };
High and no normals.
Definition: fbxgeometry.h:206
Low and no normals.
Definition: fbxgeometry.h:204

Constructor & Destructor Documentation

◆ ~ FbxGeometry()

virtual ~ FbxGeometry ( )
inlineprotectedvirtual

Definition at line 47 of file fbxgeometry.h.

49 :

◆ FbxGeometry()

FbxGeometry ( FbxManager pManager,
const char *  pName 
)
inlineprotected

Definition at line 47 of file fbxgeometry.h.

49 :

Member Function Documentation

◆ GetClassId()

virtual FbxClassId GetClassId ( ) const
inlinevirtual

Reimplemented from FbxGeometryBase.

Reimplemented in FbxTrimNurbsSurface, FbxNurbsCurve, FbxLine, FbxNurbsSurface, FbxMesh, FbxNurbs, FbxBoundary, FbxProceduralGeometry, and FbxPatch.

Definition at line 47 of file fbxgeometry.h.

49 :

◆ Create() [1/2]

static FbxGeometry* Create ( FbxManager pManager,
const char *  pName 
)
static

◆ Create() [2/2]

static FbxGeometry* Create ( FbxObject pContainer,
const char *  pName 
)
static

◆ Allocate()

static FbxGeometry* Allocate ( FbxManager pManager,
const char *  pName,
const FbxGeometry pFrom 
)
staticprotected

◆ GetAttributeType()

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 FbxLayerContainer.

Reimplemented in FbxTrimNurbsSurface, FbxBoundary, FbxNurbsCurve, FbxLine, FbxMesh, FbxNurbsSurface, FbxNurbs, and FbxPatch.

◆ AddDeformer()

int AddDeformer ( FbxDeformer pDeformer)

Adds a deformer to this geometry (as mentioned in the description of this class, adding a deformer is a synonym for "connect a deformer").

Parameters
pDeformerPointer to the deformer to be added.
Returns
Index of the added deformer.
Examples:
ExportScene01/main.cxx, ExportScene02/main.cxx, and ExportScene03/main.cxx.

◆ RemoveDeformer()

FbxDeformer* RemoveDeformer ( int  pIndex,
FbxStatus pStatus = ((void *) 0) 
)

Remove a deformer.

Parameters
pIndexIndex of deformer to remove.
pStatusThe FbxStatus object to hold error codes.
Returns
Pointer to the removed deformer (or NULL if pIndex is out of range).
Examples:
SwitchBinding/main.cxx.

◆ GetDeformerCount() [1/2]

int GetDeformerCount ( ) const

Returns the number of deformers.

Returns
The number of deformers that are connected to this geometry.
Examples:
ImportScene/DisplayAnimation.cxx, ImportScene/DisplayCache.cxx, ImportScene/DisplayLink.cxx, ImportScene/DisplayShape.cxx, ViewScene/DrawScene.cxx, and ViewScene/SceneContext.cxx.

◆ GetDeformer() [1/2]

FbxDeformer* GetDeformer ( int  pIndex,
FbxStatus pStatus = ((void *) 0) 
) const

Returns the deformer at the specified index.

Parameters
pIndexThe specified deformer index.
pStatusThe FbxStatus object to hold error codes.
Returns
Pointer to the deformer (or NULL if pIndex is out of range).
Examples:
ExportScene03/main.cxx, ImportScene/DisplayAnimation.cxx, ImportScene/DisplayCache.cxx, ImportScene/DisplayLink.cxx, ImportScene/DisplayShape.cxx, SwitchBinding/main.cxx, ViewScene/DrawScene.cxx, and ViewScene/SceneContext.cxx.

◆ GetDeformerCount() [2/2]

int GetDeformerCount ( FbxDeformer::EDeformerType  pType) const

Returns the number of deformers of a specified type.

Parameters
pTypeThe specified deformer type.
Returns
The number of deformers of the specified type.

◆ GetDeformer() [2/2]

FbxDeformer* GetDeformer ( int  pIndex,
FbxDeformer::EDeformerType  pType,
FbxStatus pStatus = ((void *) 0) 
) const

Returns the deformer of a specified type at the specified index.

Parameters
pIndexThe specified deformer index.
pTypeThe specified deformer type.
pStatusThe FbxStatus object to hold error codes.
Returns
Pointer to the deformer (or NULL if pIndex is out of range).

◆ GetSourceGeometryWeightedMap()

FbxGeometryWeightedMap* GetSourceGeometryWeightedMap ( )

Returns the source geometry weighted map that is connected to this geometry.

Returns
Pointer to the source geometry weighted map that is connected to this geometry if any.

◆ GetDestinationGeometryWeightedMapCount()

int GetDestinationGeometryWeightedMapCount ( ) const

Returns the number of destination geometry weighted map(s) that are connected to this geometry.

Returns
The number of destination geometry weighted map(s) that are connected to this geometry.

◆ GetDestinationGeometryWeightedMap()

FbxGeometryWeightedMap* GetDestinationGeometryWeightedMap ( int  pIndex)

Returns the destination geometry weighted map at a specified index.

Parameters
pIndexThe specified index.
Returns
Pointer to the destination geometry weighted map at the specified index (if any).

◆ AddShape()

bool AddShape ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
FbxShape pShape,
double  pPercent = 100,
FbxStatus pStatus = ((void *) 0) 
)

Add a shape to the specified blend shape deformer and blend shape channel of this geometry.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pShapePointer to the shape object to be added.
pPercentThe full deform percentage of this shape.
pStatusThe FbxStatus object to hold error codes.
Returns
true if success, false otherwise.

◆ ClearShape()

void ClearShape ( )

Removes all the shapes without destroying them.

If shapes aren't explicitly destroyed before calling this function, they will be destroyed along with the SDK manager that created them.

◆ GetShapeCount() [1/2]

int GetShapeCount ( ) const

Returns the number of shapes.

Returns
The number of shapes that have been added to this geometry.
Examples:
ViewScene/DrawScene.cxx.

◆ GetShapeCount() [2/2]

int GetShapeCount ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
FbxStatus pStatus = ((void *) 0) 
) const

Returns the number of shapes.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pStatusThe FbxStatus object to hold error codes.
Returns
The number of shapes that have been added to this blend shape channel of this blend shape deformer.

◆ GetShape() [1/2]

FbxShape* GetShape ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
int  pShapeIndex,
FbxStatus pStatus = ((void *) 0) 
)

Returns the shape found at the specified index on a blend shape channel of a blend shape deformer.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pShapeIndexThe specified shape index.
pStatusThe FbxStatus object to hold error codes.
Returns
Pointer to the shape (or NULL if pIndex is out of range).

◆ GetShape() [2/2]

const FbxShape* GetShape ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
int  pShapeIndex,
FbxStatus pStatus = ((void *) 0) 
) const

Returns the shape found at the specified index on a blend shape channel of a blend shape deformer.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pShapeIndexThe specified shape index.
pStatusThe FbxStatus object to hold error codes.
Returns
Pointer to the shape (or NULL if pIndex is out of range).

◆ GetShapeChannel()

FbxAnimCurve* GetShapeChannel ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
FbxAnimLayer pLayer,
bool  pCreateAsNeeded = false,
FbxStatus pStatus = ((void *) 0) 
)

Get the shape animation curve.

The shape channel is an animatable property with a value range from 0 to 100 (with 100 being full shape deformation). The default value is 0.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pLayerThe animation layer from which we want to get the requested animation curve.
pCreateAsNeededIf true, creates the animation curve if it is not already present.
pStatusThe FbxStatus object to hold error codes.
Returns
Animation curve (or NULL if an error occurred).
Remarks
If pLayer is left at NULL, the method will use the first layer of the Animation stack.
Examples:
ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayAnimation.cxx, and ViewScene/DrawScene.cxx.

◆ GetPivot()

FbxAMatrix& GetPivot ( FbxAMatrix pXMatrix) const

Returns the pivot matrix.

Parameters
pXMatrixPlaceholder for the returned matrix.
Returns
Reference to the passed argument.

◆ SetPivot()

void SetPivot ( FbxAMatrix pXMatrix)

Sets the pivot matrix.

Parameters
pXMatrixThe transformation matrix that is assigned to the pivot matrix.

◆ ApplyPivot()

void ApplyPivot ( )

Applies the pivot matrix to all vertices/normals of the geometry.

◆ SetDefaultShape() [1/2]

void SetDefaultShape ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex,
double  pPercent 
)

Sets the default deformation for a specified shape.

The default shape property has a value range from 0 to 100 (with 100 being full shape deformation). The default value is 0.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
pPercentDeformation percentage (on a scale ranging from 0 to 100).
Remarks
This function has no effect if pIndex is out of range.

◆ SetDefaultShape() [2/2]

void SetDefaultShape ( FbxBlendShapeChannel pBlendShapeChannel,
double  pPercent 
)

Sets the default deformation for a specified channel.

The default shape property has a value range from 0 to 100 (with 100 being full shape deformation). The default value is 0.

Parameters
pBlendShapeChannelThe blend shape channel.
pPercentDeformation percentage (on a scale ranging from 0 to 100).
Remarks
This function has no effect if pShapeName is invalid.

◆ GetDefaultShape() [1/2]

double GetDefaultShape ( int  pBlendShapeIndex,
int  pBlendShapeChannelIndex 
) const

Returns the default deformation value for the specified shape.

The default shape property has a value range from 0 to 100 (with 100 being full shape deformation). The default value is 0.

Parameters
pBlendShapeIndexThe blend shape deformer index.
pBlendShapeChannelIndexThe blend shape channel index.
Returns
The deformation value for the specified shape, or 0 if pIndex is out of range.

◆ GetDefaultShape() [2/2]

double GetDefaultShape ( FbxBlendShapeChannel pBlendShapeChannel) const

Returns the default deformation value for the specified channel.

The default shape property has a value range from 0 to 100 (with 100 being full shape deformation). The default value is 0.

Parameters
pBlendShapeChannelThe blend shape channel.
Returns
The deformation value for the specified shape, or 0 if pShapeName is invalid.

Friends And Related Function Documentation

◆ fbxsdk ::FbxManager

friend class fbxsdk ::FbxManager
friend

Definition at line 47 of file fbxgeometry.h.

◆ fbxsdk ::FbxNew [1/47]

T* fbxsdk ::FbxNew ( )
friend

◆ fbxsdk ::FbxNew [2/47]

T* fbxsdk ::FbxNew ( T1 &  p1)
friend

◆ fbxsdk ::FbxNew [3/47]

T* fbxsdk ::FbxNew ( const T1 &  p1)
friend

◆ fbxsdk ::FbxNew [4/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [5/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [6/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [7/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [8/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [9/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [10/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [11/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [12/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [13/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [14/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [15/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [16/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [17/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [18/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [19/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [20/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [21/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [22/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [23/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [24/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [25/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [26/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [27/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [28/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [29/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [30/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [31/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [32/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [33/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [34/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [35/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [36/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [37/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [38/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [39/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [40/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [41/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [42/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [43/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [44/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6 
)
friend

◆ fbxsdk ::FbxNew [45/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6,
const T7 &  p7 
)
friend

◆ fbxsdk ::FbxNew [46/47]

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 
)
friend

◆ fbxsdk ::FbxNew [47/47]

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 
)
friend

◆ fbxsdk ::FbxDelete [1/2]

void fbxsdk ::FbxDelete ( T *  p)
friend

◆ fbxsdk ::FbxDelete [2/2]

void fbxsdk ::FbxDelete ( const T *  p)
friend

◆ fbxsdk ::FbxNewArray

T* fbxsdk ::FbxNewArray ( const int  n)
friend

◆ fbxsdk ::FbxDeleteArray

void fbxsdk ::FbxDeleteArray ( T *  p)
friend

Member Data Documentation

◆ ClassId

FbxClassId ClassId
static

Definition at line 47 of file fbxgeometry.h.


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