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) 2024 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 class QComboBox;
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 namespace makVrf
31 {
32  class DtDebugDrawTerrainLogic;
33  class DtDebugDrawConnectorPage;
34 
37  {
38  Q_OBJECT
39 
40  public:
41 
43  DtDebugDrawTerrainPage(makVrv::DtDe& de,QWidget* parent, Qt::WindowFlags f);
44 
46  virtual ~DtDebugDrawTerrainPage() override;
47 
49  virtual QIcon icon() override;
50 
53  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
54 
56  virtual QString title() override;
57 
59  virtual const std::string& pageClassName() const override;
60 
62  static const std::string& thePageClassName();
63 
64  protected:
65 
67  virtual void setupGui() override;
68 
70  virtual void activate() override;
71 
73  virtual void deactivate() override;
74 
76  virtual void fillSoilColor();
77 
79  virtual void fillRoughnessSoilColor();
80 
82  virtual void setupComboBox();
83 
84  protected slots:
85  virtual void on_myShowSkin_stateChanged(int state);
86  virtual void on_myShowSkinNoColor_clicked();
87  virtual void on_myShowSkinSoilColor_clicked();
88  virtual void on_myShowSkinRoughnessColor_clicked();
89  virtual void on_myTerrainCategoryMask_currentTextChanged(const QString& text);
90  virtual void on_myShowSkinNormal_stateChanged(int state);
91  virtual void on_myShowCollisionObjects_stateChanged(int state);
92  virtual void on_myForcePageIn_stateChanged(int state);
93  virtual void on_myUseInstancedGeometry_stateChanged(int state);
94  virtual void on_myConnectButton_clicked();
95  virtual void on_myRefreshButton_clicked();
96  virtual void on_myQueryRange_textChanged(const QString &text);
97  virtual void on_myQueryRange_returnPressed();
98  virtual void on_myAlphaColorSlider_valueChanged();
99 
100  public:
101 
104 
105  QGridLayout* myMainLayout;
110  QRadioButton* myShowSkinNoColor;
111  QRadioButton* myShowSkinSoilColor;
120  QListWidget* myColorList;
122  };
123 
126 }
QRadioButton * myShowSkinNoColor
Definition: debugDrawTerrainPage.h:110
makVrv::DtPageCreatorTemplate< DtDebugDrawTerrainPage > DtDebugDrawTerrainPageCreator
Definition: debugDrawTerrainPage.h:125
QSlider * myAlphaColorSlider
Definition: debugDrawTerrainPage.h:108
QCheckBox * myUseInstancedGeometry
Definition: debugDrawTerrainPage.h:119
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QString myTerrainCategoryMaskString
Definition: debugDrawTerrainPage.h:115
QCheckBox * myShowSkin
Definition: debugDrawTerrainPage.h:109
QCheckBox * myShowSkinNormal
Definition: debugDrawTerrainPage.h:116
QRadioButton * myShowSkinSoilColor
Definition: debugDrawTerrainPage.h:111
Definition: debugDrawTerrainInterface.h:22
QCheckBox * myShowCollisionObjects
Definition: debugDrawTerrainPage.h:117
Definition: DtPage.h:181
A widget for configuring the debug draw connector for the selected sim engine.
Definition: debugDrawConnectorPage.h:36
QLabel * myColorSliderName
Definition: debugDrawTerrainPage.h:107
QCheckBox * myForcePageIn
Definition: debugDrawTerrainPage.h:118
A widget for configuring the Debug Simulation Terrain information.
Definition: debugDrawTerrainPage.h:36
QRadioButton * myShowSkinRoughnessColor
Definition: debugDrawTerrainPage.h:112
QLabel * myTerrainCategoryMaskLabel
Definition: debugDrawTerrainPage.h:113
QGridLayout * myMainLayout
Definition: debugDrawTerrainPage.h:105
QListWidget * myColorList
Definition: debugDrawTerrainPage.h:120
DtDebugDrawColors * myDebugDrawColors
Definition: debugDrawTerrainPage.h:121
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:76
DtDebugDrawConnectorPage * myConnectorToolbar
Definition: debugDrawTerrainPage.h:106
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
QComboBox * myTerrainCategoryMask
Definition: debugDrawTerrainPage.h:114
DtDebugDrawTerrainLogic * myLogic
Definition: debugDrawTerrainPage.h:103
makVrv::DtDe & myDe
Definition: debugDrawTerrainPage.h:102

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)