VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiObjectGeometryElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 
14 #include <vlutil/vlFilename.h>
15 
16 class QHBoxLayout;
17 class QPushButton;
18 class QToolButton;
20 class QCheckBox;
21 class QDialog;
22 class QLineEdit;
23 class QRadioButton;
24 
26 {
27  Q_OBJECT
28 
29 public:
30 
33 
35  virtual ~DtUiObjectGeometryElement();
36 
38 
39 protected:
40  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
41 
43  virtual void createControls(QWidget* widget);
44 
45  virtual void geometryFileChanged(DtUiElement*);
46 
47  virtual DtFilename geometryFile() const;
48 
49  virtual DtFilename makeRelativeToModelSet(const DtFilename&) const;
50 
51  virtual void checkNavigationData();
52  virtual bool isModified() const;
53 
54  virtual void generationComplete(bool);
55  virtual void enableElements();
56 
57  virtual DtFilename modelDefinitionFile(bool resolve = true) const;
58  virtual DtFilename makeFilenameRelative(const DtFilename& f) const;
59 
60 protected slots:
61  virtual void onSelectGeometry();
62  virtual void onGenerateNavigationData();
63  virtual void onRemoveNavigationData();
64  virtual void useDetailedGeometryInSimulationEngineChanged();
65  virtual void whichModelToUseChanged();
66  virtual void embedIntoTerrainChanged();
67  virtual void onSelectGeometryFile();
68  virtual void onClearGeometry();
69  virtual void onUseVisualModel();
70 
71 public:
74  QRadioButton* mySelectedFile;
75  QRadioButton* myUseObjectVisuals;
89 };
QPushButton * myCancelButton
Definition: uiObjectGeometryElement.h:86
Definition: uiObjectGeometryElement.h:25
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
QDialog * myGeometrySelectionDialog
Definition: uiObjectGeometryElement.h:88
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
QCheckBox * myUseDetailedGeometryInSimulationEngine
Definition: uiObjectGeometryElement.h:79
QPushButton * myOKButton
Definition: uiObjectGeometryElement.h:85
QLineEdit * myGeometryFile
Definition: uiObjectGeometryElement.h:82
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:185
QPushButton * myChooseVisualModel
Definition: uiObjectGeometryElement.h:87
QPushButton * myGenerateNavigationData
Definition: uiObjectGeometryElement.h:77
Definition: navDataGeneratorDialog.h:27
QRadioButton * myUseObjectVisuals
Definition: uiObjectGeometryElement.h:75
QPushButton * mySelectGeometry
Definition: uiObjectGeometryElement.h:76
QRadioButton * mySelectedFile
Definition: uiObjectGeometryElement.h:74
virtual bool isModified() const
DtNavDataGeneratorDialog * myGenerationDialog
Definition: uiObjectGeometryElement.h:72
QToolButton * myChooseGeometry
Definition: uiObjectGeometryElement.h:83
Definition: uiStringElement.h:15
DtUiStringElement * myObjectGeometryFile
Definition: uiObjectGeometryElement.h:73
QLabel * myNavigationStatusLabel
Definition: uiObjectGeometryElement.h:81
QPushButton * myClearGeometry
Definition: uiObjectGeometryElement.h:84
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
QPushButton * myRemoveGenerateNavigationData
Definition: uiObjectGeometryElement.h:78
QCheckBox * myEmbedIntoTerrain
Definition: uiObjectGeometryElement.h:80
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:180

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)