16 #include <osg/ref_ptr>
22 class DtChannelConfiguration;
23 class DtChannelManager;
25 class DtOverlayRendererInterface;
26 class DtQuadProxyInterface;
27 class DtWindowConfiguration;
29 class DtCoordinateSystem;
30 class DtOsgTextureWrapper;
55 virtual void setVisible(
bool isVisible);
58 virtual bool visible();
61 virtual void setChannelName(
const std::string& deName,
62 const std::string& winName,
const std::string& channelName );
66 virtual void setModelDefinition(
const std::string& modelDefinition );
70 virtual void updateCompass(
bool force);
72 void updateLetter(
bool &dirtyFlag,
const std::string&
filename,
77 virtual void setNorthLetterFilename(
const std::string& filename );
80 virtual void setSouthLetterFilename(
const std::string& filename );
83 virtual void setEastLetterFilename(
const std::string& filename );
86 virtual void setWestLetterFilename(
const std::string& filename );
89 virtual void setStarFilename(
const std::string& filename);
92 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
95 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
99 virtual void setPixelRatio(
float pixelRatio);
107 virtual void slot_channelConfigurationModified(
const std::string& deName,
108 const std::string& winName,
const std::string& oldChannelName,
111 virtual void slot_windowConfigurationModified(
const std::string& deName,
115 virtual void slot_coordinateSystemChanged();
118 void createCompass();
121 void destroyCompass();
125 osg::Vec2 calcCenterPosition();
Definition: DtOsgChannelCompassInstance.h:148
DtOsgChannel * myChannel
Definition: DtOsgChannelCompassInstance.h:164
DtQuadProxyInterface * myEastLetter
Definition: DtOsgChannelCompassInstance.h:174
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtQuadProxyInterface * myStarQuad
Definition: DtOsgChannelCompassInstance.h:176
DtQuadProxyInterface * myNorthLetter
Definition: DtOsgChannelCompassInstance.h:172
bool mySouthLetterDirty
Definition: DtOsgChannelCompassInstance.h:181
TickMark myMagneticNorthMark
Definition: DtOsgChannelCompassInstance.h:195
TickMark myTrueNorthMark
Definition: DtOsgChannelCompassInstance.h:194
DtOsgTextureWrapper * myWestTexture
Definition: DtOsgChannelCompassInstance.h:169
float myPixelRatio
Definition: DtOsgChannelCompassInstance.h:192
Interface for a DtChannelCompassInstance An object that draws a 2D compass.
Definition: DtChannelCompassInstance.h:21
TickMark()
Definition: DtOsgChannelCompassInstance.h:150
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
Contains makVrv::DtChannelCompassInstance class.
bool myWestLetterDirty
Definition: DtOsgChannelCompassInstance.h:183
DtOsgTextureWrapper * mySouthTexture
Definition: DtOsgChannelCompassInstance.h:167
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:55
The abstract Channel Class.
Definition: DtChannel.h:35
DtLineSegment * darkSide
Definition: DtOsgChannelCompassInstance.h:158
A class which represents a single line segment.
Definition: DtLineSegment.h:23
A single 2D quadrilateral.
Definition: DtQuadProxyInterface.h:21
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myStarDirty
Definition: DtOsgChannelCompassInstance.h:184
vrvGraphics-based implementation of a 2D compass
Definition: DtOsgChannelCompassInstance.h:35
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtOsgTextureWrapper.h:24
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
DtOsgTextureWrapper * myEastTexture
Definition: DtOsgChannelCompassInstance.h:168
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:133
DtQuadProxyInterface * myWestLetter
Definition: DtOsgChannelCompassInstance.h:175
TickMark myDaggerMark
Definition: DtOsgChannelCompassInstance.h:196
Base class to provide boost signal/slot management.
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannelCompassInstance.h:162
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
DtLineSegment * lightSide
Definition: DtOsgChannelCompassInstance.h:157
Contains DLL export macros.
bool myEastLetterDirty
Definition: DtOsgChannelCompassInstance.h:182
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:72
DtQuadProxyInterface * mySouthLetter
Definition: DtOsgChannelCompassInstance.h:173
bool myNorthLetterDirty
Definition: DtOsgChannelCompassInstance.h:180
DtOsgTextureWrapper * myNorthTexture
Definition: DtOsgChannelCompassInstance.h:166
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80
DtOsgTextureWrapper * myStarTexture
Definition: DtOsgChannelCompassInstance.h:170
DtSignalConnectionManager myConnections
Definition: DtOsgChannelCompassInstance.h:161
osg::Vec2 myCenterPosition
Definition: DtOsgChannelCompassInstance.h:177