|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CSkeletonShape Class Referencea definition of a skeleton.
More...
#include <skeleton_shape.h>
Inheritance diagram for NL3D::CSkeletonShape:
List of all members.
Detailed Description
a definition of a skeleton.
can be instanciated into a CSkeletonModel. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 48 of file skeleton_shape.h.
Constructor & Destructor Documentation
NL3D::CSkeletonShape::CSkeletonShape |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CSkeletonShape::build |
( |
const std::vector< CBoneBase > & |
bones |
) |
|
|
|
Build a skeletonShape, replacing old.
WARNING: bones must be organized in Depth-first order (this is not checked). Bone.LodDisableDistance are minimized such sons have always a distance <= father distance.
Definition at line 72 of file skeleton_shape.cpp.
References _BoneMap, _Bones, _Lods, and min. |
bool NL3D::CSkeletonShape::clip |
( |
const std::vector< CPlane > & |
pyramid, |
|
|
const CMatrix & |
worldMatrix |
|
) |
[virtual] |
|
virtual void NL3D::CSkeletonShape::flushTextures |
( |
IDriver & |
driver |
) |
[inline, virtual] |
|
void NL3D::CSkeletonShape::getAABBox |
( |
NLMISC::CAABBox & |
bbox |
) |
const [virtual] |
|
sint32 NL3D::CSkeletonShape::getBoneIdByName |
( |
const std::string & |
name |
) |
const |
|
const CLod& NL3D::CSkeletonShape::getLod |
( |
uint |
lod |
) |
const [inline] |
|
uint NL3D::CSkeletonShape::getLodForDistance |
( |
float |
dist |
) |
const |
|
uint NL3D::CSkeletonShape::getNumLods |
( |
|
) |
const [inline] |
|
float NL3D::CSkeletonShape::getNumTriangles |
( |
float |
distance |
) |
[virtual] |
|
|
get an approximation of the number of triangles this instance will render for a fixed distance.
Implements NL3D::IShape.
Definition at line 208 of file skeleton_shape.cpp. |
NL3D::CSkeletonShape::NLMISC_DECLARE_CLASS |
( |
CSkeletonShape |
|
) |
|
|
virtual void NL3D::CSkeletonShape::render |
( |
IDriver * |
drv, |
|
|
CTransformShape * |
trans, |
|
|
bool |
opaquePass |
|
) |
[inline, virtual] |
|
void NL3D::CSkeletonShape::retrieve |
( |
std::vector< CBoneBase > & |
bones |
) |
const |
|
Member Data Documentation
std::map<std::string, uint32> NL3D::CSkeletonShape::_BoneMap [private]
|
|
std::vector<CBoneBase> NL3D::CSkeletonShape::_Bones [private]
|
|
std::vector<CLod> NL3D::CSkeletonShape::_Lods [private]
|
|
The documentation for this class was generated from the following files:
|
|