![]() |
VR-Forces 4.7 Class Documentation
|
vrvGraphics-based implementation of grid lines More...
Public Member Functions | |
| DtMapScaleInstance (makVrv::DtDe &de) | |
| CTOR. | |
| virtual | ~DtMapScaleInstance () |
| DTOR. | |
| virtual void | setChannelName (const std::string &deName, const std::string &winName, const std::string &channelName) |
| Set the name of the channel that this compass should be drawn on. | |
| virtual void | setModelDefinition (const std::string &modelDefinition) |
| Set the model definition; note that this (potentially) includes all the other parameters enumeration below. | |
| virtual void | setVisible (bool isVisible) |
| Set the grid line visibility state. | |
| bool | visible () const |
Protected Member Functions | |
| virtual void | slot_channelCreated (makVrv::DtChannelManager *, makVrv::DtChannel *) |
| Called when a channel is created - is this our channel? | |
| virtual void | slot_channelToBeDestroyed (makVrv::DtChannelManager *, makVrv::DtChannel *) |
| Called when a channel is about to be destroyed. | |
| void | slot_channelUpdated (makVrv::DtChannelManager *, makVrv::DtChannel *) |
| This slot is attached to the renderer's update signal. | |
| virtual void | setChannel (makVrv::DtChannel *) |
| virtual void | updateMapScale () |
| virtual void | destroyVisuals () |
| virtual void | createVisuals () |
| virtual void | setupFont () |
| virtual double | findDistanceFromResolution (double viewResolution, makVrv::DtUnicode &label) const |
| Given a view resoltion (meters/pixel) get a distance that will be used to display on the screen. | |
| virtual DtGuiEventProcessor & | guiEventProcessor () const |
| virtual void | slot_onUnitChanged (int attribute, int from, int old) |
| Connected to signal_displayUnitChanged on DtDisplayUnitsSettingsSignaler. | |
| virtual double | roundToMeter (double metersDistance, makVrv::DtUnicode &label, bool changeToKm=true) const |
| Rounds the current distance to a displayabe meter (or kilometer) representation. | |
| virtual double | roundToFeet (double metersDistance, makVrv::DtUnicode &label) const |
| Rounds using feet as measurement, however, will still return meters as a result. | |
| virtual double | roundToNauticalMiles (double metersDistance, makVrv::DtUnicode &label) const |
| Rounds using nauticalMiles as measurement, however, will still return meters as a result. | |
Private Member Functions | |
| DtMapScaleInstance (const DtMapScaleInstance &orig) | |
| Unimplemented copy constructor. | |
| DtMapScaleInstance & | operator= (const DtMapScaleInstance &rhs) |
| Unimplemented assignment operator. | |
vrvGraphics-based implementation of grid lines
| makVrf::DtMapScaleInstance::DtMapScaleInstance | ( | makVrv::DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Unimplemented copy constructor.
|
virtual |
Set the name of the channel that this compass should be drawn on.
|
virtual |
Set the model definition; note that this (potentially) includes all the other parameters enumeration below.
|
virtual |
Set the grid line visibility state.
|
inline |
|
protectedvirtual |
Called when a channel is created - is this our channel?
|
protectedvirtual |
Called when a channel is about to be destroyed.
|
protected |
This slot is attached to the renderer's update signal.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Given a view resoltion (meters/pixel) get a distance that will be used to display on the screen.
|
protectedvirtual |
|
protectedvirtual |
Connected to signal_displayUnitChanged on DtDisplayUnitsSettingsSignaler.
Calls refreshLabels if the attribute is Distance
|
protectedvirtual |
Rounds the current distance to a displayabe meter (or kilometer) representation.
|
protectedvirtual |
Rounds using feet as measurement, however, will still return meters as a result.
It is the label that is at issue in this calculation
|
protectedvirtual |
Rounds using nauticalMiles as measurement, however, will still return meters as a result.
It is the label that is at issue in this calculation
|
private |
Unimplemented assignment operator.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |