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

This is a bone default value. More...

#include <bone.h>

Inheritance diagram for NL3D::CBoneBase:

NLMISC::CRefCount List of all members.

Public Methods

 CBoneBase ()
 ctor, with default pos as NULL (but scale as 1,1,1). More...

void serial (NLMISC::IStream &f)
 save/load. More...


Public Attributes

std::string Name
 Name of this bone, for Animation access. More...

CMatrix InvBindPos
 The Inverse of bindpos for this bone. More...

sint32 FatherId
 The Father of this bone. -1 means no one. More...

bool UnheritScale
 true if unheritScale from father (default==true). More...

CTrackDefaultVector DefaultPos
 Default tracks. More...

CTrackDefaultVector DefaultRotEuler
CTrackDefaultQuat DefaultRotQuat
CTrackDefaultVector DefaultScale
CTrackDefaultVector DefaultPivot
float LodDisableDistance
 The distance at which the bone is disabled in the skeleton. If 0, never disable. More...


Detailed Description

This is a bone default value.

This object is stored in the SkeletonShape, and is serialised. For hierarchy of bones, It contains the id of his father.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 46 of file bone.h.


Constructor & Destructor Documentation

NL3D::CBoneBase::CBoneBase  
 

ctor, with default pos as NULL (but scale as 1,1,1).

Definition at line 43 of file bone.cpp.

References FatherId, LodDisableDistance, and UnheritScale.


Member Function Documentation

void NL3D::CBoneBase::serial NLMISC::IStream   f
 

save/load.

Definition at line 54 of file bone.cpp.

References DefaultPivot, DefaultPos, DefaultRotEuler, DefaultRotQuat, DefaultScale, FatherId, InvBindPos, LodDisableDistance, Name, NLMISC::IStream::serial, NLMISC::IStream::serialVersion, and UnheritScale.


Member Data Documentation

CTrackDefaultVector NL3D::CBoneBase::DefaultPivot
 

Definition at line 66 of file bone.h.

Referenced by serial.

CTrackDefaultVector NL3D::CBoneBase::DefaultPos
 

Default tracks.

Definition at line 62 of file bone.h.

Referenced by serial.

CTrackDefaultVector NL3D::CBoneBase::DefaultRotEuler
 

Definition at line 63 of file bone.h.

Referenced by serial.

CTrackDefaultQuat NL3D::CBoneBase::DefaultRotQuat
 

Definition at line 64 of file bone.h.

Referenced by serial.

CTrackDefaultVector NL3D::CBoneBase::DefaultScale
 

Definition at line 65 of file bone.h.

Referenced by serial.

sint32 NL3D::CBoneBase::FatherId
 

The Father of this bone. -1 means no one.

Definition at line 56 of file bone.h.

Referenced by CBoneBase, and serial.

CMatrix NL3D::CBoneBase::InvBindPos
 

The Inverse of bindpos for this bone.

Definition at line 53 of file bone.h.

Referenced by serial.

float NL3D::CBoneBase::LodDisableDistance
 

The distance at which the bone is disabled in the skeleton. If 0, never disable.

Definition at line 69 of file bone.h.

Referenced by CBoneBase, and serial.

std::string NL3D::CBoneBase::Name
 

Name of this bone, for Animation access.

Definition at line 50 of file bone.h.

Referenced by serial.

bool NL3D::CBoneBase::UnheritScale
 

true if unheritScale from father (default==true).

Definition at line 59 of file bone.h.

Referenced by CBoneBase, and serial.


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