VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtCollectionTerrainDrawer Class Reference

This class is a collection of terrain drawers. More...

Inheritance diagram for DtCollectionTerrainDrawer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCollectionTerrainDrawer ()
virtual ~DtCollectionTerrainDrawer ()
virtual void internalDraw (const DtTerrainDatabase *, const DtViewportExtents *, DtPrimitiveDrawer *painter)
 Implement this feature to do specific terrain drawing.
virtual void addTerrainDrawer (DtTerrainDrawer *)
 Add/remove terrain drawers from this collection.
virtual void insertDrawer (int iIndex, DtTerrainDrawer *)
 Insert drawer at specified 0 based index.
virtual DtTerrainDrawerremoveDrawer (int)
 Remove drawer at specified index and return drawer removed.
virtual void removeTerrainDrawer (DtTerrainDrawer *)
const std::vector
< DtTerrainDrawer * > & 
terrainDrawers () const

Protected Attributes

std::vector< DtTerrainDrawer * > myDrawers

Detailed Description

This class is a collection of terrain drawers.

These drawers will be invoked in the order they are inserted into this class. This class will use the internalDraw() method to iterate through the list of drawers, calling those drawers draw() methods


Constructor & Destructor Documentation


Member Function Documentation

virtual void DtCollectionTerrainDrawer::internalDraw ( const DtTerrainDatabase ,
const DtViewportExtents ,
DtPrimitiveDrawer painter 
) [virtual]

Implement this feature to do specific terrain drawing.

Implements DtTerrainDrawer.

Add/remove terrain drawers from this collection.

virtual void DtCollectionTerrainDrawer::insertDrawer ( int  iIndex,
DtTerrainDrawer  
) [virtual]

Insert drawer at specified 0 based index.

Remove drawer at specified index and return drawer removed.

const std::vector< DtTerrainDrawer * > & DtCollectionTerrainDrawer::terrainDrawers ( ) const [inline]

References myDrawers.


Member Data Documentation

Referenced by terrainDrawers().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)