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

A block of vegetable instances. More...

#include <vegetable_instance_group.h>

Inheritance diagram for NL3D::CVegetableInstanceGroup:

NL3D::CTessNodeList List of all members.

UpdateLighting management

void linkBeforeUL (CVegetableInstanceGroup *igNext)
 insert this before igNext. More...

void unlinkUL ()
 unlink. More...

CVegetableInstanceGroup * _ULPrec
CVegetableInstanceGroup * _ULNext
uint _ULNumVertices

Public Methods

 CVegetableInstanceGroup ()
 Constructor. More...

 ~CVegetableInstanceGroup ()
bool isEmpty () const
 tells if the instanceGroup has no faces at all. More...


Public Attributes

CVegetableLightEx VegetableLightEx
 The Vegetable Light Information. More...


Private Attributes

CVegetableClipBlock_ClipOwner
CVegetableSortBlock_SortOwner
CVegetableRdrPass _RdrPass [NL3D_VEGETABLE_NRDRPASS]
NLMISC::CObjectVector< float,
false > 
_TriangleQuadrantOrderArray
uint _TriangleQuadrantOrderNumTriangles
float * _TriangleQuadrantOrders [NL3D_VEGETABLE_NUM_QUADRANT]
bool _HasZSortPassInstances

Friends

class CVegetableManager
class CVegetableClipBlock
class CVegetableSortBlock

Detailed Description

A block of vegetable instances.

Instaces are added to an IG, and deleted when the ig is deleted. Internal to VegetableManager. Just an Handle for public.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 59 of file vegetable_instance_group.h.


Constructor & Destructor Documentation

NL3D::CVegetableInstanceGroup::CVegetableInstanceGroup  
 

Constructor.

Definition at line 36 of file vegetable_instance_group.cpp.

References _ClipOwner, _HasZSortPassInstances, _SortOwner, _TriangleQuadrantOrderNumTriangles, _ULNext, _ULNumVertices, and _ULPrec.

NL3D::CVegetableInstanceGroup::~CVegetableInstanceGroup  
 

Definition at line 49 of file vegetable_instance_group.cpp.

References unlinkUL.


Member Function Documentation

bool NL3D::CVegetableInstanceGroup::isEmpty   const
 

tells if the instanceGroup has no faces at all.

Definition at line 90 of file vegetable_instance_group.cpp.

References _RdrPass, and NL3D_VEGETABLE_NRDRPASS.

void NL3D::CVegetableInstanceGroup::linkBeforeUL CVegetableInstanceGroup *    igNext [private]
 

insert this before igNext.

Definition at line 56 of file vegetable_instance_group.cpp.

References _ULNext, _ULPrec, and nlassert.

void NL3D::CVegetableInstanceGroup::unlinkUL   [private]
 

unlink.

Definition at line 72 of file vegetable_instance_group.cpp.

References _ULNext, and _ULPrec.

Referenced by ~CVegetableInstanceGroup.


Friends And Related Function Documentation

friend class CVegetableClipBlock [friend]
 

Definition at line 78 of file vegetable_instance_group.h.

friend class CVegetableManager [friend]
 

Definition at line 77 of file vegetable_instance_group.h.

friend class CVegetableSortBlock [friend]
 

Definition at line 79 of file vegetable_instance_group.h.


Member Data Documentation

CVegetableClipBlock* NL3D::CVegetableInstanceGroup::_ClipOwner [private]
 

Definition at line 83 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup.

bool NL3D::CVegetableInstanceGroup::_HasZSortPassInstances [private]
 

Definition at line 146 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup.

CVegetableRdrPass NL3D::CVegetableInstanceGroup::_RdrPass[NL3D_VEGETABLE_NRDRPASS] [private]
 

Definition at line 138 of file vegetable_instance_group.h.

Referenced by isEmpty.

CVegetableSortBlock* NL3D::CVegetableInstanceGroup::_SortOwner [private]
 

Definition at line 84 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup.

NLMISC::CObjectVector<float, false> NL3D::CVegetableInstanceGroup::_TriangleQuadrantOrderArray [private]
 

Definition at line 142 of file vegetable_instance_group.h.

uint NL3D::CVegetableInstanceGroup::_TriangleQuadrantOrderNumTriangles [private]
 

Definition at line 143 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup.

float* NL3D::CVegetableInstanceGroup::_TriangleQuadrantOrders[NL3D_VEGETABLE_NUM_QUADRANT] [private]
 

Definition at line 144 of file vegetable_instance_group.h.

CVegetableInstanceGroup* NL3D::CVegetableInstanceGroup::_ULNext [private]
 

Definition at line 154 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup, linkBeforeUL, and unlinkUL.

uint NL3D::CVegetableInstanceGroup::_ULNumVertices [private]
 

Definition at line 156 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup.

CVegetableInstanceGroup* NL3D::CVegetableInstanceGroup::_ULPrec [private]
 

Definition at line 153 of file vegetable_instance_group.h.

Referenced by CVegetableInstanceGroup, linkBeforeUL, and unlinkUL.

CVegetableLightEx NL3D::CVegetableInstanceGroup::VegetableLightEx
 

The Vegetable Light Information.

Contains list of PointLights which influence the vegetIg. NB: PointLights ptrs are kept so the ig must be deleted when the lights are deleted.

Definition at line 73 of file vegetable_instance_group.h.


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