VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtTextureDrapingLogic Class Reference

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

Public Member Functions

 DtTextureDrapingLogic (DtDe &de, DtTextureDrapingInterface &iFace, std::string def)
 CTOR. More...
 
virtual ~DtTextureDrapingLogic ()
 DTOR. More...
 
virtual void slot_onSelectedRasterChanged (const std::string &raster)
 slot triggered when the interface's selected raster changed More...
 
virtual void slot_onDisplayRasterChanged (const std::string &raster, bool state)
 slot triggered when the interface's selected raster's on/off state changed More...
 
virtual void slot_onRasterChanged (const std::string &raster, const std::string &file)
 slot triggered when the interface's selected raster image More...
 
virtual void slot_onRasterScaleChanged (const std::string &raster, double x, double y)
 Sets the scale of the specified raster. More...
 
virtual void slot_onRasterOffsetChanged (const std::string &raster, double x, double y)
 Sets the offset of the specified raster. More...
 
virtual void slot_onBlendModeChanged (const std::string &raster, int state)
 slot triggered when the interface's selected raster's blend mode changed More...
 
virtual void slot_onWrapModeChanged (const std::string &raster, int state)
 slot triggered when the interface's selected raster's wrap mode state changed More...
 
virtual void slot_onClearTexture (const std::string &raster)
 slot triggered when the interface wants to clear out the current texture More...
 
virtual void slot_onResetTexture (const std::string &raster)
 slot triggered when the interface wants to reset the current texture More...
 
virtual void slot_updateCoordinateSystem (const std::string &coordinate)
 slot triggered when coordinate system changes. More...
 
virtual void slot_onSWCornerChanged (const std::string &raster, const std::string &x, const std::string &y)
 slot triggered when sw corner (origin) changes More...
 
virtual void slot_onNECornerChanged (const std::string &raster, const std::string &x, const std::string &y)
 slot triggered when ne corner (scale) changes More...
 
virtual void slot_onAddRasterLayer ()
 slot triggered when adding a new raster layer More...
 
virtual void slot_onRemoveRasterLayer (const std::string &)
 slot triggered when removing specified layer More...
 
virtual void slot_onMoveRasterLayer (const std::string &, int)
 slot triggered when want to move a raster layer up or down in the hierarchy More...
 
virtual bool slot_onRenameRasterLayer (const std::string &old, const std::string &newName)
 slot called when wanting to rename from old to new. More...
 
virtual void slot_displayUnitsChanged (int type)
 slot called when display units and/or decimals change More...
 
virtual void slot_displayCoordinateSystemChanged ()
 slot called when display coordinate system or coord sys precision changes More...
 

Protected Member Functions

void addRasterImages ()
 Adds all raster images into the interface. More...
 
void addCoordinateSystems ()
 Adds all coordinate systems. More...
 
void addBlendModes ()
 Adds blend modes. More...
 
void addWrapModes ()
 Adds wrap modes. More...
 
virtual void updateCoordinates ()
 updates the coordinates for the current coordinate system into the iterface More...
 

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

makVrv::DtTextureDrapingLogic::DtTextureDrapingLogic ( DtDe de,
DtTextureDrapingInterface iFace,
std::string  def 
)

CTOR.

virtual makVrv::DtTextureDrapingLogic::~DtTextureDrapingLogic ( )
virtual

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

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 ( )
protectedvirtual

updates the coordinates for the current coordinate system into the iterface

Member Data Documentation

DtDe& makVrv::DtTextureDrapingLogic::myDe
protected
DtTextureDrapingInterface& makVrv::DtTextureDrapingLogic::myInterface
protected
std::string makVrv::DtTextureDrapingLogic::myDefinition
protected
DtSignalConnectionManager makVrv::DtTextureDrapingLogic::mySignals
protected
makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtTextureDrapingLogic::myCoordSys
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)