This reference page is linked to from the following overview topics: List of Python Fbx classes.
Contains a collection of FbxLayer objects.
This class is used for managing layers construction, destruction and access. See FbxLayerElement for more details.
Definition at line 36 of file fbxlayercontainer.h.
#include <fbxlayercontainer.h>

Public Member Functions |
|
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Returns the type of node attribute. |
|
| bool | ConvertDirectToIndexToDirect (int pLayer) |
| Converts the reference mode from eDirect to
eIndexToDirect. |
|
| virtual FbxObject & | Copy (const FbxObject &pObject) |
| Copy an object content into this object.
|
|
| int | GTC (FbxUInt i, int j) |
| void * | GT (int i, FbxUInt l, int j) |
| int | AT (void *t, FbxUInt l, int j) |
| int | GTI (char const *n, FbxUInt l, int j) |
| int | GMC (FbxUInt i, void *n=NULL) |
| void * | GM (int i, FbxUInt l, void *n=NULL) |
| int | AM (void *m, FbxUInt l, void *n=NULL, bool b=false) |
| int | GMI (char const *n, FbxUInt l, void *d=NULL) |
| int | AddToLayerElementsList (FbxLayerElement *pLEl) |
| void | RemoveFromLayerElementsList (FbxLayerElement *pLEl) |
Protected Member Functions |
|
| FbxLayerContainer (FbxManager &pManager, char const *pName) | |
| virtual void | Destruct (bool pRecursive, bool pDependents) |
| void | CopyLayers (FbxLayerContainer const *pLayerContainer) |
| virtual void | SetDocument (FbxDocument *pDocument) |
| virtual bool | ConnecNotify (FbxConnectEvent const &pEvent) |
Protected Attributes |
|
| FbxArray< FbxLayer * > | mLayerArray |
| FbxArray< FbxLayerElement * > | mLayerElementsList |
Friends |
|
| class | FbxScene |
| class | FbxGeometryConverter |
Layer Management |
|
| int | CreateLayer () |
| Creates a new layer on top of existing
layers. |
|
| void | ClearLayers () |
| Deletes all layers. |
|
| int | GetLayerCount () const |
| Returns the number of layers. |
|
| int | GetLayerCount (FbxLayerElement::EType pType, bool pUVCount=false) const |
| Returns the number of layers that contain
the specified layer element type. |
|
| FbxLayer * | GetLayer (int pIndex) |
| Returns the layer at the specified index.
|
|
| FbxLayer const * | GetLayer (int pIndex) const |
| Returns the layer at the specified index.
|
|
| 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. |
|
| FbxLayer const * | 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. |
|
| 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. |
|
| int | GetLayerTypedIndex (int pGlobalIndex, FbxLayerElement::EType pType, bool pIsUV=false) const |
| Converts the layer's global index to a
type-specific index. |
|
| FbxLayerContainer | ( | FbxManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [virtual] |
Returns the type of node attribute.
Reimplemented from FbxNodeAttribute.
Reimplemented in FbxGeometry, FbxLine, FbxMesh, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxPatch, FbxShape, FbxSubDiv, FbxBoundary, and FbxTrimNurbsSurface.
| int CreateLayer | ( | ) |
Creates a new layer on top of existing layers.
| void ClearLayers | ( | ) |
Deletes all layers.
| int GetLayerCount | ( | ) | const |
| int GetLayerCount | ( | FbxLayerElement::EType | pType, |
| bool | pUVCount =
false |
||
| ) | const |
Returns the number of layers that contain the specified layer element type.
| pType | The specified Layer Element type. |
| pUVCount | When true, requests the UV layer element
corresponding to the specified texture type. |
| FbxLayer* GetLayer | ( | int | pIndex | ) |
Returns the layer at the specified index.
| pIndex | Layer index. |
NULL if pIndex is out of
range.| FbxLayer const* GetLayer | ( | int | pIndex | ) | const |
Returns the layer at the specified index.
| pIndex | Layer index. |
NULL if pIndex is out of
range.| 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.
If the pType is FbxLayerElement::eUV, this method will return the n'th layer as specified by pIndex that contains the diffuse UV. For example, GetLayer(int pIndex, FbxLayerElement::eUV) is same as GetLayer(int pIndex, FbxLayerElement::eTextureDiffuse, true).
| pIndex | Layer index. |
| pType | The specified layer element type. |
| pIsUV | When true, requests the UV layer element that
corresponds with the specified texture type. |
NULL if pIndex is out of
range.| FbxLayer const* 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.
If the pType is FbxLayerElement::eUV, this method will return the n'th layer as specified by pIndex that contains the diffuse UV. For example, GetLayer(int pIndex, FbxLayerElement::eUV) is same as GetLayer(int pIndex, FbxLayerElement::eTextureDiffuse, true).
| pIndex | Layer index. |
| pType | The specified layer element type. |
| pIsUV | When true, requests the UV layer element that
corresponds with the specified texture type. |
NULL if pIndex is out of
range.| 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.
| pIndex | Layer index of the specified type. |
| pType | The specified layer element type. |
| pIsUV | When true, requests the UV layer element that
corresponds with the specified texture type. |
| int GetLayerTypedIndex | ( | int | pGlobalIndex, |
| FbxLayerElement::EType | pType, | ||
| bool | pIsUV =
false |
||
| ) | const |
Converts the layer's global index to a type-specific index.
| pGlobalIndex | The index of the layer in the global array of layers. |
| pType | The type upon which the type-specific index will be returned. |
| pIsUV | When true, requests the UV layer element that
corresponds with the specified texture type. |
| bool ConvertDirectToIndexToDirect | ( | int | pLayer | ) |
Converts the reference mode from eDirect to eIndexToDirect.
| pLayer | The Layer to convert. |
True if conversion is successful, or
false otherwise.Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from FbxObject.
Reimplemented in FbxGeometry, FbxGeometryBase, FbxLine, FbxMesh, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxPatch, FbxShape, FbxBoundary, and FbxTrimNurbsSurface.
| int GTC | ( | FbxUInt | i, |
| int | j | ||
| ) |
| void* GT | ( | int | i, |
| FbxUInt | l, | ||
| int | j | ||
| ) |
| int AT | ( | void * | t, |
| FbxUInt | l, | ||
| int | j | ||
| ) |
| int GTI | ( | char const * | n, |
| FbxUInt | l, | ||
| int | j | ||
| ) |
| int GMC | ( | FbxUInt | i, |
| void * | n = NULL |
||
| ) |
| void* GM | ( | int | i, |
| FbxUInt | l, | ||
| void * | n = NULL |
||
| ) |
| int AM | ( | void * | m, |
| FbxUInt | l, | ||
| void * | n = NULL, |
||
| bool | b = false |
||
| ) |
| int GMI | ( | char const * | n, |
| FbxUInt | l, | ||
| void * | d = NULL |
||
| ) |
| int AddToLayerElementsList | ( | FbxLayerElement * | pLEl | ) |
| void RemoveFromLayerElementsList | ( | FbxLayerElement * | pLEl | ) |
| virtual void Destruct | ( | bool | pRecursive, |
| bool | pDependents | ||
| ) | [protected, virtual] |
Reimplemented from FbxObject.
Reimplemented in FbxGeometry, FbxLine, FbxMesh, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxPatch, and FbxSubDiv.
| void CopyLayers | ( | FbxLayerContainer const * | pLayerContainer | ) | [protected] |
| virtual void SetDocument | ( | FbxDocument * | pDocument | ) | [protected, virtual] |
| virtual bool ConnecNotify | ( | FbxConnectEvent const & | pEvent | ) | [protected, virtual] |
Reimplemented from FbxObject.
friend class FbxScene [friend] |
Reimplemented from FbxNodeAttribute.
Reimplemented in FbxGeometry.
Definition at line 164 of file fbxlayercontainer.h.
friend class FbxGeometryConverter
[friend] |
Reimplemented in FbxGeometryBase, FbxMesh, FbxNurbs, and FbxNurbsSurface.
Definition at line 165 of file fbxlayercontainer.h.
FbxArray<FbxLayer*> mLayerArray
[protected] |
Definition at line 161 of file fbxlayercontainer.h.
FbxArray<FbxLayerElement*> mLayerElementsList
[protected] |
Definition at line 162 of file fbxlayercontainer.h.