KFbxNodeFinderDuplicateName
#include<kfbxnodefinderduplicatename.h>

Inheritance diagram for KFbxNodeFinderDuplicateName:

Inheritance graph
[legend]

List of all members.

Detailed Description

KFbxNodeFinderDuplicateName.

Definition at line64of filekfbxnodefinderduplicatename.h.


Public Types

enum EState
 
  • eCHECK_NODE_NAME
    • eCHECK_MATERIAL_NAME
    • eCHECK_TEXTURE_NAME
    • eCHECK_VIDEO_NAME
    • eCHECK_GENERIC_NODE_NAME
    • eSTATE_COUNT
More...

Public Member Functions

 KFbxNodeFinderDuplicateName(KFbxScene*pDestinationScene=NULL)
 Constructor.
virtual ~KFbxNodeFinderDuplicateName()
 Destructor.
virtual void Reset()
 Reset the finder object.
bool GetState(int pStateIndex)
 GetState.
void SetState(int pStateIndex, bool pValue)
 SetState.
KArrayTemplate<KFbxNode*>& GetNodeArray()
 GetNodeArray.
KArrayTemplate<KFbxNode*>& GetDuplicateNodeArray()
 GetNodeArray.
KArrayTemplate
<KFbxSurfaceMaterial*>& 
GetMaterialArray()
 GetMaterialArray.
KArrayTemplate
<KFbxSurfaceMaterial*>& 
GetDuplicateMaterialArray()
 GetMaterialArray.
KArrayTemplate<KFbxTexture*>& GetTextureArray()
 GetTextureArray.
KArrayTemplate<KFbxTexture*>& GetDuplicateTextureArray()
 GetTextureArray.
KArrayTemplate<KFbxVideo*>& GetVideoArray()
 GetVideoArray.
KArrayTemplate<KFbxVideo*>& GetDuplicateVideoArray()
 GetVideoArray.

Protected Member Functions

virtual void ApplyRecursive(KFbxNode&iNode)
 Find all the node corresponding to the research criterium.
virtual bool CheckNode(KFbxNode&iNode)
 Check if a node answers to research criterium.
bool CheckNodeName(KFbxNode&pNode)
 Check for duplicate node name.
bool CheckMaterialName(KFbxGeometry*pGeometry,KFbxNode*pNode)
 Check for duplicate material name.
bool CheckTextureName(KFbxGeometry*pGeometry)
 Check for duplicate texture name.
bool CheckVideoName(KFbxGeometry*pGeometry)
 Check for duplicate video name.

Member Enumeration Documentation

enumEState

  • eCHECK_NODE_NAME
    • eCHECK_MATERIAL_NAME
    • eCHECK_TEXTURE_NAME
    • eCHECK_VIDEO_NAME
    • eCHECK_GENERIC_NODE_NAME
    • eSTATE_COUNT

Definition at line76of filekfbxnodefinderduplicatename.h.

Constructor&Destructor Documentation

KFbxNodeFinderDuplicateName(KFbxScenepDestinationScene=NULL ) 

Constructor.

When the destination scene is specified, duplicates are searched in both the destination scene and in the processed node tree.

Parameters:
pDestinationScene Destination scene to search.NULLby default.

virtual ~KFbxNodeFinderDuplicateName( ) [virtual]

Destructor.

Member Function Documentation

virtual void Reset( ) [virtual]

Reset the finder object.

ImplementsKFbxNodeFinder.

bool GetState(int pStateIndex ) 

GetState.

Parameters:
pStateIndex State index.
Returns:
State of pStateIndex.

void SetState(int pStateIndex,
bool pValue 
)

SetState.

Parameters:
pStateIndex State index.
pValue 

KArrayTemplate<KFbxNode*>&GetNodeArray( ) 

GetNodeArray.

Returns:

KArrayTemplate<KFbxNode*>&GetDuplicateNodeArray( ) 

GetNodeArray.

Returns:

KArrayTemplate<KFbxSurfaceMaterial*>&GetMaterialArray( ) 

GetMaterialArray.

Returns:

KArrayTemplate<KFbxSurfaceMaterial*>&GetDuplicateMaterialArray( ) 

GetMaterialArray.

Returns:

KArrayTemplate<KFbxTexture*>&GetTextureArray( ) 

GetTextureArray.

Returns:

KArrayTemplate<KFbxTexture*>&GetDuplicateTextureArray( ) 

GetTextureArray.

Returns:

KArrayTemplate<KFbxVideo*>&GetVideoArray( ) 

GetVideoArray.

Returns:

KArrayTemplate<KFbxVideo*>&GetDuplicateVideoArray( ) 

GetVideoArray.

Returns:

virtual void ApplyRecursive(KFbxNodeiNode ) [protected, virtual]

Find all the node corresponding to the research criterium.

Parameters:
iNode 

Reimplemented fromKFbxNodeFinder.

virtual bool CheckNode(KFbxNodeiNode ) [protected, virtual]

Check if a node answers to research criterium.

Criteriums must be defined by child class.

Parameters:
iNode 
Returns:

ImplementsKFbxNodeFinder.

bool CheckNodeName(KFbxNodepNode ) [protected]

Check for duplicate node name.

Parameters:
pNode 
Returns:
True if there is a duplicate node name, false otherwise.

bool CheckMaterialName(KFbxGeometrypGeometry,
KFbxNodepNode 
)[protected]

Check for duplicate material name.

Parameters:
pGeometry 
pNode 
Returns:
True if there is a duplicate material name, false otherwise.

bool CheckTextureName(KFbxGeometrypGeometry ) [protected]

Check for duplicate texture name.

Parameters:
pGeometry 
Returns:
True if there is a duplicate texture name, false otherwise.

bool CheckVideoName(KFbxGeometrypGeometry ) [protected]

Check for duplicate video name.

Parameters:
pGeometry 
Returns:
True if there is a duplicate video name, false otherwise.