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

Implementation of the user interface managing instance groups. More...

#include <instance_group_user.h>

Inheritance diagram for NL3D::CInstanceGroupUser

Inheritance graph
[legend]
Collaboration diagram for NL3D::CInstanceGroupUser:

Collaboration graph
[legend]
List of all members.

Public Methods

bool init (const std::string &instanceGroup, class CScene& scene)
bool init (const std::string &instanceGroup)
void release (class CScene& scene)

Private Methods

uint getNumInstance () const
 Return the count of shape instance in this group. More...

const std::string& getInstanceName (uint instanceNb) const
 Return the name of an instance of the group. More...

const NLMISC::CVectorgetInstancePos (uint instanceNb) const
 Return the position of an instance of the group. More...

const NLMISC::CQuatgetInstanceRot (uint instanceNb) const
 Return the rotation of an instance of the group. More...

const NLMISC::CVectorgetInstanceScale (uint instanceNb) const
 Return the scale of an instance of the group. More...


Private Attributes

CInstanceGroup _InstanceGroup

Detailed Description

Implementation of the user interface managing instance groups.

Author(s):
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2001

Definition at line 50 of file instance_group_user.h.


Member Function Documentation

const std::string & NL3D::CInstanceGroupUser::getInstanceName ( uint instanceNb ) const [private, virtual]
 

Return the name of an instance of the group.

Parameters:
instanceNb   is the number of the instance.
Returns:
the name of the instance.

Reimplemented from NL3D::UInstanceGroup.

Definition at line 141 of file instance_group_user.cpp.

const NLMISC::CVector & NL3D::CInstanceGroupUser::getInstancePos ( uint instanceNb ) const [private, virtual]
 

Return the position of an instance of the group.

Parameters:
instanceNb   is the number of the instance.
Returns:
the position of the instance.

Reimplemented from NL3D::UInstanceGroup.

Definition at line 152 of file instance_group_user.cpp.

const NLMISC::CQuat & NL3D::CInstanceGroupUser::getInstanceRot ( uint instanceNb ) const [private, virtual]
 

Return the rotation of an instance of the group.

Parameters:
instanceNb   is the number of the instance.
Returns:
the rotation of the instance.

Reimplemented from NL3D::UInstanceGroup.

Definition at line 163 of file instance_group_user.cpp.

const NLMISC::CVector & NL3D::CInstanceGroupUser::getInstanceScale ( uint instanceNb ) const [private, virtual]
 

Return the scale of an instance of the group.

Parameters:
instanceNb   is the number of the instance.
Returns:
the scale of the instance.

Reimplemented from NL3D::UInstanceGroup.

Definition at line 174 of file instance_group_user.cpp.

uint NL3D::CInstanceGroupUser::getNumInstance ( ) const [private, virtual]
 

Return the count of shape instance in this group.

Reimplemented from NL3D::UInstanceGroup.

Definition at line 134 of file instance_group_user.cpp.

bool NL3D::CInstanceGroupUser::init ( const std::string & instanceGroup )
 

Definition at line 93 of file instance_group_user.cpp.

bool NL3D::CInstanceGroupUser::init ( const std::string & instanceGroup,
class CScene & scene )
 

Definition at line 57 of file instance_group_user.cpp.

void NL3D::CInstanceGroupUser::release ( class CScene & scene )
 

Definition at line 126 of file instance_group_user.cpp.


Member Data Documentation

CInstanceGroup NL3D::CInstanceGroupUser::_InstanceGroup [private]
 

Definition at line 71 of file instance_group_user.h.


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