VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
debugDrawTerrainPage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 
15 
16 class QGridLayout;
17 class QCheckBox;
18 class QRadioButton;
19 class QSlider;
20 class QLabel;
21 class QListWidget;
22 class DtDebugDrawColors;
23 
24 namespace makVrv
25 {
26  class DtDe;
27 }
28 
29 namespace makVrf
30 {
31  class DtDebugDrawTerrainLogic;
32  class DtDebugDrawConnectorPage;
33 
36  {
37  Q_OBJECT
38 
39  public:
40 
42  DtDebugDrawTerrainPage(makVrv::DtDe& de,QWidget* parent, Qt::WindowFlags f);
43 
45  virtual ~DtDebugDrawTerrainPage();
46 
48  virtual QIcon icon();
49 
52  virtual makVrv::DtQIconConfigurations qIconConfigurations() const;
53 
55  virtual QString title();
56 
58  virtual const std::string& pageClassName() const;
59 
61  static const std::string& thePageClassName();
62 
63  protected:
64 
66  virtual void setupGui();
67 
69  virtual void activate();
70 
72  virtual void deactivate();
73 
75  virtual void fillSoilColor();
76 
78  virtual void fillRoughnessSoilColor();
79 
80  protected slots:
81  virtual void on_myShowSkin_stateChanged(int state);
82  virtual void on_myShowSkinNoColor_clicked();
83  virtual void on_myShowSkinSoilColor_clicked();
84  virtual void on_myShowSkinRoughnessColor_clicked();
85  virtual void on_myShowSkinNormal_stateChanged(int state);
86  virtual void on_myShowCollisionObjects_stateChanged(int state);
87  virtual void on_myForcePageIn_stateChanged(int state);
88  virtual void on_myConnectButton_clicked();
89  virtual void on_myRefreshButton_clicked();
90  virtual void on_myQueryRange_textChanged(const QString &text);
91  virtual void on_myQueryRange_returnPressed();
92  virtual void on_myAlphaColorSlider_valueChanged();
93 
94  public:
95 
98 
99  QGridLayout* myMainLayout;
104  QRadioButton* myShowSkinNoColor;
105  QRadioButton* myShowSkinSoilColor;
110  QListWidget* myColorList;
112  };
113 
116 }
QRadioButton * myShowSkinNoColor
Definition: debugDrawTerrainPage.h:104
makVrv::DtPageCreatorTemplate< DtDebugDrawTerrainPage > DtDebugDrawTerrainPageCreator
Definition: debugDrawTerrainPage.h:115
QSlider * myAlphaColorSlider
Definition: debugDrawTerrainPage.h:102
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QCheckBox * myShowSkin
Definition: debugDrawTerrainPage.h:103
QCheckBox * myShowSkinNormal
Definition: debugDrawTerrainPage.h:107
QRadioButton * myShowSkinSoilColor
Definition: debugDrawTerrainPage.h:105
Definition: debugDrawTerrainInterface.h:22
QCheckBox * myShowCollisionObjects
Definition: debugDrawTerrainPage.h:108
Definition: DtPage.h:150
A widget for configuring the debug draw connector for the selected sim engine.
Definition: debugDrawConnectorPage.h:36
QLabel * myColorSliderName
Definition: debugDrawTerrainPage.h:101
QCheckBox * myForcePageIn
Definition: debugDrawTerrainPage.h:109
A widget for configuring the Debug Simulation Terrain information.
Definition: debugDrawTerrainPage.h:35
QRadioButton * myShowSkinRoughnessColor
Definition: debugDrawTerrainPage.h:106
QGridLayout * myMainLayout
Definition: debugDrawTerrainPage.h:99
QListWidget * myColorList
Definition: debugDrawTerrainPage.h:110
DtDebugDrawColors * myDebugDrawColors
Definition: debugDrawTerrainPage.h:111
Contains makVrf::DtDebugDrawTerrainLogic class. This class is trigger by the DebugDrawTerrainPage dia...
Definition: debugDrawTerrainLogic.h:32
This class will read ammunition, entity, weapons and assemblies and provide information about them...
Definition: debugDrawColors.h:16
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:72
DtDebugDrawConnectorPage * myConnectorToolbar
Definition: debugDrawTerrainPage.h:100
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
DtDebugDrawTerrainLogic * myLogic
Definition: debugDrawTerrainPage.h:97
makVrv::DtDe & myDe
Definition: debugDrawTerrainPage.h:96

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)