19 #include <osg/ref_ptr>
30 class DtChannelConfiguration;
31 class DtChannelManager;
33 class DtOverlayRenderer;
35 class DtWindowConfiguration;
51 virtual void setVisible(
bool isVisible);
54 virtual bool visible();
57 virtual void setChannelName(
const std::string& deName,
58 const std::string& winName,
const std::string& channelName );
62 virtual void setModelDefinition(
const std::string& modelDefinition );
66 virtual void updateCompass(
bool force);
68 void updateLetter(
bool &dirtyFlag,
const std::string&
filename,
69 int tickIndex,
DtQuad* letterQuad,
73 virtual void setNorthLetterFilename(
const std::string& filename );
76 virtual void setSouthLetterFilename(
const std::string& filename );
79 virtual void setEastLetterFilename(
const std::string& filename );
82 virtual void setWestLetterFilename(
const std::string& filename );
85 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
88 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
92 virtual void setPixelRatio(
float pixelRatio);
100 virtual void slot_channelConfigurationModified(
const std::string& deName,
101 const std::string& winName,
const std::string& oldChannelName,
104 virtual void slot_windowConfigurationModified(
const std::string& deName,
108 void createCompass();
111 void destroyCompass();
115 osg::Vec2 calcCenterPosition();
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
osg::ref_ptr< osg::Texture > myWestTexture
Definition: DtOsgChannelCompassInstance.h:153
Definition: DtOsgChannelCompassInstance.h:138
osg::ref_ptr< osg::Texture > mySouthTexture
Definition: DtOsgChannelCompassInstance.h:151
osg::ref_ptr< osg::Texture > myNorthTexture
Definition: DtOsgChannelCompassInstance.h:150
DtOsgChannel * myChannel
Definition: DtOsgChannelCompassInstance.h:148
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool mySouthLetterDirty
Definition: DtOsgChannelCompassInstance.h:163
float myPixelRatio
Definition: DtOsgChannelCompassInstance.h:173
Interface for a DtChannelCompassInstance An object that draws a 2D compass.
Definition: DtChannelCompassInstance.h:24
DtDe & myDe
Definition: DtOsgChannelCompassInstance.h:144
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:31
Contains makVrv::DtChannelCompassInstance class.
bool myWestLetterDirty
Definition: DtOsgChannelCompassInstance.h:165
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:75
osg::ref_ptr< osg::Texture > myEastTexture
Definition: DtOsgChannelCompassInstance.h:152
The abstract Channel Class.
Definition: DtChannel.h:29
DtLineSegment * darkSide
Definition: DtOsgChannelCompassInstance.h:141
A class which represents a single line segment.
Definition: DtLineSegment.h:21
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
DtQuad * mySouthLetter
Definition: DtOsgChannelCompassInstance.h:156
vrvGraphics-based implementation of a 2D compass
Definition: DtOsgChannelCompassInstance.h:41
Base class for handling DtChannels.
Definition: DtChannelManager.h:35
std::vector< float > VertexList
Definition: DtOsgChannelCompassInstance.h:123
A single 2D quadrilateral.
Definition: DtQuad.h:24
Base class to provide boost signal/slot management.
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannelCompassInstance.h:146
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:140
Contains DLL export macros.
bool myEastLetterDirty
Definition: DtOsgChannelCompassInstance.h:164
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtQuad * myEastLetter
Definition: DtOsgChannelCompassInstance.h:157
bool myNorthLetterDirty
Definition: DtOsgChannelCompassInstance.h:162
DtQuad * myWestLetter
Definition: DtOsgChannelCompassInstance.h:158
DtQuad * myNorthLetter
Definition: DtOsgChannelCompassInstance.h:155
DtSignalConnectionManager myConnections
Definition: DtOsgChannelCompassInstance.h:145
osg::Vec2 myCenterPosition
Definition: DtOsgChannelCompassInstance.h:159
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23