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

Public Member Functions |
|
| virtual EAttributeType | GetAttributeType () const |
| Returns the type of node attribute. |
|
| bool | ConvertDirectToIndexToDirect (int pLayer) |
| Converts the reference mode from eDIRECT to
eINDEX_TO_DIRECT. |
|
| virtual KFbxObject & | Copy (const KFbxObject &pObject) |
| Copy an object content into this object.
|
|
| int | GTC (kUInt i, int j) |
| void * | GT (int i, kUInt l, int j) |
| int | AT (void *t, kUInt l, int j) |
| int | GTI (char const *n, kUInt l, int j) |
| int | GMC (kUInt i, void *n=NULL) |
| void * | GM (int i, kUInt l, void *n=NULL) |
| int | AM (void *m, kUInt l, void *n=NULL, bool b=false) |
| int | GMI (char const *n, kUInt l, void *d=NULL) |
| int | AddToLayerElementsList (KFbxLayerElement *pLEl) |
| void | RemoveFromLayerElementsList (KFbxLayerElement *pLEl) |
Protected Member Functions |
|
| KFbxLayerContainer (KFbxSdkManager &pManager, char const *pName) | |
| virtual void | Destruct (bool pRecursive, bool pDependents) |
| void | CopyLayers (KFbxLayerContainer const *pLayerContainer) |
| virtual void | SetDocument (KFbxDocument *pDocument) |
| virtual bool | ConnecNotify (KFbxConnectEvent const &pEvent) |
Protected Attributes |
|
| KArrayTemplate< KFbxLayer * > | mLayerArray |
| KArrayTemplate < KFbxLayerElement * > |
mLayerElementsList |
Friends |
|
| class | KFbxScene |
| class | KFbxGeometryConverter |
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 (KFbxLayerElement::ELayerElementType pType, bool pUVCount=false) const |
| Returns the number of layers that contain
the specified layer element type. |
|
| KFbxLayer * | GetLayer (int pIndex) |
| Returns the layer at the specified index.
|
|
| KFbxLayer const * | GetLayer (int pIndex) const |
| Returns the layer at the specified index.
|
|
| KFbxLayer * | GetLayer (int pIndex, KFbxLayerElement::ELayerElementType pType, bool pIsUV=false) |
| Returns the n'th layer as specified by
pIndex that contains the specified layer element type. |
|
| KFbxLayer const * | GetLayer (int pIndex, KFbxLayerElement::ELayerElementType 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, KFbxLayerElement::ELayerElementType 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, KFbxLayerElement::ELayerElementType pType, bool pIsUV=false) const |
| Converts the layer's global index to a
type-specific index. |
|
| KFbxLayerContainer | ( | KFbxSdkManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Returns the type of node attribute.
Reimplemented from KFbxNodeAttribute.
Reimplemented in KFbxGeometry, KFbxLine, KFbxMesh, KFbxNurb, KFbxNurbsCurve, KFbxNurbsSurface, KFbxPatch, KFbxShape, KFbxSubdiv, KFbxBoundary, and KFbxTrimNurbsSurface.
| int CreateLayer | ( | ) |
Creates a new layer on top of existing layers.
| void ClearLayers | ( | ) |
Deletes all layers.
| int GetLayerCount | ( | ) | const |
| int GetLayerCount | ( | KFbxLayerElement::ELayerElementType | 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. |
| KFbxLayer* GetLayer | ( | int | pIndex | ) |
Returns the layer at the specified index.
| pIndex | Layer index. |
NULL if pIndex is out of
range.| KFbxLayer const* GetLayer | ( | int | pIndex | ) | const |
Returns the layer at the specified index.
| pIndex | Layer index. |
NULL if pIndex is out of
range.| KFbxLayer* GetLayer | ( | int | pIndex, |
| KFbxLayerElement::ELayerElementType | pType, | ||
| bool | pIsUV =
false |
||
| ) |
Returns the n'th layer as specified by pIndex that contains the specified layer element type.
If the pType is KFbxLayerElement::eUV, this method will return the n'th layer as specified by pIndex that contains the diffuse UV. For example, GetLayer(int pIndex, KFbxLayerElement::eUV) is same as GetLayer(int pIndex, KFbxLayerElement::eDIFFUSE_TEXTURES, 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.| KFbxLayer const* GetLayer | ( | int | pIndex, |
| KFbxLayerElement::ELayerElementType | 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 KFbxLayerElement::eUV, this method will return the n'th layer as specified by pIndex that contains the diffuse UV. For example, GetLayer(int pIndex, KFbxLayerElement::eUV) is same as GetLayer(int pIndex, KFbxLayerElement::eDIFFUSE_TEXTURES, 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, |
| KFbxLayerElement::ELayerElementType | 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, |
| KFbxLayerElement::ELayerElementType | 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 eINDEX_TO_DIRECT.
| pLayer | The Layer to convert. |
True if conversion is successful, or
false otherwise.| virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from KFbxObject.
Reimplemented in KFbxGeometry, KFbxGeometryBase, KFbxLine, KFbxMesh, KFbxNurb, KFbxNurbsCurve, KFbxNurbsSurface, KFbxPatch, KFbxShape, KFbxBoundary, and KFbxTrimNurbsSurface.
| int GTC | ( | kUInt | i, |
| int | j | ||
| ) |
| void* GT | ( | int | i, |
| kUInt | l, | ||
| int | j | ||
| ) |
| int AT | ( | void * | t, |
| kUInt | l, | ||
| int | j | ||
| ) |
| int GTI | ( | char const * | n, |
| kUInt | l, | ||
| int | j | ||
| ) |
| int GMC | ( | kUInt | i, |
| void * | n = NULL |
||
| ) |
| void* GM | ( | int | i, |
| kUInt | l, | ||
| void * | n = NULL |
||
| ) |
| int AM | ( | void * | m, |
| kUInt | l, | ||
| void * | n = NULL, |
||
| bool | b = false |
||
| ) |
| int GMI | ( | char const * | n, |
| kUInt | l, | ||
| void * | d = NULL |
||
| ) |
| int AddToLayerElementsList | ( | KFbxLayerElement * | pLEl | ) |
| void RemoveFromLayerElementsList | ( | KFbxLayerElement * | pLEl | ) |
| virtual void Destruct | ( | bool | pRecursive, |
| bool | pDependents | ||
| ) | [protected, virtual] |
Reimplemented from KFbxObject.
Reimplemented in KFbxGeometry, KFbxLine, KFbxMesh, KFbxNurb, KFbxNurbsCurve, KFbxNurbsSurface, KFbxPatch, and KFbxSubdiv.
| void CopyLayers | ( | KFbxLayerContainer const * | pLayerContainer | ) | [protected] |
| virtual void SetDocument | ( | KFbxDocument * | pDocument | ) | [protected, virtual] |
| virtual bool ConnecNotify | ( | KFbxConnectEvent const & | pEvent | ) | [protected, virtual] |
Reimplemented from KFbxObject.
friend class KFbxScene [friend] |
Reimplemented from KFbxNodeAttribute.
Reimplemented in KFbxGeometry.
Definition at line 188 of file kfbxlayercontainer.h.
friend class KFbxGeometryConverter
[friend] |
Reimplemented in KFbxGeometryBase, KFbxMesh, KFbxNurb, and KFbxNurbsSurface.
Definition at line 189 of file kfbxlayercontainer.h.
KArrayTemplate<KFbxLayer*>
mLayerArray [protected] |
Definition at line 185 of file kfbxlayercontainer.h.
KArrayTemplate<KFbxLayerElement*>
mLayerElementsList [protected] |
Definition at line 186 of file kfbxlayercontainer.h.