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 | Protected Member Functions | Protected Attributes | Private Member Functions | Friends

DtOsgEarthCacheLogic.

Logic class for driving the DtOsgEarthCacheDialog.

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

Public Member Functions

virtual ~DtOsgEarthCacheLogic ()
 
virtual int lowestLod () const
 
virtual int highestLod () const
 
virtual osgEarth::Bounds getGeodeticBound ()
 
virtual bool cacheImageLayers () const
 
virtual bool cacheElevationLayers () const
 
virtual void reset ()
 
virtual void enableEventProcessor (bool enable)
 

Protected Member Functions

 DtOsgEarthCacheLogic (DtDe &de, DtOsgEarthCacheInterface *iFace)
 
virtual void connectSignals ()
 
virtual void slot_vertexChanged (int index, double longtitude, double latitude)
 
virtual void slot_exit ()
 
virtual void slot_postTick ()
 
virtual void slot_osgEarthTerrainDefinitionChanged (const std::string &osgEarthTerrainDefinition)
 
virtual void slot_channelToBeDestroyed (DtChannelManager *, DtChannel *channel)
 
virtual void slot_leftMouseDoubleClick ()
 
virtual void slot_mouseMove (double mouseX, double mouseY)
 
virtual void slot_leftMouseButtonRealeased (DtChannel *channel, double mouseX, double mouseY)
 
virtual void slot_lowestLodChanged (int)
 
virtual void slot_highestLodChanged (int)
 
virtual void slot_cacheImageChanged (bool)
 
virtual void slot_cacheElevationChanged (bool)
 
virtual void slot_startLongitudeChanged (double)
 
virtual void slot_startLatitudeChanged (double)
 
virtual void slot_endLongitudeChanged (double)
 
virtual void slot_endLatitudeChanged (double)
 
virtual void slot_generateCacheButtonClicked ()
 
virtual void slot_cleanAreaButtonClicked ()
 
virtual void slot_cancelButtonClicked ()
 
virtual void slot_cacheFinished (bool)
 

Protected Attributes

DtOsgEarthCacheEditingEventProcessormyEventProcessor
 
DtOsgEarthCacheHandlermyHandler
 
DtOsgGeoExtentRectanglemyCacheArea
 
DtSignalConnectionManager mySignals
 
DtDemyDe
 
DtOsgEarthCacheInterfacemyInterface
 
DtChannelmyChannel
 
bool myCacheImageLayers
 
bool myCacheElevationLayers
 
int myMaximumLod
 
int myLowestLod
 
int myHighestLod
 
bool myDontShowWarningDialogAgain
 
boost::signalslib::connection myCacheAreaVertexChangedConnection
 

Private Member Functions

 DtOsgEarthCacheLogic (const DtOsgEarthCacheLogic &)=delete
 
DtOsgEarthCacheLogicoperator= (const DtOsgEarthCacheLogic &)=delete
 

Friends

class DtOsgEarthCacheLogicCreator
 

Constructor & Destructor Documentation

virtual makVrv::DtOsgEarthCacheLogic::~DtOsgEarthCacheLogic ( )
virtual

DTOR.

makVrv::DtOsgEarthCacheLogic::DtOsgEarthCacheLogic ( DtDe de,
DtOsgEarthCacheInterface iFace 
)
protected

Protected Constructor. Use DtOsgEarthCacheLogicCreator to create instances of this class.

makVrv::DtOsgEarthCacheLogic::DtOsgEarthCacheLogic ( const DtOsgEarthCacheLogic )
privatedelete

Copy Constructor not implimented – Copy not allowed.

Member Function Documentation

virtual int makVrv::DtOsgEarthCacheLogic::lowestLod ( ) const
virtual

Gets the lowest lod to cache.

virtual int makVrv::DtOsgEarthCacheLogic::highestLod ( ) const
virtual

Gets the highest lod to cache.

virtual osgEarth::Bounds makVrv::DtOsgEarthCacheLogic::getGeodeticBound ( )
virtual

Gets the bound of the cache area in geodetic degrees.

virtual bool makVrv::DtOsgEarthCacheLogic::cacheImageLayers ( ) const
virtual

Gets whether cache image layers.

virtual bool makVrv::DtOsgEarthCacheLogic::cacheElevationLayers ( ) const
virtual

Gets whether cache image layers.

virtual void makVrv::DtOsgEarthCacheLogic::reset ( )
virtual

Reset from the last cache operation for next use.

virtual void makVrv::DtOsgEarthCacheLogic::enableEventProcessor ( bool  enable)
virtual

Enable/disable the event processor.

virtual void makVrv::DtOsgEarthCacheLogic::connectSignals ( )
protectedvirtual

connect all the signals

virtual void makVrv::DtOsgEarthCacheLogic::slot_leftMouseDoubleClick ( )
protectedvirtual

Methods connected to DtOsgEarthCacheEditingEventProcessor signals.

Slot when left mouse double click.

virtual void makVrv::DtOsgEarthCacheLogic::slot_mouseMove ( double  mouseX,
double  mouseY 
)
protectedvirtual

Slot when the mouse moves.

Parameters
mouseXThe x coordinate of mouse in window coordinate.
mouseYThe y coordinate of mouse in window coordinate.
virtual void makVrv::DtOsgEarthCacheLogic::slot_leftMouseButtonRealeased ( DtChannel channel,
double  mouseX,
double  mouseY 
)
protectedvirtual

slot when the left mouse button released.

Parameters
channelThe channel of the event.
mouseXThe x coordinate of mouse in window coordinate.
mouseYThe y coordinate of mouse in window coordinate.
virtual void makVrv::DtOsgEarthCacheLogic::slot_vertexChanged ( int  index,
double  longtitude,
double  latitude 
)
protectedvirtual

Slot when the coordiante of the vertex changed.

Parameters
indexThe index of vertex.
longtitudeThe longtitude of the vertex.
latitudeThe latitude of the vertex.
virtual void makVrv::DtOsgEarthCacheLogic::slot_exit ( )
protectedvirtual

slot when the window or channel got destroyed, force exit the dialog

virtual void makVrv::DtOsgEarthCacheLogic::slot_postTick ( )
protectedvirtual

Updates the rectangle if it is dirty.

virtual void makVrv::DtOsgEarthCacheLogic::slot_osgEarthTerrainDefinitionChanged ( const std::string &  osgEarthTerrainDefinition)
protectedvirtual

Slot when the osgEarth terrain definition has changed.

virtual void makVrv::DtOsgEarthCacheLogic::slot_channelToBeDestroyed ( DtChannelManager ,
DtChannel channel 
)
protectedvirtual

Slot when the channel is about to be destroyed.

virtual void makVrv::DtOsgEarthCacheLogic::slot_lowestLodChanged ( int  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_highestLodChanged ( int  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_cacheImageChanged ( bool  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_cacheElevationChanged ( bool  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_startLongitudeChanged ( double  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_startLatitudeChanged ( double  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_endLongitudeChanged ( double  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_endLatitudeChanged ( double  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_generateCacheButtonClicked ( )
protectedvirtual

Methods connected to Qt Widget signals.

Reimplemented in makVrf::DtVrfOsgEarthCacheLogic.

virtual void makVrv::DtOsgEarthCacheLogic::slot_cleanAreaButtonClicked ( )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_cancelButtonClicked ( )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_cacheFinished ( bool  )
protectedvirtual

Methods connected to Qt Widget signals.

DtOsgEarthCacheLogic& makVrv::DtOsgEarthCacheLogic::operator= ( const DtOsgEarthCacheLogic )
privatedelete

Assignment Operator not implimented – Copy not allowed.

Friends And Related Function Documentation

friend class DtOsgEarthCacheLogicCreator
friend

Member Data Documentation

DtOsgEarthCacheEditingEventProcessor* makVrv::DtOsgEarthCacheLogic::myEventProcessor
protected
DtOsgEarthCacheHandler* makVrv::DtOsgEarthCacheLogic::myHandler
protected
DtOsgGeoExtentRectangle* makVrv::DtOsgEarthCacheLogic::myCacheArea
protected
DtSignalConnectionManager makVrv::DtOsgEarthCacheLogic::mySignals
protected
DtDe& makVrv::DtOsgEarthCacheLogic::myDe
protected
DtOsgEarthCacheInterface* makVrv::DtOsgEarthCacheLogic::myInterface
protected
DtChannel* makVrv::DtOsgEarthCacheLogic::myChannel
protected
bool makVrv::DtOsgEarthCacheLogic::myCacheImageLayers
protected
bool makVrv::DtOsgEarthCacheLogic::myCacheElevationLayers
protected
int makVrv::DtOsgEarthCacheLogic::myMaximumLod
protected
int makVrv::DtOsgEarthCacheLogic::myLowestLod
protected
int makVrv::DtOsgEarthCacheLogic::myHighestLod
protected
bool makVrv::DtOsgEarthCacheLogic::myDontShowWarningDialogAgain
protected
boost::signalslib::connection makVrv::DtOsgEarthCacheLogic::myCacheAreaVertexChangedConnection
protected

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)