VR-Forces 5.0.2 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 bool flyOverChecked () const
 
virtual osgEarth::Bounds getBound ()
 
virtual bool cacheImageLayers () const
 
virtual bool cacheElevationLayers () const
 
virtual void reset ()
 
virtual void enableEventProcessor (bool enable)
 

Protected Member Functions

 DtOsgEarthCacheLogic (DtDe &de, DtOsgEarthCacheInterface *iFace)
 
void initialize ()
 
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_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_flyOverCheckBoxChanged (bool)
 
virtual void slot_specifyCacheAreaCheckBoxChanged (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 ()
 

Protected Attributes

DtOsgEarthCacheEditingEventProcessormyEventProcessor
 
DtOsgEarthCacheHandlermyHandler
 
DtOsgGeoExtentRectanglemyCacheArea
 
DtSignalConnectionManager mySignals
 
DtDemyDe
 
DtOsgEarthCacheInterfacemyInterface
 
bool myChannelInitialized
 
bool mySpecifyArea
 
bool myCacheImageLayers
 
bool myCacheElevationLayers
 
bool myFlyOver
 
int myMaximumLod
 
int myLowestLod
 
int myHighestLod
 
bool myDontShowWarningDialogAgain
 

Private Member Functions

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

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 )
private

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 bool makVrv::DtOsgEarthCacheLogic::flyOverChecked ( ) const
virtual

Gets whether the fly over check box is checked.

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

Gets the bound of the cache area.

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.

void makVrv::DtOsgEarthCacheLogic::initialize ( )
protected
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_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_flyOverCheckBoxChanged ( bool  )
protectedvirtual

Methods connected to Qt Widget signals.

virtual void makVrv::DtOsgEarthCacheLogic::slot_specifyCacheAreaCheckBoxChanged ( 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 ( )
protectedvirtual

Methods connected to Qt Widget signals.

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

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
bool makVrv::DtOsgEarthCacheLogic::myChannelInitialized
protected
bool makVrv::DtOsgEarthCacheLogic::mySpecifyArea
protected
bool makVrv::DtOsgEarthCacheLogic::myCacheImageLayers
protected
bool makVrv::DtOsgEarthCacheLogic::myCacheElevationLayers
protected
bool makVrv::DtOsgEarthCacheLogic::myFlyOver
protected
int makVrv::DtOsgEarthCacheLogic::myMaximumLod
protected
int makVrv::DtOsgEarthCacheLogic::myLowestLod
protected
int makVrv::DtOsgEarthCacheLogic::myHighestLod
protected
bool makVrv::DtOsgEarthCacheLogic::myDontShowWarningDialogAgain
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)