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

A skeleton template is a set of couple value_name / float. More...

#include <skeleton_weight.h>

List of all members.

Public Types

typedef std::vector< CNodeTNodeArray
 A vector of template elements. More...


Public Methods

uint getNumNode () const
 Get number of node in this template. More...

const std::string & getNodeName (uint node) const
 Get a node name. More...

float getNodeWeight (uint node) const
 Get a node weight. More...

void build (const TNodeArray &array)
 Build the template. More...

void serial (NLMISC::IStream &f)
 Serial the template. More...


Private Attributes

TNodeArray _Elements


Detailed Description

A skeleton template is a set of couple value_name / float.

The value name is used to find a channel in the CChannelMixer. The float is a weight used on a slot of the channel mixer by the channel.

Author:
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2001

Definition at line 51 of file skeleton_weight.h.


Member Typedef Documentation

typedef std::vector<CNode> NL3D::CSkeletonWeight::TNodeArray
 

A vector of template elements.

Definition at line 69 of file skeleton_weight.h.


Member Function Documentation

void NL3D::CSkeletonWeight::build const TNodeArray   array
 

Build the template.

Definition at line 61 of file skeleton_weight.cpp.

References _Elements.

const std::string & NL3D::CSkeletonWeight::getNodeName uint    node const
 

Get a node name.

Definition at line 45 of file skeleton_weight.cpp.

References _Elements.

float NL3D::CSkeletonWeight::getNodeWeight uint    node const
 

Get a node weight.

Definition at line 53 of file skeleton_weight.cpp.

References _Elements.

uint NL3D::CSkeletonWeight::getNumNode   const
 

Get number of node in this template.

Definition at line 38 of file skeleton_weight.cpp.

References _Elements.

void NL3D::CSkeletonWeight::serial NLMISC::IStream   f
 

Serial the template.

Definition at line 69 of file skeleton_weight.cpp.

References _Elements, NLMISC::IStream::serialCheck, NLMISC::IStream::serialCont, and NLMISC::IStream::serialVersion.


Member Data Documentation

TNodeArray NL3D::CSkeletonWeight::_Elements [private]
 

Definition at line 87 of file skeleton_weight.h.

Referenced by build, getNodeName, getNodeWeight, getNumNode, and serial.


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