# 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::CMeshInstance Class Reference

An instance of CMesh. More...

#include <mesh_instance.h>

Inheritance diagram for NL3D::CMeshInstance

Inheritance graph
[legend]
Collaboration diagram for NL3D::CMeshInstance:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TAnimValues {
  OwnerBit = CTransformShape::AnimValueLast,
  AnimValueLast
}
 Added values. More...


Public Methods

virtual void registerToChannelMixer (CChannelMixer *chanMixer, const std::string &prefix)
 register transform channels (in global anim mode). More...

virtual ITrackgetDefaultTrack (uint valueId)
 Default Track Values. More...

bool isSkinApply () const

Public Attributes

std::vector<CMaterialMaterials
 The list of materials, copied from the mesh. More...


Static Public Methods

void registerBasic ()
 Call at the begining of the program, to register the model, and the basic observers. More...


Protected Methods

 CMeshInstance ()
 Constructor. More...

virtual ~CMeshInstance ()
 Destructor. More...


Private Attributes

std::vector<CAnimatedMaterial_AnimatedMaterials
 The list of animated materials, instanciated from the mesh. More...

bool _ApplySkinOk
 Skinning. true if skinned to the _Skeleton. More...


Static Private Methods

IModelcreator ()

Friends

class  CMesh
class  CMeshInstanceAnimDetailObs
class  CSkeletonModel

Detailed Description

An instance of CMesh.

NB: no observers are needed, but AnimDetailObs, since same functionnality as CTransformShape.

Author(s):
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 56 of file mesh_instance.h.


Member Enumeration Documentation

enum NL3D::CMeshInstance::TAnimValues
 

Added values.

Enumeration values:
OwnerBit  
AnimValueLast  

Reimplemented from NL3D::ITransformable.

Definition at line 73 of file mesh_instance.h.


Constructor & Destructor Documentation

NL3D::CMeshInstance::CMeshInstance ( ) [inline, protected]
 

Constructor.

Definition at line 100 of file mesh_instance.h.

NL3D::CMeshInstance::~CMeshInstance ( ) [inline, protected, virtual]
 

Destructor.

Definition at line 106 of file mesh_instance.h.


Member Function Documentation

IModel * NL3D::CMeshInstance::creator ( ) [inline, static, private]
 

Reimplemented from NL3D::CTransformShape.

Definition at line 110 of file mesh_instance.h.

ITrack * NL3D::CMeshInstance::getDefaultTrack ( uint valueId ) [virtual]
 

Default Track Values.

Reimplemented from NL3D::CTransform.

Definition at line 57 of file mesh_instance.cpp.

bool NL3D::CMeshInstance::isSkinApply ( ) const [inline]
 

Definition at line 92 of file mesh_instance.h.

void NL3D::CMeshInstance::registerBasic ( ) [static]
 

Call at the begining of the program, to register the model, and the basic observers.

Reimplemented from NL3D::CTransformShape.

Definition at line 35 of file mesh_instance.cpp.

void NL3D::CMeshInstance::registerToChannelMixer ( CChannelMixer * chanMixer,
const std::string & prefix ) [virtual]
 

register transform channels (in global anim mode).

Reimplemented from NL3D::CTransform.

Definition at line 43 of file mesh_instance.cpp.


Friends And Related Function Documentation

class CMesh [friend]
 

Definition at line 111 of file mesh_instance.h.

class CMeshInstanceAnimDetailObs [friend]
 

Definition at line 112 of file mesh_instance.h.

class CSkeletonModel [friend]
 

Reimplemented from NL3D::CTransform.

Definition at line 113 of file mesh_instance.h.


Member Data Documentation

std::vector< CMaterial > NL3D::CMeshInstance::Materials
 

The list of materials, copied from the mesh.

Each CMeshInstance has those materials, so they can be animated or modified for each instance. By default, they are copied from the Mesh.

Definition at line 68 of file mesh_instance.h.

std::vector< CAnimatedMaterial > NL3D::CMeshInstance::_AnimatedMaterials [private]
 

The list of animated materials, instanciated from the mesh.

Definition at line 118 of file mesh_instance.h.

bool NL3D::CMeshInstance::_ApplySkinOk [private]
 

Skinning. true if skinned to the _Skeleton.

Definition at line 122 of file mesh_instance.h.


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