20 class DtSegmentedLineInterface;
21 class DtTextProxyInterface;
22 class DtCoordinateSystem;
30 const std::vector< DtSegmentedLineInterface* >& segmentInterfaces,
31 const std::vector< DtTextProxyInterface* >& labelInterfaces,
32 std::vector<std::pair<int, int>>& erasedSegments,
33 const std::vector<DtVector>& controlPoints,
34 const DtTaitBryan& orientation,
36 const std::vector<std::string>& additionalLabels,
37 double viewResolution,
38 double labelGapPadding );
83 virtual void createGeometryIfNecessary()
override;
86 virtual void clearGeometry()
override;
89 virtual void updateVertices()
override;
92 virtual void updateColors()
override;
94 virtual void updateStipplePattern()
override;
95 virtual void updateLineWidth()
override;
96 virtual void updateEventsEnabled()
override;
99 virtual void updateGroup()
override;
103 virtual void updateLabels()
override;
122 virtual void initializeViewResolution();
Model for Linear.
Definition: DtOverlayLinearModel.h:58
std::vector< DtTextProxyInterface * > myLabels
Definition: DtOverlayLinearModel.h:126
std::vector< std::pair< int, int > > myErasedSegments
Segments suppressed by geometry creators; re-applied after every recolor.
Definition: DtOverlayLinearModel.h:129
double myLabelGapPadding
Total gap padding around label text as a fraction of the label height.
Definition: DtOverlayLinearModel.h:53
const DtTaitBryan & myOrientation
Definition: DtOverlayLinearModel.h:47
Contains makVrv:DtTacticalGraphicModelUpdaterManager.
const std::vector< std::string > & myAdditionalLabels
Definition: DtOverlayLinearModel.h:49
const std::vector< DtSegmentedLineInterface * > & mySegmentInterfaces
Definition: DtOverlayLinearModel.h:41
const DtCoordinateSystem & myCoordinateSystem
Definition: DtOverlayLinearModel.h:48
Base Overlay Model.
Definition: DtOverlayModel.h:36
const std::string & myModelDefinition
Definition: DtOverlayLinearModel.h:40
An interface for a convex polygon drawn using lines.
Definition: DtSegmentedLineInterface.h:25
DtLinearModelData()=delete
Structure used to supply data to callback. Provided as structure as contents could change over time...
Definition: DtTacticalGraphicModelUpdaterManager.h:37
A class with encapsulated a font loaded from disk with a given size.
Definition: DtFontInterface.h:22
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
const std::vector< DtVector > & myControlPoints
Definition: DtOverlayLinearModel.h:46
double myViewResolution
World meters per screen pixel from the last channel update; 0 = not yet received. ...
Definition: DtOverlayLinearModel.h:132
std::vector< std::pair< int, int > > & myErasedSegments
Output list filled by geometry creators; each pair is (segment-interface index, segment index) to dra...
Definition: DtOverlayLinearModel.h:45
std::vector< DtSegmentedLineInterface * > mySegments
Definition: DtOverlayLinearModel.h:125
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
float myAppliedFontPointSize
Last quantized point size pushed to labels; 0 = base font in use.
Definition: DtOverlayLinearModel.h:134
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
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:76
Struct for storing and moving around data to generate vertices, e.g. see DtOverlayGeometryBlock.h.
Definition: DtOverlayLinearModel.h:26
const std::vector< DtTextProxyInterface * > & myLabelInterfaces
Definition: DtOverlayLinearModel.h:42
DtFontInterface * myScaledFont
Cached scaled font pointer (non-owning); set when myAppliedFontPointSize > 0.
Definition: DtOverlayLinearModel.h:136
double myViewResolution
World meters per screen pixel for the channel displaying this model set; 0 or negative = unknown...
Definition: DtOverlayLinearModel.h:51