17 #include <osg/ref_ptr>
28 class DtChannelConfiguration;
29 class DtChannelManager;
30 class DtModelDefinition;
32 class DtOverlayRenderer;
34 class DtWindowConfiguration;
66 virtual void setVisible(
bool isVisible);
69 virtual bool visible();
72 virtual void setChannelName(
const std::string& deName,
73 const std::string& winName,
const std::string& channelName );
77 virtual void setModelDefinition(
const std::string& modelDefinition );
81 virtual void updateCompass(
bool force);
84 virtual void setDarkTickColor(
float r,
float g,
float b,
float a );
87 virtual void setLightTickColor(
float r,
float g,
float b,
float a );
90 virtual void setSymbolsFilename(
const std::string&
filename);
94 virtual void setPixelRatio(
float pixelRatio);
107 for (
int i = 0; i < 3; ++i)
109 characterValue[i] = 0;
115 unsigned char characterValue[3];
125 virtual void slot_channelConfigurationModified(
const std::string& deName,
126 const std::string& winName,
const std::string& oldChannelName,
129 virtual void slot_windowConfigurationModified(
const std::string& deName,
132 virtual void slot_update();
136 bool updateCompassCharacter(
const std::string& filename,
138 const osg::Vec4& texCoords);
144 virtual void createCompass();
147 void destroyCompass();
151 osg::Vec2 calcCompassCenterPosition();
157 virtual void updateCompass();
160 virtual void computeCharacterCoords(
const unsigned char value, osg::Vec4& coords);
163 virtual void initCompassSymbolCharacterDisplay(
CompassSymbol& symbol,
164 unsigned char charA,
unsigned char charB,
unsigned char charC,
DtOverlayRenderer& overlay);
167 virtual void initPopoutSymbolCharacterDisplay(
CompassSymbol& symbol,
168 unsigned char charA,
unsigned char charB,
unsigned char charC,
DtOverlayRenderer& overlay);
172 virtual bool initCompassSymbolCharacters(
CompassSymbol& symbol);
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
DtSignalConnectionManager myConnections
Definition: DtOsgChannel3dViewCompassInstance.h:205
vrvGraphics-based implementation of a model-like object that draws a 3d view first person shooter sty...
Definition: DtOsgChannel3dViewCompassInstance.h:46
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtOsgChannel3dViewCompassInstance.h:100
Interface for a DtChannel3dViewCompassInstance A model-like object that draws a 3d view first person ...
Definition: DtChannel3dViewCompassInstance.h:27
osg::Vec2 myCompassCenterPosition
Definition: DtOsgChannel3dViewCompassInstance.h:217
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
bool myCompassDirty
Definition: DtOsgChannel3dViewCompassInstance.h:222
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:77
CompassSymbol()
Definition: DtOsgChannel3dViewCompassInstance.h:102
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
std::vector< float > VertexList
Definition: DtOsgChannel3dViewCompassInstance.h:175
int myCreateState
Definition: DtOsgChannel3dViewCompassInstance.h:212
DtSignalConnectionManager myPixelRatioConnection
Definition: DtOsgChannel3dViewCompassInstance.h:206
int numCharacters
Definition: DtOsgChannel3dViewCompassInstance.h:114
Definition: DtOsgChannel3dViewCompassInstance.h:191
The abstract Channel Class.
Definition: DtChannel.h:30
DtDe & myDe
Definition: DtOsgChannel3dViewCompassInstance.h:204
TickMark myPopoutL
Definition: DtOsgChannel3dViewCompassInstance.h:220
TickMark()
Definition: DtOsgChannel3dViewCompassInstance.h:193
A class which represents a single line segment.
Definition: DtLineSegment.h:21
CompassSymbol myPopoutSymbol
Definition: DtOsgChannel3dViewCompassInstance.h:219
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
TickMark myPopoutR
Definition: DtOsgChannel3dViewCompassInstance.h:221
float myPixelRatio
Definition: DtOsgChannel3dViewCompassInstance.h:214
Base class for handling DtChannels.
Definition: DtChannelManager.h:32
A single 2D quadrilateral.
Definition: DtQuad.h:24
Base class to provide boost signal/slot management.
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
Contains makVrv::DtChannel3dViewCompassInstance class.
Contains DLL export macros.
DtOsgChannel * myChannel
Definition: DtOsgChannel3dViewCompassInstance.h:208
bool myCompassIsMagnetic
Definition: DtOsgChannel3dViewCompassInstance.h:210
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtLineSegment * darkSide
Definition: DtOsgChannel3dViewCompassInstance.h:201
DtLineSegment * darkSide
Definition: DtOsgChannel3dViewCompassInstance.h:118
DtLineSegment * lightSide
Definition: DtOsgChannel3dViewCompassInstance.h:117
osg::ref_ptr< osg::Texture > myCompassSymbolsTexture
Definition: DtOsgChannel3dViewCompassInstance.h:216
DtLineSegment * lightSide
Definition: DtOsgChannel3dViewCompassInstance.h:200
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23