![]() |
VR-Forces 5.0.2 Developer's Guide
|
A class for rendering text object.

Classes | |
| class | DtAltitudeBasedConfiguration |
Public Types | |
| typedef std::vector < DtAltitudeBasedConfiguration > | DtAltitudeBasedConfigurationCollection |
Public Types inherited from makVrv::DtPrimitiveRenderer | |
| enum | RenderModes { RenderMode_VertexBufferObject = 1, RenderMode_SortedVertexBufferObject, RenderModes_End } |
| enum | OrderModes { OrderMode_None = 0, OrderMode_Queue, OrderMode_Group, OrderModes_end } |
Protected Types | |
| typedef std::vector < DtBufferObject * > | BufferObjectList |
Protected Member Functions | |
| DtTextRenderer (DtDe &de, DtOverlayResourceProvider &provider) | |
Protected Attributes | |
| std::map< const DtTextProxy *, DtTextProxyGroup * > | myTextProxyToGroupMap |
| std::map< const DtTextProxyGroup *, DtTexturedGlyphRenderer * > | myGlyphRenderers |
| std::vector< DtTextProxyGroup * > | myTextProxyGroups |
| DtProjected2DTexturedEffect * | myEffect |
| BufferObjectList | myBufferObjectList |
Protected Attributes inherited from makVrv::DtPrimitiveRenderer | |
| DtDe & | myDe |
| DtOverlayResourceProvider & | myProvider |
| int | myRenderMode |
| int | myOrderMode |
| bool | myForceUpdate |
Private Attributes | |
| friend | DtTextRendererCreator |
| typedef std::vector<DtAltitudeBasedConfiguration> makVrv::DtTextRenderer::DtAltitudeBasedConfigurationCollection |
A collection of altitude-based configurations for a text proxy.
|
protected |
|
virtual |
DTOR.
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
CTOR.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Create a text proxy.
|
virtual |
Clone a text proxy.
|
virtual |
Get the number of Primitives.
Implements makVrv::DtPrimitiveRenderer.
|
virtual |
Release any rendering resources.
Implements makVrv::DtPrimitiveRenderer.
Get if a render mode is supported.
Implements makVrv::DtPrimitiveRenderer.
|
virtual |
|
virtual |
Render the text.
|
virtual |
Add the given group reference to the DtOverlayResourceProvider.
|
virtual |
Remove the given group reference from the DtOverlayResourceProvider.
|
virtual |
Removes a text proxy from this text renderer. This does not delete the text proxy object.
|
virtual |
Set a collection of altitude-based configurations to use for a text proxy. This API allows for the specification of different fonts a text proxy will use based on the altitude of the camera rendering the text proxy.
That is, each frame, the camera's altitude is used to determine the specific altitude-based configuration to use. The altitude-based configuration that meets both of the following conditions will be used: (1) The configuration's base altitude is less than the camera's current altitude. (2) The configuration's base altitude is larger than all other altitude-based configurations, defined for a given text proxy, that also meet condition (1).
Altitude is in meters from mean sea level.
|
virtual |
Get the collection of altitude-based configurations used for a text proxy.
|
virtual |
Clear the collection of altitude-based configurations for a text proxy, if any.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |