21 class DtChannelManager;
23 class DtChannelConfiguration;
24 class DtModelDefinition;
25 class DtCoordinateSystem;
41 virtual void setPosition(
int vtx,
const DtVector& position );
44 virtual void removePosition(
int vtx );
47 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation );
58 virtual void setPosition(
const DtVector& position);
59 virtual DtVector position()
const;
63 virtual void setColor(
float r,
float g,
float b,
float a );
66 virtual void setWidth(
float width );
69 virtual void setStipplePattern(
unsigned int pattern,
int repeatFactor );
73 virtual void setStyleSegments(
const std::vector<double>& segmentPercentages);
76 virtual void setSegmentColor(
unsigned int segmentIndex,
77 float r,
float g,
float b,
float a);
80 virtual void setSegmentLightningStyle(
unsigned int segmentIndex,
81 bool enableLightningStyle);
84 virtual void setSegmentStartArrow(
unsigned int segmentIndex,
88 virtual const std::vector<DtVector>& points()
const;
92 virtual void setGroup(
int );
95 virtual void setSegmentEndArrow(
unsigned int segmentIndex,
100 virtual void setSegmentStipplePattern(
unsigned int segmentIndex,
101 unsigned int stipplePattern,
int repeatFactor);
104 virtual void setSegmentWidth(
unsigned int segmentIndex,
108 virtual void setArrowSize(
double);
111 virtual void setLineStyle(
int);
114 virtual void setArrowStyle(
int);
118 virtual void setSegmentStartColor(
unsigned int segmentIndex,
float r,
119 float g,
float b,
float a );
123 virtual void setSegmentEndColor(
unsigned int segmentIndex,
float r,
124 float g,
float b,
float a );
127 virtual void setEventsEnabled(
bool );
130 virtual void setEventWidth(
float width);
139 virtual void removeFromScene();
142 virtual void setModelDefinition(
const std::string& str );
145 virtual void setVisible(
bool isVisible );
148 virtual void setIsSupportModel(
bool isSupport);
153 virtual void update();
156 virtual void needsUpdate();
160 virtual void setFixedWidthSizing(
bool);
166 virtual void setIsMeasurementTextRenderingEnabled(
bool isMeasurementTextRenderingEnabled);
167 virtual bool isMeasurementTextRenderingEnabled()
const;
174 virtual void setIsScreenIntervaledTextRenderingEnabled(
bool);
177 virtual void setScreenIntervaledTextPrefix(
const std::string& prefixString);
180 virtual void setScreenIntervaledTextPostfix(
const std::string& postfixString);
192 virtual void setScreenIntervaledTextInterval(
int intervalInScreenSpaceCM);
195 virtual void setScreenIntervaledTextFont(
const std::string& fontFile,
float fontPointSize);
198 virtual void setScreenIntervaledTextColor(
float r,
float g,
float b,
float a);
201 virtual void setScreenIntervaledTextBackgroundColor(
float r,
float g,
float b,
float a);
208 virtual void moveInstancesFromChannelSpecific();
213 virtual void moveInstancesToChannelSpecific();
217 virtual void slot_channelCreated(
DtChannel* channel);
224 virtual void slot_channelConfigurationModified(
const std::string& deName,
225 const std::string& winName,
const std::string& oldChannelName,
229 virtual void slot_displayUnitUnitChanged(
const DtUnicode& displayUnitCollectionName,
230 const DtUnicode& displayUnitName,
unsigned int newUnit,
unsigned int oldUnit);
233 virtual void slot_displayUnitDecimalsChanged(
const DtUnicode& displayUnitCollectionName,
234 const DtUnicode& displayUnitName,
unsigned int newDecimals,
unsigned int oldDecimals);
236 virtual void slot_suppressMagneticNorthNotationEnabledChanged(
bool isEnabled);
241 virtual void initializeSettings();
272 float myScreenIntervaledTextFontColor[4];
273 float myScreenIntervaledTextBackgroundColor[4];
std::map< DtChannel *, ChannelInstance > ChannelInstances
Definition: DtOsgOverlaySegmentedLineModel.h:276
bool myFixedWidthSizing
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:296
bool myEventsEnabled
Definition: DtOsgOverlaySegmentedLineModel.h:251
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
The model interface for remote graphics segmented lines.
Definition: DtOverlaySegmentedLineModel.h:19
vrvSignalsLib::connection myPostUpdateConnection
Definition: DtOsgOverlaySegmentedLineModel.h:305
float myWidth
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:295
DtUniqueID mySceneObjectId
Definition: DtOsgOverlaySegmentedLineModel.h:250
std::string myModelDefinition
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:291
std::string myScreenIntervaledTextPostfixString
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:267
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Model instance to draw a 3D line with styleable segments onto the 2D overlay.
Definition: DtOverlaySegmentedLineModelInstance.h:37
Contains makVrv::DtOverlayScreenIntervaledTextInstance class declaration.
DtSharedDisplayUnitsSettings::NorthUnits myNorthToUse
Definition: DtOsgOverlaySegmentedLineModel.h:280
int myScreenIntervaledTextIntervalInScreenSpaceCM
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:264
std::vector< DtVector > myPoints
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:286
NorthUnits
Enumeration of the different north units.
Definition: DtDisplayUnitsSettingsRecord.h:151
int myRepeatFactor
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:294
Contains declaration of DtOverlaySegmentedLineModel.
std::string myScreenIntervaledTextPrefixString
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:266
LineStyle
Default line Styles.
Definition: DtTacticalGraphicUtilities.h:28
bool myChannelSpecificMode
Set to true if displaying model instances on a per channel basis. Default is false.
Definition: DtOsgOverlaySegmentedLineModel.h:257
std::string myScreenIntervaledTextFontFile
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:269
Class to draw a screen spaced perimeter text on polygons, lines, or other geometry.
Definition: DtOverlayScreenIntervaledTextInstance.h:32
Definition: DtOsgOverlaySegmentedLineModel.h:244
The abstract Channel Class.
Definition: DtChannel.h:35
float myScreenIntervaledTextFontPointSize
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:270
Contains makVrv::DtOverlaySegmentedLineModelInstance class.
vrvSignalsLib::connection myChannelToBeDestroyedConnection
Definition: DtOsgOverlaySegmentedLineModel.h:303
DtSignalConnectionManager myDisplayUnitConnections
Definition: DtOsgOverlaySegmentedLineModel.h:279
unsigned int myStipplePattern
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:293
double myArrowSize
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:287
ArrowStyle
Definition: DtTacticalGraphicUtilities.h:46
DtVector myPosition
Definition: DtOsgOverlaySegmentedLineModel.h:281
float myEventWidth
Definition: DtOsgOverlaySegmentedLineModel.h:252
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
vrvSignalsLib::connection myChannelCreatedConnection
Definition: DtOsgOverlaySegmentedLineModel.h:302
DtOsgOverlayLineModel extends the DtLineModel interface to include operations only appropriate for 2D...
Definition: DtOsgOverlaySegmentedLineModel.h:31
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
vrvSignalsLib::connection myModelInstanceChangedConnection
Definition: DtOsgOverlaySegmentedLineModel.h:301
ChannelInstances myChannelInstances
Definition: DtOsgOverlaySegmentedLineModel.h:277
std::vector< DtUnicode > DtScreenIntervaledTextCollection
Definition: DtOverlayScreenIntervaledTextInstance.h:35
vrvTacticalGraphicUtilities::LineStyle myLineStyle
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:289
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
bool myIsScreenIntervaledTextRenderingEnabled
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:262
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
std::vector< SegmentAttributes > SegmentAttributesVector
Vector of segment information.
Definition: DtOverlaySegmentedLineModelInstance.h:58
vrvTacticalGraphicUtilities::ArrowStyle myArrowStyle
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:288
DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection myScreenIntervaledTextCollection
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOsgOverlaySegmentedLineModel.h:263
bool myIsMeasurementTextRenderingEnabled
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:298
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
bool myNeedsUpdate
Definition: DtOsgOverlaySegmentedLineModel.h:253
DtModelSetId
Definition: DtModelSetEnums.h:19
DtOverlaySegmentedLineModelInstance::SegmentAttributesVector mySegmentInformation
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:290
vrvSignalsLib::connection myChannelConfigurationModifiedConnection
Definition: DtOsgOverlaySegmentedLineModel.h:304
int myGroup
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOsgOverlaySegmentedLineModel.h:297