VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
saveTerrainAsImageDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 
11 
12 #include <QImage>
13 
14 namespace makVrv
15 {
16  class DtDe;
17  class DtOsgAdapterQtWidget;
18 }
19 
20 class QString;
21 class QWidget;
22 
23 namespace makVrf
24 {
30  {
31  public:
32 
35 
37  virtual ~DtSaveTerrainAsImageDialog();
38 
40  virtual void exec();
41 
43  virtual void saveMapArea(const QString& file, const QString& format);
44 
46  virtual QImage mapAreaAsImage() const;
47 
48  protected:
49 
51  virtual makVrv::DtOsgAdapterQtWidget* findAdapterWidget(QWidget* parent) const;
52 
53  protected:
55  };
56 
59  {
60  public:
63 
66 
68  static void registerInstance(makVrv::DtDe&, DtSaveTerrainAsImageDialogCreator*);
69 
71  virtual DtSaveTerrainAsImageDialog* create(makVrv::DtDe&);
72  };
73 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtOsgAdapterQtWidget provides the mechanism for embedding an OSG context into a Qt widget...
Definition: DtOsgAdapterQtWidget.h:47
Puts up a dialog, that, if accepted, will save the map area to the specified file and image format...
Definition: saveTerrainAsImageDialog.h:29
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Contains makVrv::DtVirtualBaseClass class.
Creator class that can be registered to return a subclass of the print dialog for extension...
Definition: saveTerrainAsImageDialog.h:58
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
makVrv::DtDe & myDe
Definition: saveTerrainAsImageDialog.h:54

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)