LLGeometryManager Class Reference

#include <llspatialpartition.h>

Inheritance diagram for LLGeometryManager:

Inheritance graph
[legend]
Collaboration diagram for LLGeometryManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~LLGeometryManager ()
virtual void rebuildGeom (LLSpatialGroup *group)=0
virtual void getGeometry (LLSpatialGroup *group)=0
virtual void addGeometryCount (LLSpatialGroup *group, U32 &vertex_count, U32 &index_count)
virtual LLVertexBuffercreateVertexBuffer (U32 type_mask, U32 usage)

Public Attributes

std::vector< LLFace * > mFaceList

Detailed Description

Definition at line 264 of file llspatialpartition.h.


Constructor & Destructor Documentation

virtual LLGeometryManager::~LLGeometryManager (  )  [inline, virtual]

Definition at line 268 of file llspatialpartition.h.


Member Function Documentation

void LLGeometryManager::addGeometryCount ( LLSpatialGroup group,
U32 vertex_count,
U32 index_count 
) [virtual]

Reimplemented in LLWaterPartition, LLTreePartition, LLParticlePartition, LLVolumePartition, LLVolumeBridge, and LLBridgePartition.

Definition at line 2541 of file llvovolume.cpp.

References FORCE_CULL_AREA, LLSpatialGroup::getData(), LLFace::getGeomCount(), LLFace::getIndicesCount(), LLFace::hasGeometry(), i, LLSpatialGroup::mBufferUsage, LLSpatialPartition::mBufferUsage, mFaceList, LLFace::mLastVertexBuffer, LLFace::mPixelArea, LLSpatialGroup::mSpatialPartition, LLFace::mVertexBuffer, NULL, and S32.

Referenced by LLVolumeBridge::addGeometryCount(), LLVolumePartition::addGeometryCount(), and LLSpatialPartition::rebuildGeom().

LLVertexBuffer * LLGeometryManager::createVertexBuffer ( U32  type_mask,
U32  usage 
) [virtual]

Reimplemented in LLTerrainPartition.

Definition at line 2905 of file llspatialpartition.cpp.

Referenced by LLVolumeGeometryManager::rebuildGeom(), and LLSpatialPartition::rebuildGeom().

virtual void LLGeometryManager::getGeometry ( LLSpatialGroup group  )  [pure virtual]

Implemented in LLWaterPartition, LLTerrainPartition, LLTreePartition, LLParticlePartition, LLVolumeGeometryManager, LLVolumePartition, LLVolumeBridge, and LLBridgePartition.

Referenced by LLSpatialPartition::rebuildGeom().

virtual void LLGeometryManager::rebuildGeom ( LLSpatialGroup group  )  [pure virtual]

Implemented in LLSpatialPartition, LLVolumeGeometryManager, LLVolumePartition, and LLVolumeBridge.


Member Data Documentation

std::vector<LLFace*> LLGeometryManager::mFaceList

Definition at line 267 of file llspatialpartition.h.

Referenced by addGeometryCount(), LLParticlePartition::addGeometryCount(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), and LLVolumeGeometryManager::rebuildGeom().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:22 2010 for Second Life Viewer by  doxygen 1.4.7