![]() |
VR-Forces 5.0.3 Developer's Guide
|
Interface for a DtChannel3dViewCompassInstance A model-like object that draws a 3d view first person shooter style compass on a channel.
The fps style compass is a pseudo 3d view where directions rotate into a popout center. The compass is located at the top center of the display.

Public Member Functions | |
| DtChannel3dViewCompassInstance (DtDe &de) | |
| virtual | ~DtChannel3dViewCompassInstance () |
| DtChannel3dViewCompassInstance (const DtChannel3dViewCompassInstance &other)=delete | |
| DtChannel3dViewCompassInstance & | operator= (const DtChannel3dViewCompassInstance &other)=delete |
| virtual void | setChannelName (const std::string &deName, const std::string &winName, const std::string &channelName) |
| virtual void | setCompassHeading (double heading) |
| virtual void | setModelDefinition (const std::string &modelDefinition) |
| virtual void | setMargins (int xMargin, int yMargin) |
| virtual void | setDarkTickColor (float r, float g, float b, float a) |
| virtual void | setLightTickColor (float r, float g, float b, float a) |
| virtual void | setSymbolColor (float r, float g, float b, float a) |
| virtual void | setPopoutSymbolColor (float r, float g, float b, float a) |
| virtual void | setSymbolsFilename (const std::string &filename) |
| virtual void | setWidth (unsigned int width) |
| virtual void | setSymbolSize (unsigned int size) |
| virtual void | setPopoutSymbolSize (unsigned int size) |
| virtual void | updateCompass (bool force=false)=0 |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
| virtual void | setVisible (bool visible)=0 |
Protected Attributes | |
| std::string | myModelDefinitionName |
| std::string | myDisplayEngineName |
| std::string | myWindowName |
| std::string | myChannelName |
| int | myMargins [2] |
| double | myCompassHeading |
| double | myCompassDeclination |
| float | myDarkTickColor [4] |
| float | myLightTickColor [4] |
| unsigned int | myCompassWidth |
| unsigned int | myCompassSymbolSize |
| unsigned int | myCompassPopoutSymbolSize |
| std::string | myCompassSymbolsFilename |
| float | mySymbolColor [4] |
| float | myPopoutSymbolColor [4] |
| DtDe & | myDe |
| makVrv::DtChannel3dViewCompassInstance::DtChannel3dViewCompassInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Set the name of the channel that this compass should be drawn on.
Reimplemented in makVrv::DtOsgChannel3dViewCompassInstance.
|
virtual |
set the compass heading
|
virtual |
Set the model definition; note that this (potentially) includes all the other parameters enumeration below.
Reimplemented in makVrv::DtOsgChannel3dViewCompassInstance.
|
virtual |
Set the margins, in pixels. These define the space between the compass and the closest channel edges, depending on where the compass is located.
|
virtual |
set the color to use for the dark side of tick marks
Reimplemented in makVrv::DtOsgChannel3dViewCompassInstance.
|
virtual |
set the color to use for the light side of tick marks
Reimplemented in makVrv::DtOsgChannel3dViewCompassInstance.
|
virtual |
set the color to use for the symbols
|
virtual |
set the color to use for the popout (center) symbols
|
virtual |
Set the name of a bitmap / png file that can be used as the symbols image.
Reimplemented in makVrv::DtOsgChannel3dViewCompassInstance.
Set the compass width.
Set the size in pixels for the symbols.
|
virtual |
Set the size in pixels for the popout (center) symbols.
|
pure virtual |
Called anytime any of the compass parameters change, and when the observer heading changes.
Implemented in makVrv::DtOsgChannel3dViewCompassInstance.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |