16 #include <osg/ref_ptr>
27 class DtChannelConfiguration;
28 class DtChannelManager;
30 class DtOverlayRenderer;
32 class DtWindowConfiguration;
34 class DtCoordinateSystem;
59 virtual void setVisible(
bool isVisible);
62 virtual bool visible();
65 virtual void setChannelName(
const std::string& deName,
66 const std::string& winName,
const std::string& channelName );
70 virtual void setModelDefinition(
const std::string& modelDefinition );
74 virtual void updateCompass(
bool force);
76 void updateLetter(
bool &dirtyFlag,
const std::string&
filename,
77 int tickIndex,
DtQuad* letterQuad,
81 virtual void setNorthLetterFilename(
const std::string& filename );
84 virtual void setSouthLetterFilename(
const std::string& filename );
87 virtual void setEastLetterFilename(
const std::string& filename );
90 virtual void setWestLetterFilename(
const std::string& filename );
93 virtual void setStarFilename(
const std::string& filename);
96 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
99 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
103 virtual void setPixelRatio(
float pixelRatio);
111 virtual void slot_channelConfigurationModified(
const std::string& deName,
112 const std::string& winName,
const std::string& oldChannelName,
115 virtual void slot_windowConfigurationModified(
const std::string& deName,
119 virtual void slot_coordinateSystemChanged();
122 void createCompass();
125 void destroyCompass();
129 osg::Vec2 calcCenterPosition();
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
osg::ref_ptr< osg::Texture > myWestTexture
Definition: DtOsgChannelCompassInstance.h:173
Definition: DtOsgChannelCompassInstance.h:152
osg::ref_ptr< osg::Texture > mySouthTexture
Definition: DtOsgChannelCompassInstance.h:171
osg::ref_ptr< osg::Texture > myNorthTexture
Definition: DtOsgChannelCompassInstance.h:170
DtOsgChannel * myChannel
Definition: DtOsgChannelCompassInstance.h:168
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool mySouthLetterDirty
Definition: DtOsgChannelCompassInstance.h:185
TickMark myMagneticNorthMark
Definition: DtOsgChannelCompassInstance.h:199
TickMark myTrueNorthMark
Definition: DtOsgChannelCompassInstance.h:198
float myPixelRatio
Definition: DtOsgChannelCompassInstance.h:196
Interface for a DtChannelCompassInstance An object that draws a 2D compass.
Definition: DtChannelCompassInstance.h:21
TickMark()
Definition: DtOsgChannelCompassInstance.h:154
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
Contains makVrv::DtChannelCompassInstance class.
bool myWestLetterDirty
Definition: DtOsgChannelCompassInstance.h:187
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:52
osg::ref_ptr< osg::Texture > myEastTexture
Definition: DtOsgChannelCompassInstance.h:172
osg::ref_ptr< osg::Texture > myStarTexture
Definition: DtOsgChannelCompassInstance.h:174
The abstract Channel Class.
Definition: DtChannel.h:35
DtLineSegment * darkSide
Definition: DtOsgChannelCompassInstance.h:162
A class which represents a single line segment.
Definition: DtLineSegment.h:22
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtQuad * mySouthLetter
Definition: DtOsgChannelCompassInstance.h:177
bool myStarDirty
Definition: DtOsgChannelCompassInstance.h:188
vrvGraphics-based implementation of a 2D compass
Definition: DtOsgChannelCompassInstance.h:39
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
std::vector< float > VertexList
Definition: DtOsgChannelCompassInstance.h:137
A single 2D quadrilateral. None of this class's member functions are virtual because: ...
Definition: DtQuad.h:28
TickMark myDaggerMark
Definition: DtOsgChannelCompassInstance.h:200
Base class to provide boost signal/slot management.
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannelCompassInstance.h:166
DtQuad * myStarQuad
Definition: DtOsgChannelCompassInstance.h:180
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:161
Contains DLL export macros.
bool myEastLetterDirty
Definition: DtOsgChannelCompassInstance.h:186
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:70
DtQuad * myEastLetter
Definition: DtOsgChannelCompassInstance.h:178
bool myNorthLetterDirty
Definition: DtOsgChannelCompassInstance.h:184
DtQuad * myWestLetter
Definition: DtOsgChannelCompassInstance.h:179
DtQuad * myNorthLetter
Definition: DtOsgChannelCompassInstance.h:176
DtSignalConnectionManager myConnections
Definition: DtOsgChannelCompassInstance.h:165
osg::Vec2 myCenterPosition
Definition: DtOsgChannelCompassInstance.h:181
The DtOverlayRenderer implements the overlay concept. An overlay is a 2D scene that is drawn on top o...
Definition: DtOverlayRenderer.h:41