20 #include <osg/ref_ptr>
26 class DtTextProxyInterface;
27 class DtOsgTextureWrapper;
62 virtual void setParentId(
DtUniqueID id )
override;
65 virtual void setOverlay(
unsigned int layer )
override;
68 virtual unsigned int overlay()
const override;
71 virtual void setOrderGroup(
unsigned int group )
override;
74 virtual unsigned int orderGroup()
const override;
77 virtual void setPosition(
float x,
float y,
float z,
float w = 0 )
override;
81 virtual void setText(
const DtUnicode&
string )
override;
84 virtual void setFont(
const std::string& font,
float size)
override;
90 virtual void setFontScale(
float scale )
override;
93 virtual float fontScale(
double minimumAltitudeForUse = std::numeric_limits<double>::min())
const override;
100 virtual void setAltitudeBasedConfigurations(
105 virtual void clearAltitudeBasedConfigurations()
override;
112 virtual void setIsForcedAltitudeBasedFontScaleEnabled(
bool isEnabled)
override;
116 virtual void setBaseAltitudeToUseForForcedFontScale(
double minimumAltitudeForUse)
override;
120 virtual void setLodOutAltitude(
double lodOutAltitude)
override;
125 virtual void setIsLodOutAltitudeEnabled(
bool isLodOutAltitudeEnabled)
override;
129 virtual bool isLodOutAltitudeEnabled()
const override;
132 virtual void setBackgroundImage(
const std::string&
filename )
override;
133 virtual void setBackgroundImage(
const std::string& filename,
134 float left,
float right,
float bottom,
float top );
137 virtual void setTextColor(
float r,
float g,
float b,
float a )
override;
140 virtual void setColor(
float r,
float g,
float b,
float a )
override;
143 virtual void setOriginOffset(
int xOffset,
int yOffset)
override;
146 virtual void setSize(
float w,
float h)
override;
149 virtual void getSize(
float& width,
float& height)
override;
152 virtual void setPadding(
float paddingX,
float paddingY )
override;
155 virtual void setModelDefinition(
const std::string& str )
override;
164 virtual void setEventsEnabled(
bool enabled )
override;
167 virtual void setVisible(
bool visible )
override;
171 virtual void setBoundsLength(
int len )
override;
175 virtual void setRotation(
float angle )
override;
179 virtual double getRotation()
const override;
187 virtual void setIsRotationInScreenSpace(
bool isRotationInScreenSpace)
override;
191 virtual bool isRotationInScreenSpace()
const override;
197 virtual void setMaximumWorldHeight(
double worldHeightInMeters)
override;
200 virtual double maximumWorldHeight()
const override;
206 virtual void setMaximumWorldWidth(
double worldWidthInMeters)
override;
209 virtual double maximumWorldWidth()
const override;
217 virtual void updateBounds(
bool calculateText ) ;
218 virtual void updateFont();
221 virtual void updateEventSignals()
override;
Contains the DtAltitudeBasedScaleConfigurationRecord class declaration.
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
A synchronized Quad and Widget for a interactive visible 2D graphic.
Definition: DtSprite.h:26
Contains the makVrv::DtBoundingBox class declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
voidpf void uLong size
Definition: ioapi.h:39
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
A class for controlling text owned by the TextRenderer.
Definition: DtTextProxyInterface.h:30
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtOsgTextureWrapper.h:24
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
std::vector< DtAltitudeBasedScaleConfigurationRecord > DtAltitudeBasedScaleConfigurationRecordCollection
Definition: DtAltitudeBasedScaleConfigurationRecord.h:45