NL3D::ITransformName Class Reference

#include <u_instance_group.h>


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.

Public Member Functions

virtual std::string transformName (uint index, const std::string &instanceName, const std::string &shapeName)=0


Member Function Documentation

virtual std::string NL3D::ITransformName::transformName uint  index,
const std::string &  instanceName,
const std::string &  shapeName
[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:
instanceName is the name of the instance contained in the instance group (user string)
shapeName is the name of the instance contained in the instance group (user string)
Returns:
the new name of the shape which must be loaded in place of the param

Referenced by NL3D::CInstanceGroup::addToSceneAsync(), NL3D::CInstanceGroup::getShapeName(), and NL3D::CInstanceGroup::stopAddToSceneAsync().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 08:41:18 2004 for NeL by doxygen 1.3.6