25 class DtTextLayoutInterface;
26 class DtTexturedGlyphRenderer;
27 class DtOverlayResourceProvider;
28 class DtProjected2DTexturedEffect;
29 typedef boost::weak_ptr<DtFont>
DtFontWP;
30 typedef boost::shared_ptr<DtFont>
DtFontSP;
52 virtual int numberOfPrimitives()
const;
55 virtual void releaseResources();
58 virtual bool isRenderModeSupported(
int mode );
60 bool forceTextShaping(
void)
const;
63 void render(
bool geocentric,
float geocentricAlpha,
64 const double location[3]
65 ,
const double positionMatrix[16]
66 ,
const double projectionMatrix[16] );
69 void addGroupRef(
unsigned int );
72 void removeGroupRef(
unsigned int );
113 void setPosition(
float x,
float y,
float z,
float w = 0 );
116 const float* position()
const;
119 void setRotation(
float angle );
122 float rotation()
const;
125 void setColor(
float r,
float g,
float b,
float a );
128 const float* color()
const;
145 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
149 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
158 void setGroup(
unsigned int group );
161 unsigned int group()
const;
181 void makeOrChangeTextLayout(
const DtUnicode& str);
Generic base class for text layout renderers.
Definition: DtTextLayoutInterface.h:24
DtTextLayoutInterface * myTextLayout
Definition: DtTextRenderer.h:179
DtFontSP myFont
Definition: DtTextRenderer.h:178
A unicode string.
Definition: DtUnicode.h:33
DtProjected2DTexturedEffect * myEffect
Definition: DtTextRenderer.h:82
Contains the makVrv::DtBoundingBox class declaration.
A 2D point.
Definition: DtBoundingBox.h:19
A class the wraps a OpenGL Array Buffer object.
Definition: DtBufferObject.h:17
DtTexturedGlyphRenderer * myGlyphRenderer
Definition: DtTextRenderer.h:81
A glyph renderer which renders the texture associated with a glyph.
Definition: DtTexturedGlyphRenderer.h:23
A class for controlling text owned by the TextRenderer.
Definition: DtTextRenderer.h:90
DtFont::TextAlignement myAlignment
Definition: DtTextRenderer.h:175
A extended precision 2D quad rendering effect.
Definition: DtProjected2DTexturedEffect.h:19
DtTextRenderer * myParent
Definition: DtTextRenderer.h:168
TextAlignement
Definition: DtFont.h:33
A class for rendering text object.
Definition: DtTextRenderer.h:36
The overlay resource provider class provies resources for overlay drawing classes.
Definition: DtOverlayResourceProvider.h:23
TextProxyList myProxyList
Definition: DtTextRenderer.h:80
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Abstract primitive rendering base class.
Definition: DtPrimitiveRenderer.h:18
unsigned int myGroup
Definition: DtTextRenderer.h:173
DtBufferObject * myBufferObject
Definition: DtTextRenderer.h:84
boost::weak_ptr< DtFont > DtFontWP
Definition: DtFontManager.h:23
float myRotation
Definition: DtTextRenderer.h:170
boost::shared_ptr< DtFont > DtFontSP
Definition: DtFontManager.h:20
std::vector< DtTextProxy * > TextProxyList
Definition: DtTextRenderer.h:79
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
DtUnicode myString
Definition: DtTextRenderer.h:176
const char int mode
Definition: ioapi.h:38
Contains makVrv::DtFont class.
Contains the makVrv::DtTextured2DRenderer class declaration.
DtBoundingBox myBounds
Definition: DtTextRenderer.h:177
DtFont::TextAlignement alignment() const
Returns alignment.
Definition: DtTextRenderer.h:107
A simple bounding box.
Definition: DtBoundingBox.h:101