LLParticlePartition Class Reference

#include <llspatialpartition.h>

Inheritance diagram for LLParticlePartition:

Inheritance graph
[legend]
Collaboration diagram for LLParticlePartition:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLParticlePartition ()
virtual void getGeometry (LLSpatialGroup *group)
virtual void addGeometryCount (LLSpatialGroup *group, U32 &vertex_count, U32 &index_count)
virtual F32 calcPixelArea (LLSpatialGroup *group, LLCamera &camera)

Protected Attributes

U32 mRenderPass

Detailed Description

Definition at line 415 of file llspatialpartition.h.


Constructor & Destructor Documentation

LLParticlePartition::LLParticlePartition (  ) 

Definition at line 401 of file llvopartgroup.cpp.

References LLSpatialPartition::mBufferUsage, LLSpatialPartition::mDrawableType, LLSpatialPartition::mLODPeriod, LLSpatialPartition::mPartitionType, mRenderPass, LLSpatialPartition::mSlopRatio, LLPipeline::PARTITION_PARTICLE, LLRenderPass::PASS_ALPHA, and LLPipeline::RENDER_TYPE_PARTICLES.


Member Function Documentation

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

Reimplemented from LLGeometryManager.

Definition at line 412 of file llvopartgroup.cpp.

References count, gCamera, LLCoordFrame::getAtAxis(), LLSpatialGroup::getData(), LLFace::getGeomCount(), LLFace::getIndicesCount(), LLCoordFrame::getOrigin(), LLFace::hasGeometry(), i, j, LLSpatialPartition::mBufferUsage, LLSpatialGroup::mBufferUsage, LLFace::mCenterLocal, LLAlphaObject::mDepth, LLFace::mDistance, LLGeometryManager::mFaceList, and S32.

F32 LLParticlePartition::calcPixelArea ( LLSpatialGroup group,
LLCamera camera 
) [virtual]

Reimplemented from LLSpatialPartition.

Definition at line 530 of file llvopartgroup.cpp.

void LLParticlePartition::getGeometry ( LLSpatialGroup group  )  [virtual]

Implements LLGeometryManager.

Definition at line 459 of file llvopartgroup.cpp.

References LLSpatialGroup::clearDrawMap(), count, end, LLFace::FULLBRIGHT, LLVertexBuffer::getColorStrider(), LLAlphaObject::getGeometry(), LLVertexBuffer::getIndexStrider(), LLVertexBuffer::getNormalStrider(), LLVertexBuffer::getTexCoordStrider(), LLVertexBuffer::getVertexStrider(), gGLManager, i, llmax(), mCount, LLSpatialGroup::mDrawMap, LLGeometryManager::mFaceList, LLGLManager::mGLMaxIndexRange, LLGLManager::mGLMaxVertexRange, mRenderPass, LLMemType::MTYPE_SPACE_PARTITION, LLSpatialGroup::mVertexBuffer, LLDrawInfo::mVSize, LLDrawPool::POOL_ALPHA, S32, and start.


Member Data Documentation

U32 LLParticlePartition::mRenderPass [protected]

Definition at line 423 of file llspatialpartition.h.

Referenced by getGeometry(), LLGrassPartition::LLGrassPartition(), and LLParticlePartition().


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