17 class DtQuadProxyInterface;
19 class DtOverlayRendererInterface;
20 class DtTextureInterface;
43 virtual void setGroup(
float group)
override;
46 virtual int group()
const override;
49 virtual void set2DPosition(
unsigned int index0or1,
float x,
float y)
override;
52 virtual void get2DPosition(
unsigned int index0or1,
float& x,
float& y )
const override;
56 virtual void set3DPosition(
int index0or1,
float dx,
float dy,
float z,
float w)
override;
59 virtual void get3DPosition(
int index0or1,
float& dx,
float& dy,
float& z,
float& w)
const override;
62 virtual void setColor(
float r,
float g,
float b,
float a);
65 virtual void getColor(
float& r,
float& g,
float& b,
float& a)
const;
69 virtual void setWidth(
float w)
override;
72 virtual float width()
const override;
78 float left = 0.0f,
float right = 1.0f,
79 float bottom = 0.0f,
float top = 1.0f );
82 virtual void setZoomFactor(
float z);
86 void setPatternWidth(
float widthPixels);
91 void setTrimEndPattern(
bool trim);
94 virtual void set2DPositions(
float x1,
float y1,
float x2,
float y2)
override;
97 virtual void setColor(
unsigned int index0or1,
float r,
float g,
float b,
float a)
override;
100 virtual void getColor(
unsigned int index0or1,
float& r,
float& g,
float& b,
float& a)
const override;
103 virtual void setColors(
float r1,
float g1,
float b1,
float a1,
104 float r2,
float g2,
float b2,
float a2)
override;
107 virtual void setRotationOffset(
float);
156 virtual void set3DDirection(
unsigned int index0or1,
float x,
float y,
float z)
override
160 virtual void get3DDirection(
unsigned int index0or1,
float& x,
float& y,
float& z)
const override
172 virtual void setStippleParameters(
unsigned int scale,
unsigned short pattern)
override;
176 virtual void getStippleParameters(
unsigned int& scale,
unsigned short& pattern)
const override;
180 virtual void resetTextureCoordinates();
189 float myVertices[2][4];
190 float my2DVertices[2][2];
Contains makVrv::DtOverlayResourceProvider class.
virtual void setForcedAltitudeToUse(double minimumAltitudeForUse)
Set the MSL altitude, in meters, to use when determining the altitude-based configuration to use...
Definition: DtTexturedLineSegment.h:140
A class which represents a single line segment.
Definition: DtTexturedLineSegment.h:24
virtual float direction2DLength(unsigned int index0or1) const override
Get the length of the line in 2D space.
Definition: DtTexturedLineSegment.h:168
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
float myRotationOffset
Definition: DtTexturedLineSegment.h:197
virtual void setLodOutAltitude(double lodOutAltitude)
Set the minimum MSL altitude, in meters, at which the line will no longer appear Unimplemented for th...
Definition: DtTexturedLineSegment.h:146
float myPatternWidth
Uniform pattern tile width in pixels pushed from the owning polygon; 0 means use myTextureWidth.
Definition: DtTexturedLineSegment.h:194
virtual void setIsUseForcedAltitudeEnabled(bool enabled)
Set whether or not a particular altitude-based configuration is used, regardless of altitude...
Definition: DtTexturedLineSegment.h:133
DtTextureInterface * myTexture
Definition: DtTexturedLineSegment.h:191
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:26
A class which allocates and draws quads.
Definition: DtQuadRenderer.h:44
virtual void set3DDirection(unsigned int index0or1, float x, float y, float z) override
Set the normalized direction of the line in world space. Unimplemented for this type of line...
Definition: DtTexturedLineSegment.h:156
virtual void setIsLodOutAltitudeEnabled(bool isLodOutAltitudeEnabled)
Set whether or not this attribute will use the LOD Out Altitude property. Unimplemented for this type...
Definition: DtTexturedLineSegment.h:151
virtual void get3DDirection(unsigned int index0or1, float &x, float &y, float &z) const override
Get the normalized direction of the vertex. Unimplemented for this line.
Definition: DtTexturedLineSegment.h:160
virtual void setDirection2DLength(unsigned int index0or1, float length) override
Set the length of the line in 2D space. Unimplemented for this line.
Definition: DtTexturedLineSegment.h:164
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myZoomFactor
Definition: DtTexturedLineSegment.h:196
virtual void setAltitudeBasedConfigurations(const DtLineSegmentInterface::DtLineSegmentAltitudeBasedConfigurationCollection &configs)
Unimplemented.
Definition: DtTexturedLineSegment.h:113
An interface for a textured single line segment.
Definition: DtTexturedLineSegmentInterface.h:18
A single 2D quadrilateral.
Definition: DtQuadProxyInterface.h:21
bool myTrimEndPattern
Definition: DtTexturedLineSegment.h:195
std::vector< DtLineSegmentAltitudeBasedConfiguration > DtLineSegmentAltitudeBasedConfigurationCollection
A collection of altitude-based configurations.
Definition: DtLineSegmentInterface.h:76
DtQuadProxyInterface * myVertex
Definition: DtTexturedLineSegment.h:188
virtual void clearAltitudeBasedConfigurations()
Clear the altitude-based configurations for this line segment. The line segment will no longer have a...
Definition: DtTexturedLineSegment.h:123
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80
float myTextureWidth
Definition: DtTexturedLineSegment.h:192