KFbxRenamingStrategy Class Reference

#include <kfbxrenamingstrategy.h>
Inheritance diagram for KFbxRenamingStrategy:
Inheritance graph
[legend]

List of all members.


Detailed Description

The KFbxRenamingStrategy object can be set to rename all the objects in a scene.

It can remove name clashing, remove illegal characters, manage namespaces and manage backward compatibility. It is better to choose KFbxSceneRenamer instead of this class to simplify the usage.

See also:
KFbxSceneRenamer

Definition at line 61 of file kfbxrenamingstrategy.h.


Public Types

enum   EMode {
   eTO_FBX,
   eFROM_FBX,
   eMODE_COUNT
}
  The mode describing the convention direction, from FBX format or to FBX format. More...

Public Member Functions

  KFbxRenamingStrategy (EMode pMod, bool pOnCreationRun=false)
  Constructor.
virtual  ~KFbxRenamingStrategy ()
  Destructor.
virtual bool  Rename (KName &pName)
  Rename a name if necessary.
virtual void  Clear ()
  Resets internal state regarding assigned names.
virtual KRenamingStrategy Clone ()
  Create a dynamic renaming strategy instance of the same type as the child class.

Member Enumeration Documentation

enum EMode

The mode describing the convention direction, from FBX format or to FBX format.

  • eTO_FBX Convert to FBX format from another format.
  • eFROM_FBX Convert from FBX format to another format.
  • eMODE_COUNT
Enumerator:
eTO_FBX 
eFROM_FBX 
eMODE_COUNT 

Definition at line 69 of file kfbxrenamingstrategy.h.


Constructor & Destructor Documentation

KFbxRenamingStrategy ( EMode  pMod,
bool  pOnCreationRun = false  
)

Constructor.

Parameters:
pMod  The mode describing the convention direction, from FBX format or to FBX format.
pOnCreationRun 

virtual ~KFbxRenamingStrategy (  )  [virtual]

Destructor.


Member Function Documentation

virtual bool Rename ( KName pName  )  [virtual]

Rename a name if necessary.

Parameters:
pName  The name to be renamed.
Returns:
Return true on success, false otherwise.

Implements KRenamingStrategy.

virtual void Clear (  )  [virtual]

Resets internal state regarding assigned names.

Implements KRenamingStrategy.

virtual KRenamingStrategy* Clone (  )  [virtual]

Create a dynamic renaming strategy instance of the same type as the child class.

Returns:
New instance.

Implements KRenamingStrategy.

KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy
KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy KFbxRenamingStrategy