![]() |
VR-Forces 4.0.4 Class Documentation
|
A class for rendering text object. More...

Public Member Functions | |
| DtTextRenderer (DtOverlayResourceProvider &provider) | |
| CTOR. | |
| ~DtTextRenderer () | |
| DTOR. | |
| DtTextProxy * | createProxy () |
| Create a text proxy. | |
| DtTextProxy * | cloneProxy (const DtTextProxy *) |
| Clone a text proxy. | |
| virtual int | numberOfPrimitives () const |
| Get the number of Primitives. | |
| virtual void | releaseResources () |
| Release any rendering resources. | |
| virtual bool | isRenderModeSupported (int mode) |
| Get if a render mode is supported. | |
| void | render (bool geocentric, float geocentricAlpha, const double location[3], const double positionMatrix[16]) |
| Render the text. | |
| void | addGroupRef (unsigned int) |
| Add the given group reference to the DtOverlayResourceProvider. | |
| void | removeGroupRef (unsigned int) |
| Remove the given group reference from the DtOverlayResourceProvider. | |
Protected Types | |
| typedef std::vector < DtTextProxy * > | TextProxyList |
Protected Member Functions | |
| void | deleteProxy (DtTextProxy *) |
| Create a text proxy. | |
Protected Attributes | |
| TextProxyList | myProxyList |
| DtTexturedGlyphRenderer * | myGlyphRenderer |
| DtProjected2DTexturedEffect * | myEffect |
Friends | |
| class | DtTextProxy |
A class for rendering text object.
typedef std::vector<DtTextProxy*> makVrv::DtTextRenderer::TextProxyList [protected] |
CTOR.
DTOR.
Create a text proxy.
| DtTextProxy* makVrv::DtTextRenderer::cloneProxy | ( | const DtTextProxy * | ) |
Clone a text proxy.
| virtual int makVrv::DtTextRenderer::numberOfPrimitives | ( | ) | const [virtual] |
Get the number of Primitives.
Implements makVrv::DtPrimitiveRenderer.
| virtual void makVrv::DtTextRenderer::releaseResources | ( | ) | [virtual] |
Release any rendering resources.
Implements makVrv::DtPrimitiveRenderer.
| virtual bool makVrv::DtTextRenderer::isRenderModeSupported | ( | int | mode | ) | [virtual] |
Get if a render mode is supported.
Implements makVrv::DtPrimitiveRenderer.
| void makVrv::DtTextRenderer::render | ( | bool | geocentric, |
| float | geocentricAlpha, | ||
| const double | location[3], | ||
| const double | positionMatrix[16] | ||
| ) |
Render the text.
| void makVrv::DtTextRenderer::addGroupRef | ( | unsigned | int | ) |
Add the given group reference to the DtOverlayResourceProvider.
Reimplemented from makVrv::DtPrimitiveRenderer.
| void makVrv::DtTextRenderer::removeGroupRef | ( | unsigned | int | ) |
Remove the given group reference from the DtOverlayResourceProvider.
Reimplemented from makVrv::DtPrimitiveRenderer.
| void makVrv::DtTextRenderer::deleteProxy | ( | DtTextProxy * | ) | [protected] |
Create a text proxy.
friend class DtTextProxy [friend] |
TextProxyList makVrv::DtTextRenderer::myProxyList [protected] |