KFbxNodeFinderDuplicateName Class Reference

#include <kfbxnodefinderduplicatename.h>

Inherits KFbxNodeFinder.

Inheritance diagram for KFbxNodeFinderDuplicateName:

Inheritance graph
List of all members.

Detailed Description

KFbxNodeFinderDuplicateName.

Definition at line 64 of file kfbxnodefinderduplicatename.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)
 Check for duplicate material name.
bool CheckTextureName (KFbxGeometry *pGeometry)
 Check for duplicate texture name.
bool CheckVideoName (KFbxGeometry *pGeometry)
 Check for duplicate video name.

Protected Attributes

bool mStates [eSTATE_COUNT]
KArrayTemplate< KFbxNode * > mENodeArray
KArrayTemplate< KFbxNode * > mDuplicateNodeArray
KArrayTemplate< KFbxSurfaceMaterial * > mMaterialArray
KArrayTemplate< KFbxSurfaceMaterial * > mDuplicateMaterialArray
KArrayTemplate< KFbxTexture * > mTextureArray
KArrayTemplate< KFbxTexture * > mDuplicateTextureArray
KArrayTemplate< KFbxVideo * > mVideoArray
KArrayTemplate< KFbxVideo * > mDuplicateVideoArray
KArrayTemplate< KFbxGenericNode * > mGenericNodeArray
KArrayTemplate< KFbxGenericNode * > mDuplicateGenericNodeArray
KFbxScenemDestinationScene


Member Enumeration Documentation

enum EState

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

Definition at line 76 of file kfbxnodefinderduplicatename.h.


Constructor & Destructor Documentation

KFbxNodeFinderDuplicateName ( KFbxScene pDestinationScene = 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. NULL by default.

virtual ~KFbxNodeFinderDuplicateName (  )  [virtual]

Destructor.


Member Function Documentation

virtual void Reset (  )  [virtual]

Reset the finder object.

Implements KFbxNodeFinder.

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 ( KFbxNode iNode  )  [protected, virtual]

Find all the node corresponding to the research criterium.

Parameters:
iNode 

Reimplemented from KFbxNodeFinder.

virtual bool CheckNode ( KFbxNode iNode  )  [protected, virtual]

Check if a node answers to research criterium.

Criteriums must be defined by child class.

Parameters:
iNode 
Returns:

Implements KFbxNodeFinder.

bool CheckNodeName ( KFbxNode pNode  )  [protected]

Check for duplicate node name.

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

bool CheckMaterialName ( KFbxGeometry pGeometry  )  [protected]

Check for duplicate material name.

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

bool CheckTextureName ( KFbxGeometry pGeometry  )  [protected]

Check for duplicate texture name.

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

bool CheckVideoName ( KFbxGeometry pGeometry  )  [protected]

Check for duplicate video name.

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