# 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:

NL3D::CMeshBaseInstance NL3D::CTransformShape NL3D::CTransform NL3D::IModel NL3D::ITransformable NLMISC::CRefCount NL3D::IAnimatable List of all members.

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...

Skinning Behavior.
virtual bool isSkinnable () const
 I can be skinned if the mesh is. More...

virtual void setApplySkin (bool state)
 Call when the skin is applied on the skeleton. More...

virtual const std::vector<
sint32 > * 
getSkinBoneUsage () const
 Called for lod character coloring. More...

virtual void renderSkin (float alphaMRM)
 Implementation of the renderSkin. More...


Static Private Methods

IModelcreator ()

Friends

class CMesh

Detailed Description

An instance of CMesh.

NB: no observers are needed, since same functionnality as CMeshBaseInstance.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 55 of file mesh_instance.h.


Constructor & Destructor Documentation

NL3D::CMeshInstance::CMeshInstance   [protected]
 

Constructor.

Definition at line 39 of file mesh_instance.cpp.

Referenced by creator.

NL3D::CMeshInstance::~CMeshInstance   [protected, virtual]
 

Destructor.

Definition at line 47 of file mesh_instance.cpp.

References NL3D::CTransform::_FatherSkeletonModel, and nlassert.


Member Function Documentation

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

Reimplemented from NL3D::CMeshBaseInstance.

Definition at line 88 of file mesh_instance.h.

References CMeshInstance, and NL3D::IModel::IModel.

const std::vector< sint32 > * NL3D::CMeshInstance::getSkinBoneUsage   const [protected, virtual]
 

Called for lod character coloring.

Reimplemented from NL3D::CTransform.

Definition at line 87 of file mesh_instance.cpp.

References NL3D::CTransform::_FatherSkeletonModel, CMesh, and NL3D::CTransformShape::Shape.

bool NL3D::CMeshInstance::isSkinnable   const [protected, virtual]
 

I can be skinned if the mesh is.

Reimplemented from NL3D::CTransform.

Definition at line 101 of file mesh_instance.cpp.

References CMesh, and NL3D::CTransformShape::Shape.

void NL3D::CMeshInstance::registerBasic   [static]
 

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

Reimplemented from NL3D::CMeshBaseInstance.

Definition at line 61 of file mesh_instance.cpp.

References NL3D::MeshBaseInstanceId, and NL3D::MeshInstanceId.

void NL3D::CMeshInstance::renderSkin float    alphaMRM [protected, virtual]
 

Implementation of the renderSkin.

Reimplemented from NL3D::CTransform.

Definition at line 115 of file mesh_instance.cpp.

References CMesh, NL3D::CTransform::getVisibility, and NL3D::CTransformShape::Shape.

void NL3D::CMeshInstance::setApplySkin bool    state [protected, virtual]
 

Call when the skin is applied on the skeleton.

Reimplemented from NL3D::CTransform.

Definition at line 67 of file mesh_instance.cpp.

References NL3D::CTransform::_FatherSkeletonModel, CMesh, and NL3D::CTransformShape::Shape.


Friends And Related Function Documentation

friend class CMesh [friend]
 

Definition at line 89 of file mesh_instance.h.

Referenced by getSkinBoneUsage, isSkinnable, renderSkin, and setApplySkin.


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