16 #include <osg/ref_ptr>
27 class DtChannelConfiguration;
28 class DtChannelManager;
30 class DtOverlayRenderer;
32 class DtWindowConfiguration;
58 virtual void setVisible(
bool isVisible);
61 virtual bool visible();
64 virtual void setChannelName(
const std::string& deName,
65 const std::string& winName,
const std::string& channelName );
69 virtual void setModelDefinition(
const std::string& modelDefinition );
73 virtual void updateCompass(
bool force);
75 void updateLetter(
bool &dirtyFlag,
const std::string&
filename,
76 int tickIndex,
DtQuad* letterQuad,
80 virtual void setNorthLetterFilename(
const std::string& filename );
83 virtual void setSouthLetterFilename(
const std::string& filename );
86 virtual void setEastLetterFilename(
const std::string& filename );
89 virtual void setWestLetterFilename(
const std::string& filename );
92 virtual void setStarFilename(
const std::string& filename);
95 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
98 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
102 virtual void setPixelRatio(
float pixelRatio);
110 virtual void slot_channelConfigurationModified(
const std::string& deName,
111 const std::string& winName,
const std::string& oldChannelName,
114 virtual void slot_windowConfigurationModified(
const std::string& deName,
118 void createCompass();
121 void destroyCompass();
125 osg::Vec2 calcCenterPosition();
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
osg::ref_ptr< osg::Texture > myWestTexture
Definition: DtOsgChannelCompassInstance.h:170
Definition: DtOsgChannelCompassInstance.h:148
osg::ref_ptr< osg::Texture > mySouthTexture
Definition: DtOsgChannelCompassInstance.h:168
osg::ref_ptr< osg::Texture > myNorthTexture
Definition: DtOsgChannelCompassInstance.h:167
DtOsgChannel * myChannel
Definition: DtOsgChannelCompassInstance.h:165
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool mySouthLetterDirty
Definition: DtOsgChannelCompassInstance.h:182
TickMark myMagneticNorthMark
Definition: DtOsgChannelCompassInstance.h:196
TickMark myTrueNorthMark
Definition: DtOsgChannelCompassInstance.h:195
float myPixelRatio
Definition: DtOsgChannelCompassInstance.h:193
Interface for a DtChannelCompassInstance An object that draws a 2D compass.
Definition: DtChannelCompassInstance.h:21
TickMark()
Definition: DtOsgChannelCompassInstance.h:150
DtDe & myDe
Definition: DtOsgChannelCompassInstance.h:161
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
Contains makVrv::DtChannelCompassInstance class.
bool myWestLetterDirty
Definition: DtOsgChannelCompassInstance.h:184
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:77
osg::ref_ptr< osg::Texture > myEastTexture
Definition: DtOsgChannelCompassInstance.h:169
osg::ref_ptr< osg::Texture > myStarTexture
Definition: DtOsgChannelCompassInstance.h:171
The abstract Channel Class.
Definition: DtChannel.h:30
DtLineSegment * darkSide
Definition: DtOsgChannelCompassInstance.h:158
A class which represents a single line segment.
Definition: DtLineSegment.h:21
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtQuad * mySouthLetter
Definition: DtOsgChannelCompassInstance.h:174
bool myStarDirty
Definition: DtOsgChannelCompassInstance.h:185
vrvGraphics-based implementation of a 2D compass
Definition: DtOsgChannelCompassInstance.h:38
Base class for handling DtChannels.
Definition: DtChannelManager.h:32
std::vector< float > VertexList
Definition: DtOsgChannelCompassInstance.h:133
A single 2D quadrilateral.
Definition: DtQuad.h:24
TickMark myDaggerMark
Definition: DtOsgChannelCompassInstance.h:197
Base class to provide boost signal/slot management.
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannelCompassInstance.h:163
DtQuad * myStarQuad
Definition: DtOsgChannelCompassInstance.h:177
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
DtLineSegment * lightSide
Definition: DtOsgChannelCompassInstance.h:157
Contains DLL export macros.
bool myEastLetterDirty
Definition: DtOsgChannelCompassInstance.h:183
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtQuad * myEastLetter
Definition: DtOsgChannelCompassInstance.h:175
bool myNorthLetterDirty
Definition: DtOsgChannelCompassInstance.h:181
DtQuad * myWestLetter
Definition: DtOsgChannelCompassInstance.h:176
DtQuad * myNorthLetter
Definition: DtOsgChannelCompassInstance.h:173
DtSignalConnectionManager myConnections
Definition: DtOsgChannelCompassInstance.h:162
osg::Vec2 myCenterPosition
Definition: DtOsgChannelCompassInstance.h:178
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23