LLDrawPoolTree Class Reference

#include <lldrawpooltree.h>

Inheritance diagram for LLDrawPoolTree:

Inheritance graph
[legend]
Collaboration diagram for LLDrawPoolTree:

Collaboration graph
[legend]
List of all members.

Public Types

 VERTEX_DATA_MASK
enum  { VERTEX_DATA_MASK }

Public Member Functions

virtual U32 getVertexDataMask ()
 LLDrawPoolTree (LLViewerImage *texturep)
LLDrawPoolinstancePool ()
void prerender ()
void beginRenderPass (S32 pass)
void render (S32 pass=0)
void endRenderPass (S32 pass)
void renderForSelect ()
BOOL verify () const
LLViewerImagegetTexture ()
LLViewerImagegetDebugTexture ()
LLColor3 getDebugColor () const
virtual S32 getMaterialAttribIndex ()

Static Public Attributes

static S32 sDiffTex = 0

Private Member Functions

void renderTree (BOOL selecting=FALSE)

Private Attributes

LLPointer< LLViewerImagemTexturep

Detailed Description

Definition at line 37 of file lldrawpooltree.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
VERTEX_DATA_MASK 

Definition at line 41 of file lldrawpooltree.h.


Constructor & Destructor Documentation

LLDrawPoolTree::LLDrawPoolTree ( LLViewerImage texturep  ) 

Definition at line 47 of file lldrawpooltree.cpp.

References FALSE, and mTexturep.

Referenced by instancePool().


Member Function Documentation

void LLDrawPoolTree::beginRenderPass ( S32  pass  )  [virtual]

Reimplemented from LLDrawPool.

Definition at line 65 of file lldrawpooltree.cpp.

References f.

void LLDrawPoolTree::endRenderPass ( S32  pass  )  [virtual]

Reimplemented from LLDrawPool.

Definition at line 89 of file lldrawpooltree.cpp.

References f.

LLColor3 LLDrawPoolTree::getDebugColor (  )  const

Definition at line 287 of file lldrawpooltree.cpp.

References f.

LLViewerImage * LLDrawPoolTree::getDebugTexture (  )  [virtual]

Reimplemented from LLDrawPool.

Definition at line 281 of file lldrawpooltree.cpp.

References mTexturep.

S32 LLDrawPoolTree::getMaterialAttribIndex (  )  [virtual]

Implements LLDrawPool.

Definition at line 292 of file lldrawpooltree.cpp.

References gObjectSimpleProgram, LLShaderMgr::MATERIAL_COLOR, and LLGLSLShader::mAttribute.

LLViewerImage * LLDrawPoolTree::getTexture (  )  [virtual]

Reimplemented from LLFacePool.

Definition at line 276 of file lldrawpooltree.cpp.

References mTexturep.

virtual U32 LLDrawPoolTree::getVertexDataMask (  )  [inline, virtual]

Implements LLDrawPool.

Definition at line 48 of file lldrawpooltree.h.

References VERTEX_DATA_MASK.

LLDrawPool * LLDrawPoolTree::instancePool (  )  [virtual]

Implements LLDrawPool.

Definition at line 55 of file lldrawpooltree.cpp.

References LLDrawPoolTree(), and mTexturep.

void LLDrawPoolTree::prerender (  )  [virtual]

Implements LLDrawPool.

Definition at line 60 of file lldrawpooltree.cpp.

References LLDrawPool::mVertexShaderLevel.

void LLDrawPoolTree::render ( S32  pass = 0  )  [virtual]

Implements LLDrawPool.

Definition at line 73 of file lldrawpooltree.cpp.

References LLPipeline::enableLightsDynamic(), f, LLFastTimer::FTM_RENDER_TREES, gPipeline, LLFacePool::mDrawFace, renderTree(), and t.

void LLDrawPoolTree::renderForSelect (  )  [virtual]

Implements LLFacePool.

Definition at line 96 of file lldrawpooltree.cpp.

References f, glBlendFunc, LLFacePool::mDrawFace, renderTree(), and TRUE.

void LLDrawPoolTree::renderTree ( BOOL  selecting = FALSE  )  [private]

Definition at line 135 of file lldrawpooltree.cpp.

References LLDrawPool::addIndicesDrawn(), LLViewerImage::bindTexture(), LLVOTree::drawBranchPipeline(), f, face, LLPointer< Type >::get(), LLQuaternion::getAngleAxis(), LLViewerObject::getAppAngle(), LLViewerObject::getPositionAgent(), LLXform::getRotation(), LLXform::getScale(), LLDrawable::getVObj(), glPopMatrix, glRotatef, glTranslatef, LLDrawable::isDead(), j, LLVector3::magVec(), LLVOTree::mBranches, LLVOTree::mDepth, LLFacePool::mDrawFace, LLVOTree::mDroop, LLViewerObject::mGLName, mTexturep, LLVOTree::mTrunkBend, LLVOTree::mTrunkDepth, LLVOTree::mTwist, LLVector3::mV, RAD_TO_DEG, S32, sDiffTex, LLVOTree::sLODAngles, LLVOTree::sTreeFactor, TRUE, VERTEX_DATA_MASK, VX, VY, VZ, x, y, and z.

Referenced by render(), and renderForSelect().

BOOL LLDrawPoolTree::verify (  )  const [virtual]

Reimplemented from LLFacePool.

Definition at line 263 of file lldrawpooltree.cpp.

References TRUE.


Member Data Documentation

LLPointer<LLViewerImage> LLDrawPoolTree::mTexturep [private]

Definition at line 39 of file lldrawpooltree.h.

Referenced by getDebugTexture(), getTexture(), instancePool(), LLDrawPoolTree(), and renderTree().

S32 LLDrawPoolTree::sDiffTex = 0 [static]

Definition at line 66 of file lldrawpooltree.h.

Referenced by renderTree().


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