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

Game interface for managing group instance. More...

#include <u_instance_group.h>

Inheritance diagram for NL3D::UInstanceGroup

Inheritance graph
[legend]
List of all members.

Public Methods

virtual uint getNumInstance () const = 0
 Return the count of shape instance in this group.

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

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

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

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


Static Public Methods

UInstanceGroup* createInstanceGroup (const std::string &instanceGroup)
 This is the static function create a stand alone instance group. More...


Detailed Description

Game interface for managing group instance.

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

Definition at line 47 of file u_instance_group.h.


Member Function Documentation

UInstanceGroup * NL3D::UInstanceGroup::createInstanceGroup ( const std::string & instanceGroup ) [static]
 

This is the static function create a stand alone instance group.

Definition at line 36 of file instance_group_user.cpp.

const std::string & NL3D::UInstanceGroup::getInstanceName ( uint instanceNb ) const [pure 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 in NL3D::CInstanceGroupUser.

const NLMISC::CVector & NL3D::UInstanceGroup::getInstancePos ( uint instanceNb ) const [pure 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 in NL3D::CInstanceGroupUser.

const NLMISC::CQuat & NL3D::UInstanceGroup::getInstanceRot ( uint instanceNb ) const [pure 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 in NL3D::CInstanceGroupUser.

const NLMISC::CVector & NL3D::UInstanceGroup::getInstanceScale ( uint instanceNb ) const [pure 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 in NL3D::CInstanceGroupUser.

uint NL3D::UInstanceGroup::getNumInstance ( ) const [pure virtual]
 

Return the count of shape instance in this group.

Reimplemented in NL3D::CInstanceGroupUser.


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