From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NL3D__CSkeletonShape.html | 471 +++++++++++++++++++++++ 1 file changed, 471 insertions(+) create mode 100644 docs/doxygen/nel/class_NL3D__CSkeletonShape.html (limited to 'docs/doxygen/nel/class_NL3D__CSkeletonShape.html') diff --git a/docs/doxygen/nel/class_NL3D__CSkeletonShape.html b/docs/doxygen/nel/class_NL3D__CSkeletonShape.html new file mode 100644 index 00000000..7a7044a5 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CSkeletonShape.html @@ -0,0 +1,471 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CSkeletonShape Class Reference

a definition of a skeleton. +More... +

+#include <skeleton_shape.h> +

+Inheritance diagram for NL3D::CSkeletonShape

Inheritance graph
+ + + + + + +
[legend]
Collaboration diagram for NL3D::CSkeletonShape:

Collaboration graph
+ + + + + + + + + + + + + + + + + +
[legend]
List of all members. + + + + + + + + + + + + + + + + + + + +

Public Methods

 CSkeletonShape ()
 Constructor. More...

void build (const std::vector<CBoneBase> &bones)
 Build a skeletonShape, replacing old. More...

sint32 getBoneIdByName (const std::string &name) const
 Return the id of a bone, from it's name. -1 if not present. More...

virtual CTransformShapecreateInstance (CScene &scene)
 Create a CSkeletonModel, which contains bones. More...

virtual bool clip (const std::vector<CPlane> &pyramid)
 clip this skeleton (no-op). More...

virtual void render (IDriver *drv, CTransformShape *trans)
 render() this skeletonshape in a driver (no-op). More...

virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 serial this skeletonshape. More...

 NLMISC_DECLARE_CLASS (CSkeletonShape)

Private Attributes

std::vector<CBoneBase_Bones
std::map<std::string, uint32_BoneMap
+

Detailed Description

+a definition of a skeleton. +

+can be instanciated into a CSkeletonModel.

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

+ +

+Definition at line 47 of file skeleton_shape.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NL3D::CSkeletonShape::CSkeletonShape ( + +) [inline] +
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 52 of file skeleton_shape.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+NL3D::CSkeletonShape::NLMISC_DECLARE_CLASS ( + +CSkeletonShape ) +
+
+ + + + + +
+   + + +

+

+

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

+Definition at line 48 of file skeleton_shape.cpp.

+

+ + + + +
+ + + + + + +
+bool NL3D::CSkeletonShape::clip ( + +const std::vector< CPlane >& pyramid ) [inline, virtual] +
+
+ + + + + +
+   + + +

+clip this skeleton (no-op). +

+ +

+Reimplemented from NL3D::IShape. +

+Definition at line 72 of file skeleton_shape.h.

+

+ + + + +
+ + + + + + +
+CTransformShape * NL3D::CSkeletonShape::createInstance ( + +CScene & scene ) [virtual] +
+
+ + + + + +
+   + + +

+Create a CSkeletonModel, which contains bones. +

+ +

+Reimplemented from NL3D::IShape. +

+Definition at line 62 of file skeleton_shape.cpp.

+

+ + + + +
+ + + + + + +
+sint32 NL3D::CSkeletonShape::getBoneIdByName ( + +const std::string & name ) const +
+
+ + + + + +
+   + + +

+Return the id of a bone, from it's name. -1 if not present. +

+ +

+Definition at line 37 of file skeleton_shape.cpp.

+

+ + + + +
+ + + + + + + + + + +
+void NL3D::CSkeletonShape::render ( + +IDriver * drv, +
+CTransformShape * trans ) [inline, virtual] +
+
+ + + + + +
+   + + +

+render() this skeletonshape in a driver (no-op). +

+ +

+Reimplemented from NL3D::IShape. +

+Definition at line 78 of file skeleton_shape.h.

+

+ + + + +
+ + + + + + +
+void NL3D::CSkeletonShape::serial ( + +NLMISC::IStream & f ) throw (NLMISC::EStream) [virtual] +
+
+ + + + + +
+   + + +

+serial this skeletonshape. +

+ +

+Reimplemented from NLMISC::IStreamable. +

+Definition at line 85 of file skeleton_shape.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+std::map< std::string,uint32 > NL3D::CSkeletonShape::_BoneMap [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 90 of file skeleton_shape.h.

+

+ + + + +
+ + + + + +
+std::vector< CBoneBase > NL3D::CSkeletonShape::_Bones [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 89 of file skeleton_shape.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1