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__CInstanceGroup.html | 542 +++++++++++++++++++++++ 1 file changed, 542 insertions(+) create mode 100644 docs/doxygen/nel/class_NL3D__CInstanceGroup.html (limited to 'docs/doxygen/nel/class_NL3D__CInstanceGroup.html') diff --git a/docs/doxygen/nel/class_NL3D__CInstanceGroup.html b/docs/doxygen/nel/class_NL3D__CInstanceGroup.html new file mode 100644 index 00000000..bb50e426 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CInstanceGroup.html @@ -0,0 +1,542 @@ + + + + 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::CInstanceGroup Class Reference

A CInstanceGroup is a group of mesh instance and so composed by A reference to a mesh (refered by the name) The transformations to get it to the world The parent. +More... +

+#include <scene_group.h> +

+Collaboration diagram for NL3D::CInstanceGroup:

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

Public Types

typedef std::vector<CInstanceTInstanceArray
 A vector of instance. More...


Public Methods

uint getNumInstance () const
 Get number of instance in this group. More...

const std::string& getInstanceName (uint instanceNb) const
 Get an instance name (the name of the mesh referenced). More...

const NLMISC::CVectorgetInstancePos (uint instanceNb) const
 Get an instance position. More...

const NLMISC::CQuatgetInstanceRot (uint instanceNb) const
 Get an instance rotation. More...

const NLMISC::CVectorgetInstanceScale (uint instanceNb) const
const int getInstanceParent (uint instanceNb) const
void build (const TInstanceArray& array)
 Build the group. More...

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

bool addToScene (CScene& scene)
 Add all the instances to the scene. More...

bool removeFromScene (CScene& scene)
 Remove all the instances from the scene. More...


Private Attributes

TInstanceArray _InstancesInfos
std::vector<CTransformShape*> _Instances
+

Detailed Description

+A CInstanceGroup is a group of mesh instance and so composed by A reference to a mesh (refered by the name) The transformations to get it to the world The parent. +

+

    +
  • * - * - This class can initialize a scene and be serialized.
+
+Author(s):
+ Matthieu Besson , Nevrax France
+Date:
+ 2001
+

+ +

+Definition at line 56 of file scene_group.h.


Member Typedef Documentation

+

+ + + + +
+ + + + + +
+typedef std::vector<CInstance> NL3D::CInstanceGroup::TInstanceArray +
+
+ + + + + +
+   + + +

+A vector of instance. +

+ +

+Definition at line 79 of file scene_group.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+bool NL3D::CInstanceGroup::addToScene ( + +CScene & scene ) +
+
+ + + + + +
+   + + +

+Add all the instances to the scene. +

+ +

+Definition at line 131 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceGroup::build ( + +const TInstanceArray & array ) +
+
+ + + + + +
+   + + +

+Build the group. +

+ +

+Definition at line 86 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+const std::string & NL3D::CInstanceGroup::getInstanceName ( + +uint instanceNb ) const +
+
+ + + + + +
+   + + +

+Get an instance name (the name of the mesh referenced). +

+ +

+Definition at line 46 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+const int NL3D::CInstanceGroup::getInstanceParent ( + +uint instanceNb ) const +
+
+ + + + + +
+   + + +

+ +

+Definition at line 78 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+const CVector & NL3D::CInstanceGroup::getInstancePos ( + +uint instanceNb ) const +
+
+ + + + + +
+   + + +

+Get an instance position. +

+ +

+Definition at line 54 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+const CQuat & NL3D::CInstanceGroup::getInstanceRot ( + +uint instanceNb ) const +
+
+ + + + + +
+   + + +

+Get an instance rotation. +

+ +

+Definition at line 62 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+const CVector & NL3D::CInstanceGroup::getInstanceScale ( + +uint instanceNb ) const +
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+uint NL3D::CInstanceGroup::getNumInstance ( + +) const +
+
+ + + + + +
+   + + +

+Get number of instance in this group. +

+ +

+Definition at line 39 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+bool NL3D::CInstanceGroup::removeFromScene ( + +CScene & scene ) +
+
+ + + + + +
+   + + +

+Remove all the instances from the scene. +

+ +

+Definition at line 167 of file scene_group.cpp.

+

+ + + + +
+ + + + + + +
+void NL3D::CInstanceGroup::serial ( + +NLMISC::IStream & f ) +
+
+ + + + + +
+   + + +

+Serial the group. +

+ +

+Definition at line 94 of file scene_group.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+std::vector< CTransformShape *> NL3D::CInstanceGroup::_Instances [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 113 of file scene_group.h.

+

+ + + + +
+ + + + + +
+TInstanceArray NL3D::CInstanceGroup::_InstancesInfos [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 112 of file scene_group.h.

+


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