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 | Protected Member Functions | Protected Attributes
makVrf::DtSaveTerrainAsImageDialog Class Reference

Puts up a dialog, that, if accepted, will save the map area to the specified file and image format. More...

Public Member Functions

 DtSaveTerrainAsImageDialog (makVrv::DtDe &de)
 default constructor More...
 
virtual ~DtSaveTerrainAsImageDialog ()
 destructor More...
 
virtual void exec ()
 Brings up print dialog with printer, and, if accepted will print the map area. More...
 
virtual void saveMapArea (const QString &file, const QString &format)
 Saves the map area to the file by grabbing the frame buffer of the current map area. More...
 
virtual QImage mapAreaAsImage () const
 Returns the map area as an image. More...
 

Protected Member Functions

virtual
makVrv::DtOsgAdapterQtWidget
findAdapterWidget (QWidget *parent) const
 Find the container widget to get the map area from. More...
 

Protected Attributes

makVrv::DtDemyDe
 

Detailed Description

Puts up a dialog, that, if accepted, will save the map area to the specified file and image format.

!If there are multiple channels/observers on the main map area it will save all channels/observers. This save will be as if a screen snapshot had just been taken of the map area and saved

Constructor & Destructor Documentation

makVrf::DtSaveTerrainAsImageDialog::DtSaveTerrainAsImageDialog ( makVrv::DtDe de)

default constructor

virtual makVrf::DtSaveTerrainAsImageDialog::~DtSaveTerrainAsImageDialog ( )
virtual

destructor

Member Function Documentation

virtual void makVrf::DtSaveTerrainAsImageDialog::exec ( )
virtual

Brings up print dialog with printer, and, if accepted will print the map area.

virtual void makVrf::DtSaveTerrainAsImageDialog::saveMapArea ( const QString &  file,
const QString &  format 
)
virtual

Saves the map area to the file by grabbing the frame buffer of the current map area.

virtual QImage makVrf::DtSaveTerrainAsImageDialog::mapAreaAsImage ( ) const
virtual

Returns the map area as an image.

virtual makVrv::DtOsgAdapterQtWidget* makVrf::DtSaveTerrainAsImageDialog::findAdapterWidget ( QWidget *  parent) const
protectedvirtual

Find the container widget to get the map area from.

Member Data Documentation

makVrv::DtDe& makVrf::DtSaveTerrainAsImageDialog::myDe
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)