![]() |
VR-Forces 4.0.4 Class Documentation
|
The logic for a Raster map page. More...
Public Member Functions | |
| DtTextureDrapingLogic (DtDe &de, DtTextureDrapingInterface &iFace, std::string def) | |
| CTOR. | |
| ~DtTextureDrapingLogic () | |
| DTOR. | |
| virtual void | slot_onSelectedRasterChanged (const std::string &raster) |
| slot triggered when the interface's selected raster changed | |
| virtual void | slot_onDisplayRasterChanged (const std::string &raster, bool state) |
| slot triggered when the interface's selected raster's on/off state changed | |
| virtual void | slot_onRasterChanged (const std::string &raster, const std::string &file) |
| slot triggered when the interface's selected raster image | |
| virtual void | slot_onRasterScaleChanged (const std::string &raster, double x, double y) |
| Sets the scale of the specified raster. | |
| virtual void | slot_onRasterOffsetChanged (const std::string &raster, double x, double y) |
| Sets the offset of the specified raster. | |
| virtual void | slot_onBlendModeChanged (const std::string &raster, int state) |
| slot triggered when the interface's selected raster's blend mode changed | |
| virtual void | slot_onWrapModeChanged (const std::string &raster, int state) |
| slot triggered when the interface's selected raster's wrap mode state changed | |
| virtual void | slot_onClearTexture (const std::string &raster) |
| slot triggered when the interface wants to clear out the current texture | |
| virtual void | slot_onResetTexture (const std::string &raster) |
| slot triggered when the interface wants to reset the current texture | |
| virtual void | slot_updateCoordinateSystem (const std::string &coordinate) |
| slot triggered when coordinate system changes. | |
| virtual void | slot_onSWCornerChanged (const std::string &raster, const std::string &x, const std::string &y) |
| slot triggered when sw corner (origin) changes | |
| virtual void | slot_onNECornerChanged (const std::string &raster, const std::string &x, const std::string &y) |
| slot triggered when ne corner (scale) changes | |
| virtual void | slot_onAddRasterLayer () |
| slot triggered when adding a new raster layer | |
| virtual void | slot_onRemoveRasterLayer (const std::string &) |
| slot triggered when removing specified layer | |
| virtual void | slot_onMoveRasterLayer (const std::string &, int) |
| slot triggered when want to move a raster layer up or down in the hierarchy | |
| virtual bool | slot_onRenameRasterLayer (const std::string &old, const std::string &newName) |
| slot called when wanting to rename from old to new. | |
| virtual void | slot_displayUnitsChanged (int type) |
| slot called when display units and/or decimals change | |
| virtual void | slot_displayCoordinateSystemChanged () |
| slot called when display coordinate system or coord sys precision changes | |
Protected Member Functions | |
| void | addRasterImages () |
| Adds all raster images into the interface. | |
| void | addCoordinateSystems () |
| Adds all coordinate systems. | |
| void | addBlendModes () |
| Adds blend modes. | |
| void | addWrapModes () |
| Adds wrap modes. | |
| virtual void | updateCoordinates () |
| updates the coordinates for the current coordinate system into the iterface | |
Protected Attributes | |
| DtDe & | myDe |
| DtTextureDrapingInterface & | myInterface |
| std::string | myDefinition |
| DtSignalConnectionManager | mySignals |
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys | myCoordSys |
The logic for a Raster map page.
| makVrv::DtTextureDrapingLogic::DtTextureDrapingLogic | ( | DtDe & | de, |
| DtTextureDrapingInterface & | iFace, | ||
| std::string | def | ||
| ) |
CTOR.
| virtual void makVrv::DtTextureDrapingLogic::slot_onSelectedRasterChanged | ( | const std::string & | raster | ) | [virtual] |
slot triggered when the interface's selected raster changed
| virtual void makVrv::DtTextureDrapingLogic::slot_onDisplayRasterChanged | ( | const std::string & | raster, |
| bool | state | ||
| ) | [virtual] |
slot triggered when the interface's selected raster's on/off state changed
| virtual void makVrv::DtTextureDrapingLogic::slot_onRasterChanged | ( | const std::string & | raster, |
| const std::string & | file | ||
| ) | [virtual] |
slot triggered when the interface's selected raster image
| virtual void makVrv::DtTextureDrapingLogic::slot_onRasterScaleChanged | ( | const std::string & | raster, |
| double | x, | ||
| double | y | ||
| ) | [virtual] |
Sets the scale of the specified raster.
| virtual void makVrv::DtTextureDrapingLogic::slot_onRasterOffsetChanged | ( | const std::string & | raster, |
| double | x, | ||
| double | y | ||
| ) | [virtual] |
Sets the offset of the specified raster.
| virtual void makVrv::DtTextureDrapingLogic::slot_onBlendModeChanged | ( | const std::string & | raster, |
| int | state | ||
| ) | [virtual] |
slot triggered when the interface's selected raster's blend mode changed
| virtual void makVrv::DtTextureDrapingLogic::slot_onWrapModeChanged | ( | const std::string & | raster, |
| int | state | ||
| ) | [virtual] |
slot triggered when the interface's selected raster's wrap mode state changed
| virtual void makVrv::DtTextureDrapingLogic::slot_onClearTexture | ( | const std::string & | raster | ) | [virtual] |
slot triggered when the interface wants to clear out the current texture
| virtual void makVrv::DtTextureDrapingLogic::slot_onResetTexture | ( | const std::string & | raster | ) | [virtual] |
slot triggered when the interface wants to reset the current texture
| virtual void makVrv::DtTextureDrapingLogic::slot_updateCoordinateSystem | ( | const std::string & | coordinate | ) | [virtual] |
slot triggered when coordinate system changes.
Updates the interface to new coordinates
| virtual void makVrv::DtTextureDrapingLogic::slot_onSWCornerChanged | ( | const std::string & | raster, |
| const std::string & | x, | ||
| const std::string & | y | ||
| ) | [virtual] |
slot triggered when sw corner (origin) changes
| virtual void makVrv::DtTextureDrapingLogic::slot_onNECornerChanged | ( | const std::string & | raster, |
| const std::string & | x, | ||
| const std::string & | y | ||
| ) | [virtual] |
slot triggered when ne corner (scale) changes
| virtual void makVrv::DtTextureDrapingLogic::slot_onAddRasterLayer | ( | ) | [virtual] |
slot triggered when adding a new raster layer
| virtual void makVrv::DtTextureDrapingLogic::slot_onRemoveRasterLayer | ( | const std::string & | ) | [virtual] |
slot triggered when removing specified layer
| virtual void makVrv::DtTextureDrapingLogic::slot_onMoveRasterLayer | ( | const std::string & | , |
| int | |||
| ) | [virtual] |
slot triggered when want to move a raster layer up or down in the hierarchy
| virtual bool makVrv::DtTextureDrapingLogic::slot_onRenameRasterLayer | ( | const std::string & | old, |
| const std::string & | newName | ||
| ) | [virtual] |
slot called when wanting to rename from old to new.
Returns true if rename is successful
| virtual void makVrv::DtTextureDrapingLogic::slot_displayUnitsChanged | ( | int | type | ) | [virtual] |
slot called when display units and/or decimals change
| virtual void makVrv::DtTextureDrapingLogic::slot_displayCoordinateSystemChanged | ( | ) | [virtual] |
slot called when display coordinate system or coord sys precision changes
| void makVrv::DtTextureDrapingLogic::addRasterImages | ( | ) | [protected] |
Adds all raster images into the interface.
| void makVrv::DtTextureDrapingLogic::addCoordinateSystems | ( | ) | [protected] |
Adds all coordinate systems.
| void makVrv::DtTextureDrapingLogic::addBlendModes | ( | ) | [protected] |
Adds blend modes.
| void makVrv::DtTextureDrapingLogic::addWrapModes | ( | ) | [protected] |
Adds wrap modes.
| virtual void makVrv::DtTextureDrapingLogic::updateCoordinates | ( | ) | [protected, virtual] |
updates the coordinates for the current coordinate system into the iterface
DtDe& makVrv::DtTextureDrapingLogic::myDe [protected] |
std::string makVrv::DtTextureDrapingLogic::myDefinition [protected] |
makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtTextureDrapingLogic::myCoordSys [protected] |