![]() |
VR-Forces 4.0.4 Class Documentation
|
A class which allocates and draws quads. More...

Public Member Functions | |
| DtQuadRenderer (DtOverlayResourceProvider &provider) | |
| CTOR. | |
| virtual | ~DtQuadRenderer () |
| Virtual DTOR. | |
| virtual int | numberOfPrimitives () const |
| Get the number of Primitives. | |
| virtual void | render (bool geocentric, float geocentricAlpha, const double location[3]=0, const double positionMatrix[16]=0) |
| Render the primitives. | |
| virtual void | releaseResources () |
| Release any rendering resources. | |
| virtual bool | isRenderModeSupported (int mode) |
| Check to see if render mode is supported. | |
| DtQuadProxy * | allocateProxy () |
| Create a new Quad proxy. | |
Protected Types | |
| enum | Styles { Style_Flat = 0, Style_Stippled, Style_Textured, Styles_End } |
| typedef std::vector < DtQuadProxy * > | QuadProxyList |
Protected Member Functions | |
| void | add (DtQuadProxy *toAdd) |
| Adds the proxy to the renderer's internal list of proxies. | |
| void | remove (const DtQuadProxy *const proxy, bool isBeingDeleted=false) |
| Removes the proxy from the renderer's internal list of proxies. | |
| void | dirty (DtQuadProxy *proxy) |
| Flags the proxy as dirty and in need of an update. | |
| void | updateRenderData () |
| Updates the proxy's render data for all dirty proxies. | |
Protected Attributes | |
| DtPrimitiveStyle * | myStyles [Styles_End] |
| QuadProxyList | myQuads |
| QuadProxyList | myDirtyList |
Friends | |
| class | DtQuadProxy |
A class which allocates and draws quads.
typedef std::vector<DtQuadProxy*> makVrv::DtQuadRenderer::QuadProxyList [protected] |
enum makVrv::DtQuadRenderer::Styles [protected] |
CTOR.
| virtual makVrv::DtQuadRenderer::~DtQuadRenderer | ( | ) | [virtual] |
Virtual DTOR.
| virtual int makVrv::DtQuadRenderer::numberOfPrimitives | ( | ) | const [virtual] |
Get the number of Primitives.
Implements makVrv::DtPrimitiveRenderer.
| virtual void makVrv::DtQuadRenderer::render | ( | bool | geocentric, |
| float | geocentricAlpha, | ||
| const double | location[3] = 0, |
||
| const double | positionMatrix[16] = 0 |
||
| ) | [virtual] |
Render the primitives.
| virtual void makVrv::DtQuadRenderer::releaseResources | ( | ) | [virtual] |
Release any rendering resources.
Implements makVrv::DtPrimitiveRenderer.
| virtual bool makVrv::DtQuadRenderer::isRenderModeSupported | ( | int | mode | ) | [virtual] |
Check to see if render mode is supported.
Implements makVrv::DtPrimitiveRenderer.
Create a new Quad proxy.
| void makVrv::DtQuadRenderer::add | ( | DtQuadProxy * | toAdd | ) | [protected] |
Adds the proxy to the renderer's internal list of proxies.
| void makVrv::DtQuadRenderer::remove | ( | const DtQuadProxy *const | proxy, |
| bool | isBeingDeleted = false |
||
| ) | [protected] |
Removes the proxy from the renderer's internal list of proxies.
| void makVrv::DtQuadRenderer::dirty | ( | DtQuadProxy * | proxy | ) | [protected] |
Flags the proxy as dirty and in need of an update.
| void makVrv::DtQuadRenderer::updateRenderData | ( | ) | [protected] |
Updates the proxy's render data for all dirty proxies.
friend class DtQuadProxy [friend] |
DtPrimitiveStyle* makVrv::DtQuadRenderer::myStyles[Styles_End] [protected] |
QuadProxyList makVrv::DtQuadRenderer::myQuads [protected] |
QuadProxyList makVrv::DtQuadRenderer::myDirtyList [protected] |