16 #include <osg/ref_ptr>
23 class DtChannelConfiguration;
24 class DtChannelManager;
26 class DtOverlayRendererInterface;
27 class DtQuadProxyInterface;
28 class DtWindowConfiguration;
30 class DtCoordinateSystem;
31 class DtOsgTextureWrapper;
56 virtual void setVisible(
bool isVisible);
59 virtual bool visible();
62 virtual void setChannelName(
const std::string& deName,
63 const std::string& winName,
const std::string& channelName );
67 virtual void setModelDefinition(
const std::string& modelDefinition );
71 virtual void updateCompass(
bool force);
73 void updateLetter(
bool &dirtyFlag,
const std::string&
filename,
78 virtual void setNorthLetterFilename(
const std::string& filename );
81 virtual void setSouthLetterFilename(
const std::string& filename );
84 virtual void setEastLetterFilename(
const std::string& filename );
87 virtual void setWestLetterFilename(
const std::string& filename );
90 virtual void setStarFilename(
const std::string& filename);
93 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
96 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
100 virtual void setPixelRatio(
float pixelRatio);
108 virtual void slot_channelConfigurationModified(
const std::string& deName,
109 const std::string& winName,
const std::string& oldChannelName,
112 virtual void slot_windowConfigurationModified(
const std::string& deName,
116 virtual void slot_coordinateSystemChanged();
119 void createCompass();
122 void destroyCompass();
125 virtual void createTextures(
DtDe& de);
128 virtual void destroyTextures();
132 osg::Vec2 calcCenterPosition();
Definition: DtOsgChannelCompassInstance.h:155
DtOsgChannel * myChannel
Definition: DtOsgChannelCompassInstance.h:171
std::unique_ptr< DtOsgTextureWrapper > mySouthTexture
Definition: DtOsgChannelCompassInstance.h:174
DtQuadProxyInterface * myEastLetter
Definition: DtOsgChannelCompassInstance.h:181
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::unique_ptr< DtOsgTextureWrapper > myEastTexture
Definition: DtOsgChannelCompassInstance.h:175
DtQuadProxyInterface * myStarQuad
Definition: DtOsgChannelCompassInstance.h:183
DtQuadProxyInterface * myNorthLetter
Definition: DtOsgChannelCompassInstance.h:179
bool mySouthLetterDirty
Definition: DtOsgChannelCompassInstance.h:188
TickMark myMagneticNorthMark
Definition: DtOsgChannelCompassInstance.h:202
TickMark myTrueNorthMark
Definition: DtOsgChannelCompassInstance.h:201
float myPixelRatio
Definition: DtOsgChannelCompassInstance.h:199
Interface for a DtChannelCompassInstance An object that draws a 2D compass.
Definition: DtChannelCompassInstance.h:21
TickMark()
Definition: DtOsgChannelCompassInstance.h:157
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
std::unique_ptr< DtOsgTextureWrapper > myStarTexture
Definition: DtOsgChannelCompassInstance.h:177
Contains makVrv::DtChannelCompassInstance class.
bool myWestLetterDirty
Definition: DtOsgChannelCompassInstance.h:190
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:58
The abstract Channel Class.
Definition: DtChannel.h:35
DtLineSegment * darkSide
Definition: DtOsgChannelCompassInstance.h:165
A class which represents a single line segment.
Definition: DtLineSegment.h:23
A single 2D quadrilateral.
Definition: DtQuadProxyInterface.h:21
std::unique_ptr< DtOsgTextureWrapper > myWestTexture
Definition: DtOsgChannelCompassInstance.h:176
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myStarDirty
Definition: DtOsgChannelCompassInstance.h:191
vrvGraphics-based implementation of a 2D compass
Definition: DtOsgChannelCompassInstance.h:36
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
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:140
DtQuadProxyInterface * myWestLetter
Definition: DtOsgChannelCompassInstance.h:182
TickMark myDaggerMark
Definition: DtOsgChannelCompassInstance.h:203
Base class to provide boost signal/slot management.
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannelCompassInstance.h:169
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:164
Contains DLL export macros.
bool myEastLetterDirty
Definition: DtOsgChannelCompassInstance.h:189
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
std::unique_ptr< DtOsgTextureWrapper > myNorthTexture
Definition: DtOsgChannelCompassInstance.h:173
DtQuadProxyInterface * mySouthLetter
Definition: DtOsgChannelCompassInstance.h:180
bool myNorthLetterDirty
Definition: DtOsgChannelCompassInstance.h:187
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80
DtSignalConnectionManager myConnections
Definition: DtOsgChannelCompassInstance.h:168
osg::Vec2 myCenterPosition
Definition: DtOsgChannelCompassInstance.h:184