# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::ITransformName Class Reference

Callback class used at instancegroup loading. More...

#include <u_instance_group.h>

List of all members.

Public Methods

virtual std::string transformName (uint index, const std::string &Name)=0
 transformName is called at the addToScene(Async) moment to transform the name of an instance to another name. More...


Detailed Description

Callback class used at instancegroup loading.

Author:
Matthieu 'TrapII' Besson , Nevrax France
Date:
2002

Definition at line 77 of file u_instance_group.h.


Member Function Documentation

virtual std::string NL3D::ITransformName::transformName uint    index,
const std::string &    Name
[pure virtual]
 

transformName is called at the addToScene(Async) moment to transform the name of an instance to another name.

This should be useful to replace various shapes by others like in a shape-template. The function is called with the name of the shape and the user must return the new name of the shape. NB: This is called after the 'startAddingIG' calls in the IIGAddBegin callback

Parameters:
Name  is the name of the shape contained in the instance group
Returns:
the new name of the shape which must be loaded in place of the param


The documentation for this class was generated from the following file: