VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtGridLinesInterface Class Referenceabstract

The interface used by the DtGridLinesPage and the DtGridLinesLogic.

Inheritance diagram for makVrv::DtGridLinesInterface:
Inheritance graph
[legend]

Public Member Functions

 DtGridLinesInterface ()
 
virtual ~DtGridLinesInterface ()
 
virtual void setNorthSouthGridLineColor (float r, float g, float b, float a)=0
 
virtual void setEastWestGridLineColor (float r, float g, float b, float a)=0
 
virtual void setUseMinimalGridlineLabels (bool onOff)=0
 
virtual void setAutoSpacing (bool autoSpacing)=0
 
virtual void setFixedSpacingAmount (double amount)=0
 
virtual void setGarsFixedSpacingIndex (int index)=0
 
virtual void setMgrsMapSheetFixedSpacingIndex (int index)=0
 
virtual void setGridType (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType)=0
 
virtual void clearGridTypes ()=0
 
virtual void disableAllGridTypes ()=0
 
virtual void addGridType (const DtUnicode &gridName, makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType)=0
 
virtual void setXOffset (double offset)=0
 
virtual void setYOffset (double offset)=0
 
virtual void setMinSpacing (int pixels)=0
 
virtual void setUnitType (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType)=0
 
virtual void setUnitType (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType)=0
 
virtual void clearUnitTypes ()=0
 
virtual void setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType, bool enabled)=0
 
virtual void setUnitTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType, bool enabled)=0
 
virtual void addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unitType)=0
 
virtual void addUnitType (const DtUnicode &unitName, makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unitType)=0
 
virtual void setDecimals (unsigned decimals)=0
 
virtual void setFixedSpacingAmountEnabled (bool enabled)=0
 
virtual void setMinSpacingEnabled (bool enabled)=0
 
virtual void setGridTypeEnabled (makArchives::DtDisplayUnitsSettingsRecord::CoordSys, bool enabled)=0
 
virtual void setDecimalsEnabled (bool enabled)=0
 
virtual void setMaxFixedSpacing (double maxSpacing)=0
 
virtual void setMinFixedSpacing (double minSpacing)=0
 
virtual void setMinimalGridlineLabelsEnabled (bool onOff)=0
 
virtual void setMgrsMapSheetCutoff (double altitude)=0
 
virtual void setMgrsMapSheetCutoffUnits (const DtUnicode &units)=0
 
virtual void setMgrsMapSheetCutoffMaximum (double maxAltitude)=0
 
virtual void setLatLonLabelsCenteringCutoff (double altitude)=0
 
virtual void setLatLonLabelsCenteringCutoffUnits (const DtUnicode &units)=0
 
virtual void setLatLonLabelsCenteringCutoffMaximum (double maxAltitude)=0
 
virtual void setPolarLatitudeCutoff (double lat)=0
 
virtual void setGridOnToolbar (bool onOrOff)=0
 
virtual void setFixedSpacingComboBoxItem (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType, int index, const std::string &label, double value)=0
 

Public Attributes

boost::signalslib::signal
< void(makArchives::DtDisplayUnitsSettingsRecord::CoordSys)> 
signal_gridTypeChanged
 
boost::signalslib::signal
< void(makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits)> 
signal_unitTypeChanged
 
boost::signalslib::signal
< void(makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits)> 
signal_angularUnitTypeChanged
 
boost::signalslib::signal
< void(double, double, double,
double)> 
signal_eastWestColorChanged
 
boost::signalslib::signal
< void(double, double, double,
double)> 
signal_northSouthColorChanged
 
boost::signalslib::signal
< void(bool)> 
signal_minimalGridlineLabelsToggled
 
boost::signalslib::signal
< void(bool)> 
signal_autoSpacingChanged
 
boost::signalslib::signal
< void(double)> 
signal_fixedSpacingAmountChanged
 
boost::signalslib::signal
< void(int)> 
signal_garsFixedSpacingIndexChanged
 
boost::signalslib::signal
< void(int)> 
signal_mgrsMapSheetFixedSpacingIndexChanged
 
boost::signalslib::signal
< void(int)> 
signal_minSpacingChanged
 
boost::signalslib::signal
< void(double)> 
signal_xOffsetChanged
 
boost::signalslib::signal
< void(double)> 
signal_yOffsetChanged
 
boost::signalslib::signal
< void(unsigned int)> 
signal_decimalsChanged
 
boost::signalslib::signal
< void(double)> 
signal_latLonLabelsCenteringCutoffChanged
 
boost::signalslib::signal
< void(double)> 
signal_PolarLatitudeCutoffChanged
 
boost::signalslib::signal
< void(double)> 
signal_mgrsMapSheetCutoffChanged
 
boost::signalslib::signal
< void(bool)> 
signal_gridOnToolbarChanged
 

Constructor & Destructor Documentation

makVrv::DtGridLinesInterface::DtGridLinesInterface ( )

CTOR.

virtual makVrv::DtGridLinesInterface::~DtGridLinesInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtGridLinesInterface::setNorthSouthGridLineColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the color of the north-south gridlines.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setEastWestGridLineColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the color of the east-west gridlines.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setUseMinimalGridlineLabels ( bool  onOff)
pure virtual

Set whether or not minimal grid line labels are used.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setAutoSpacing ( bool  autoSpacing)
pure virtual

Set the auto spacing on or off.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setFixedSpacingAmount ( double  amount)
pure virtual

Set the fixed spacing for the current unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setGarsFixedSpacingIndex ( int  index)
pure virtual

For Gars fixed spacing, send the combo box index to use (note that the logic populates the combo box and so has control of what index corresponds to what value)

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMgrsMapSheetFixedSpacingIndex ( int  index)
pure virtual

For Mgrs fixed spacing, send the combo box index to use (note that the logic populates the combo box and so has control of what index corresponds to what value)

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setGridType ( makArchives::DtDisplayUnitsSettingsRecord::CoordSys  gridType)
pure virtual

Set the current grid type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::clearGridTypes ( )
pure virtual

Clears out grid type systems.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::disableAllGridTypes ( )
pure virtual

Disable all the grid types.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::addGridType ( const DtUnicode gridName,
makArchives::DtDisplayUnitsSettingsRecord::CoordSys  gridType 
)
pure virtual

Adds a new coordinate system.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setXOffset ( double  offset)
pure virtual

Set the x offset for the current unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setYOffset ( double  offset)
pure virtual

Set the y offset for the current unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMinSpacing ( int  pixels)
pure virtual

Set the minimum allowed spacing.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setUnitType ( makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits  unitType)
pure virtual

Set the unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setUnitType ( makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits  unitType)
pure virtual

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::clearUnitTypes ( )
pure virtual

Clear the units.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setUnitTypeEnabled ( makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits  unitType,
bool  enabled 
)
pure virtual

Enable the specified unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setUnitTypeEnabled ( makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits  unitType,
bool  enabled 
)
pure virtual

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::addUnitType ( const DtUnicode unitName,
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits  unitType 
)
pure virtual

Add a unit type.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::addUnitType ( const DtUnicode unitName,
makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits  unitType 
)
pure virtual

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setDecimals ( unsigned  decimals)
pure virtual

Set the decimals to use.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setFixedSpacingAmountEnabled ( bool  enabled)
pure virtual

Enable or disable the fixed spacing amount spin box.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMinSpacingEnabled ( bool  enabled)
pure virtual

Enable or disable the min spacing spin box.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setGridTypeEnabled ( makArchives::DtDisplayUnitsSettingsRecord::CoordSys  ,
bool  enabled 
)
pure virtual

Enable or disable a specific grid type within the grid type combo box.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setDecimalsEnabled ( bool  enabled)
pure virtual

Enable or disable the decimals spin box.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMaxFixedSpacing ( double  maxSpacing)
pure virtual

Set the maximum allowable fixed spacing.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMinFixedSpacing ( double  minSpacing)
pure virtual

Set the minimum fixed spacing allowed.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMinimalGridlineLabelsEnabled ( bool  onOff)
pure virtual

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMgrsMapSheetCutoff ( double  altitude)
pure virtual

Set the altitude at which we stop drawing MGRS map sheet lines/labels when using fixed spacing.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMgrsMapSheetCutoffUnits ( const DtUnicode units)
pure virtual

Set a label with the appropriate unit type for altitude.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setMgrsMapSheetCutoffMaximum ( double  maxAltitude)
pure virtual

Set a the maximum value for the centering cutoff spin box with the appropriate unit type for altitude.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setLatLonLabelsCenteringCutoff ( double  altitude)
pure virtual

Set the altitude at which we stop moving latitude and longitude labels to the center of the screen.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setLatLonLabelsCenteringCutoffUnits ( const DtUnicode units)
pure virtual

Set a label with the appropriate unit type for altitude.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setLatLonLabelsCenteringCutoffMaximum ( double  maxAltitude)
pure virtual

Set a the maximum value for the centering cutoff spin box with the appropriate unit type for altitude.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setPolarLatitudeCutoff ( double  lat)
pure virtual

Set the latitude above which GARS grid lines are not drawn.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setGridOnToolbar ( bool  onOrOff)
pure virtual

Set whether the grid lines associated with the parameter cs should be on the grid lines selection toolbar.

Implemented in makVrv::DtGridLinesPage.

virtual void makVrv::DtGridLinesInterface::setFixedSpacingComboBoxItem ( makArchives::DtDisplayUnitsSettingsRecord::CoordSys  gridType,
int  index,
const std::string &  label,
double  value 
)
pure virtual

Both GARS and MGRS use enumerated values for fixed spacing. These are placed in combo boxes.

Implemented in makVrv::DtGridLinesPage.

Member Data Documentation

boost::signalslib::signal<void (makArchives::DtDisplayUnitsSettingsRecord::CoordSys)> makVrv::DtGridLinesInterface::signal_gridTypeChanged

The following are used for GARS.

Signal sent by page when the grid type changes

boost::signalslib::signal<void (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits)> makVrv::DtGridLinesInterface::signal_unitTypeChanged

Signal sent by page when the grid type changes.

boost::signalslib::signal<void (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits)> makVrv::DtGridLinesInterface::signal_angularUnitTypeChanged
boost::signalslib::signal<void(double, double, double, double)> makVrv::DtGridLinesInterface::signal_eastWestColorChanged

Signal sent by page when the color of the east/west gridlines has changed.

boost::signalslib::signal<void(double, double, double, double)> makVrv::DtGridLinesInterface::signal_northSouthColorChanged

Signal sent by page when the color of the north/south gridlines has changed.

boost::signalslib::signal<void (bool)> makVrv::DtGridLinesInterface::signal_minimalGridlineLabelsToggled

Signal sent by page when the use of minimal gridline labels changes.

boost::signalslib::signal<void (bool)> makVrv::DtGridLinesInterface::signal_autoSpacingChanged

Signal sent by page when auto spacing changes.

boost::signalslib::signal<void (double)> makVrv::DtGridLinesInterface::signal_fixedSpacingAmountChanged

Signal sent by page when the fixed spacing amount changes.

boost::signalslib::signal<void(int)> makVrv::DtGridLinesInterface::signal_garsFixedSpacingIndexChanged

Signal sent by page when the gars fixed spacing index changes.

boost::signalslib::signal<void(int)> makVrv::DtGridLinesInterface::signal_mgrsMapSheetFixedSpacingIndexChanged

Signal sent by page when the mgrs fixed spacing index changes.

boost::signalslib::signal<void (int)> makVrv::DtGridLinesInterface::signal_minSpacingChanged

Signal sent by page when the minimum spacing amount changes.

boost::signalslib::signal<void (double)> makVrv::DtGridLinesInterface::signal_xOffsetChanged

Signal sent by page when the xOffset changes.

boost::signalslib::signal<void (double)> makVrv::DtGridLinesInterface::signal_yOffsetChanged

Signal sent by page when the yOffset changes.

boost::signalslib::signal<void (unsigned int)> makVrv::DtGridLinesInterface::signal_decimalsChanged

Signal sent by page when the decimals changes.

boost::signalslib::signal<void(double)> makVrv::DtGridLinesInterface::signal_latLonLabelsCenteringCutoffChanged

Signal sent by page when the latitude / longitude labels centering cCutoff changes.

boost::signalslib::signal<void(double)> makVrv::DtGridLinesInterface::signal_PolarLatitudeCutoffChanged

Signal sent by page when the Polar latitude cutoff changes.

boost::signalslib::signal<void(double)> makVrv::DtGridLinesInterface::signal_mgrsMapSheetCutoffChanged

Signal sent by page when the MGRS Map sheet cutoff changes.

boost::signalslib::signal<void(bool)> makVrv::DtGridLinesInterface::signal_gridOnToolbarChanged

Signal sent by page when the grid line type is added or removed from the selection toolbar.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)