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);
85 virtual void set2DPositions(
float x1,
float y1,
float x2,
float y2)
override;
88 virtual void setColor(
unsigned int index0or1,
float r,
float g,
float b,
float a)
override;
91 virtual void getColor(
unsigned int index0or1,
float& r,
float& g,
float& b,
float& a)
const override;
94 virtual void setColors(
float r1,
float g1,
float b1,
float a1,
95 float r2,
float g2,
float b2,
float a2)
override;
98 virtual void setRotationOffset(
float);
147 virtual void set3DDirection(
unsigned int index0or1,
float x,
float y,
float z)
override
151 virtual void get3DDirection(
unsigned int index0or1,
float& x,
float& y,
float& z)
const override
163 virtual void setStippleParameters(
unsigned int scale,
unsigned short pattern)
override;
167 virtual void getStippleParameters(
unsigned int& scale,
unsigned short& pattern)
const override;
171 virtual void resetTextureCoordinates();
180 float myVertices[2][4];
181 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:131
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:159
float myRotationOffset
Definition: DtTexturedLineSegment.h:185
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:137
virtual void setIsUseForcedAltitudeEnabled(bool enabled)
Set whether or not a particular altitude-based configuration is used, regardless of altitude...
Definition: DtTexturedLineSegment.h:124
DtTextureInterface * myTexture
Definition: DtTexturedLineSegment.h:182
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:24
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:147
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:142
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:151
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:155
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myZoomFactor
Definition: DtTexturedLineSegment.h:184
virtual void setAltitudeBasedConfigurations(const DtLineSegmentInterface::DtLineSegmentAltitudeBasedConfigurationCollection &configs)
Unimplemented.
Definition: DtTexturedLineSegment.h:104
An interface for a textured single line segment.
Definition: DtTexturedLineSegmentInterface.h:18
A single 2D quadrilateral.
Definition: DtQuadProxyInterface.h:21
std::vector< DtLineSegmentAltitudeBasedConfiguration > DtLineSegmentAltitudeBasedConfigurationCollection
A collection of altitude-based configurations.
Definition: DtLineSegmentInterface.h:76
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
DtQuadProxyInterface * myVertex
Definition: DtTexturedLineSegment.h:179
virtual void clearAltitudeBasedConfigurations()
Clear the altitude-based configurations for this line segment. The line segment will no longer have a...
Definition: DtTexturedLineSegment.h:114
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80
float myTextureWidth
Definition: DtTexturedLineSegment.h:183