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
makVrf::DtSaveTerrainAsImageDialog Class Reference

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.

Public Member Functions

 DtSaveTerrainAsImageDialog (makVrv::DtDe &de)
 
virtual ~DtSaveTerrainAsImageDialog ()
 
virtual void exec ()
 
virtual void saveMapArea (const QString &file, const QString &format)
 
virtual QImage mapAreaAsImage () const
 

Protected Member Functions

virtual
makVrv::DtOsgAdapterQtWidget
findAdapterWidget (QWidget *parent) const
 

Protected Attributes

makVrv::DtDemyDe
 

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)