VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtTextureDrapingLogic Class Reference

The logic for a Raster map page. More...

List of all members.

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

DtDemyDe
DtTextureDrapingInterfacemyInterface
std::string myDefinition
DtSignalConnectionManager mySignals
makArchives::DtDisplayUnitsSettingsRecord::CoordSys myCoordSys

Detailed Description

The logic for a Raster map page.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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

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

slot called when display coordinate system or coord sys precision changes

Adds all raster images into the interface.

Adds all coordinate systems.

Adds blend modes.

Adds wrap modes.

virtual void makVrv::DtTextureDrapingLogic::updateCoordinates ( ) [protected, virtual]

updates the coordinates for the current coordinate system into the iterface


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)