VR-Forces 4.10 Class Documentation
 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;
19 class QCheckBox;
20 class QDialog;
21 class QLineEdit;
22 class QRadioButton;
23 
25 {
26  Q_OBJECT
27 
28 public:
29 
32 
34  virtual ~DtUiObjectGeometryElement();
35 
37 
38 protected:
39  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
40 
42  virtual void createControls(QWidget* widget);
43 
44  virtual void geometryFileChanged(DtUiElement*);
45 
46  virtual DtFilename geometryFile() const;
47 
48  virtual DtFilename makeRelativeToModelSet(const DtFilename&) const;
49 
50  virtual void checkNavigationData();
51  virtual bool isModified() const;
52 
53  virtual void generationComplete(bool);
54  virtual void enableElements();
55 
56  virtual DtFilename modelDefinitionFile(bool resolve = true) const;
57  virtual DtFilename makeFilenameRelative(const DtFilename& f) const;
58 
59 protected slots:
60  virtual void onSelectGeometry();
61  virtual void onGenerateNavigationData();
62  virtual void onRemoveNavigationData();
63  virtual void useDetailedGeometryInSimulationEngineChanged();
64  virtual void whichModelToUseChanged();
65  virtual void embedIntoTerrainChanged();
66  virtual void onSelectGeometryFile();
67  virtual void onClearGeometry();
68  virtual void onUseVisualModel();
69 
70 public:
73  QRadioButton* mySelectedFile;
74  QRadioButton* myUseObjectVisuals;
88 };
QPushButton * myCancelButton
Definition: uiObjectGeometryElement.h:85
Definition: uiObjectGeometryElement.h:24
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:87
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
QCheckBox * myUseDetailedGeometryInSimulationEngine
Definition: uiObjectGeometryElement.h:78
QPushButton * myOKButton
Definition: uiObjectGeometryElement.h:84
QLineEdit * myGeometryFile
Definition: uiObjectGeometryElement.h:81
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:177
QPushButton * myChooseVisualModel
Definition: uiObjectGeometryElement.h:86
QPushButton * myChooseGeometry
Definition: uiObjectGeometryElement.h:82
QPushButton * myGenerateNavigationData
Definition: uiObjectGeometryElement.h:76
Definition: navDataGeneratorDialog.h:27
QRadioButton * myUseObjectVisuals
Definition: uiObjectGeometryElement.h:74
QPushButton * mySelectGeometry
Definition: uiObjectGeometryElement.h:75
QRadioButton * mySelectedFile
Definition: uiObjectGeometryElement.h:73
virtual bool isModified() const
DtNavDataGeneratorDialog * myGenerationDialog
Definition: uiObjectGeometryElement.h:71
Definition: uiStringElement.h:15
DtUiStringElement * myObjectGeometryFile
Definition: uiObjectGeometryElement.h:72
QLabel * myNavigationStatusLabel
Definition: uiObjectGeometryElement.h:80
QPushButton * myClearGeometry
Definition: uiObjectGeometryElement.h:83
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QPushButton * myRemoveGenerateNavigationData
Definition: uiObjectGeometryElement.h:77
QCheckBox * myEmbedIntoTerrain
Definition: uiObjectGeometryElement.h:79
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
Base class of the ui element class chain.
Definition: uiElement.h:172

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)