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

This class is a container of the DtTerrainProfileWidget. More...

Inheritance diagram for makVrf::DtTerrainProfileDialog:
Inheritance graph
[legend]

Public Member Functions

 DtTerrainProfileDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0)
 default constructor. More...
 
virtual ~DtTerrainProfileDialog ()
 destructor More...
 
virtual void setDataProvider (DtTerrainProfileDataProvider *)
 Sets the data provider for this graph. More...
 
DtTerrainProfileDataProviderdataProvider () const
 Returns the data provider use by this dialog. More...
 
virtual void suspend ()
 Suspends this graph. This means that there shall be no updates made to this graph. More...
 
virtual void resume ()
 Resumes graph updates. Will do a full replot. More...
 
virtual bool isSuspended () const
 Returns true if this graph has been suspended. More...
 
virtual void setSuspendForMovement (bool)
 Sets whether or not the symbol tracker will suspend if the line points are changing. Default is true. More...
 
virtual bool suspendForMovement () const
 
virtual void setDistanceMoveTolerance (double)
 Distance a tracked entity must move to signal an update. Default is 10 meters. More...
 
virtual double distanceMoveTolerance () const
 
virtual void setUseBackendForProfile (bool)
 
virtual bool useBackendForProfile () const
 

Public Attributes

boost::signals2::signal< void(DtTerrainProfileDialog *)> signal_dialogAboutToBeDeleted
 Signal sent when this dialog is about to be deleted (from closeEvent) More...
 
DtTerrainProfileWidgetmyProfile
 
QSlider * myGraphScale
 
QLabelmyGraphScaleLabel
 
QHBoxLayout * mySliderLayout
 
QLabelmyDataSource
 
QPushButtonmyRequestFromServer
 

Protected Slots

virtual void graphScaleChanged (int)
 Called when slider changes for graph scale, change the scale of the graph. More...
 
virtual void requestDataFromServer ()
 Requests data from server. More...
 

Protected Member Functions

virtual void slot_dataRemoved ()
 Called when an object is about to be removed, will remove this dialog. More...
 
virtual void closeEvent (QCloseEvent *)
 Send out dialog about to be closed signal. More...
 
virtual void profileGraphReady ()
 Called when the profile graph is ready (at least two points), will show this dialog. More...
 
virtual void dataStatusChanged ()
 Called when the status of the data has changed in the profile widget. More...
 

Protected Attributes

makVrv::DtDemyDe
 
DtTerrainProfileDataProvidermyDataProvider
 
bool mySignaledClosed
 

Detailed Description

This class is a container of the DtTerrainProfileWidget.

It also adds the additional slider to scale the altitude of the dialog. Use this class to display terrain profile in a pop-up dialog.

Constructor & Destructor Documentation

makVrf::DtTerrainProfileDialog::DtTerrainProfileDialog ( makVrv::DtDe de,
QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
)

default constructor.

Will use the DtTerrainProfileWidget factory creator to create a new DtTerrainProfileWidget class

virtual makVrf::DtTerrainProfileDialog::~DtTerrainProfileDialog ( )
virtual

destructor

Member Function Documentation

virtual void makVrf::DtTerrainProfileDialog::setDataProvider ( DtTerrainProfileDataProvider )
virtual

Sets the data provider for this graph.

Will take control of this memory. Do not delete after providing

DtTerrainProfileDataProvider* makVrf::DtTerrainProfileDialog::dataProvider ( ) const

Returns the data provider use by this dialog.

virtual void makVrf::DtTerrainProfileDialog::suspend ( )
virtual

Suspends this graph. This means that there shall be no updates made to this graph.

virtual void makVrf::DtTerrainProfileDialog::resume ( )
virtual

Resumes graph updates. Will do a full replot.

virtual bool makVrf::DtTerrainProfileDialog::isSuspended ( ) const
virtual

Returns true if this graph has been suspended.

virtual void makVrf::DtTerrainProfileDialog::setSuspendForMovement ( bool  )
virtual

Sets whether or not the symbol tracker will suspend if the line points are changing. Default is true.

virtual bool makVrf::DtTerrainProfileDialog::suspendForMovement ( ) const
virtual
virtual void makVrf::DtTerrainProfileDialog::setDistanceMoveTolerance ( double  )
virtual

Distance a tracked entity must move to signal an update. Default is 10 meters.

virtual double makVrf::DtTerrainProfileDialog::distanceMoveTolerance ( ) const
virtual
virtual void makVrf::DtTerrainProfileDialog::setUseBackendForProfile ( bool  )
virtual
virtual bool makVrf::DtTerrainProfileDialog::useBackendForProfile ( ) const
virtual
virtual void makVrf::DtTerrainProfileDialog::slot_dataRemoved ( )
protectedvirtual

Called when an object is about to be removed, will remove this dialog.

virtual void makVrf::DtTerrainProfileDialog::closeEvent ( QCloseEvent *  )
protectedvirtual

Send out dialog about to be closed signal.

virtual void makVrf::DtTerrainProfileDialog::profileGraphReady ( )
protectedvirtual

Called when the profile graph is ready (at least two points), will show this dialog.

virtual void makVrf::DtTerrainProfileDialog::dataStatusChanged ( )
protectedvirtual

Called when the status of the data has changed in the profile widget.

virtual void makVrf::DtTerrainProfileDialog::graphScaleChanged ( int  )
protectedvirtualslot

Called when slider changes for graph scale, change the scale of the graph.

virtual void makVrf::DtTerrainProfileDialog::requestDataFromServer ( )
protectedvirtualslot

Requests data from server.

Member Data Documentation

boost::signals2::signal<void (DtTerrainProfileDialog*)> makVrf::DtTerrainProfileDialog::signal_dialogAboutToBeDeleted

Signal sent when this dialog is about to be deleted (from closeEvent)

DtTerrainProfileWidget* makVrf::DtTerrainProfileDialog::myProfile
QSlider* makVrf::DtTerrainProfileDialog::myGraphScale
QLabel* makVrf::DtTerrainProfileDialog::myGraphScaleLabel
QHBoxLayout* makVrf::DtTerrainProfileDialog::mySliderLayout
QLabel* makVrf::DtTerrainProfileDialog::myDataSource
QPushButton* makVrf::DtTerrainProfileDialog::myRequestFromServer
makVrv::DtDe& makVrf::DtTerrainProfileDialog::myDe
protected
DtTerrainProfileDataProvider* makVrf::DtTerrainProfileDialog::myDataProvider
protected
bool makVrf::DtTerrainProfileDialog::mySignaledClosed
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)