54 std::shared_ptr<GLogger> logger,
55 QWidget* parent =
nullptr);
68 QLineEdit* field_npoints =
nullptr;
74 QSlider* cameraTheta =
nullptr;
75 QSlider* cameraPhi =
nullptr;
76 QLCDNumber* thetaLCD =
nullptr;
77 QLCDNumber* phiLCD =
nullptr;
80 QComboBox* thetaDropdown =
nullptr;
81 QComboBox* phiDropdown =
nullptr;
84 QLCDNumber* lthetaLCD =
nullptr;
85 QLCDNumber* lphiLCD =
nullptr;
88 QComboBox* lthetaDropdown =
nullptr;
89 QComboBox* lphiDropdown =
nullptr;
92 QComboBox* perspectiveDropdown =
nullptr;
93 QComboBox* precisionDropdown =
nullptr;
94 QComboBox* cullingDropdown =
nullptr;
95 QComboBox* backgroundColorDropdown =
nullptr;
96 QToolButton* backgroundColorButton =
nullptr;
97 QSpinBox* cloudPointsSpinBox =
nullptr;
100 QSlider* explodeSlider =
nullptr;
101 QLabel* explodeValueLabel =
nullptr;
102 QComboBox* explodeIntensityDropdown =
nullptr;
105 QSlider* lightTheta =
nullptr;
106 QSlider* lightPhi =
nullptr;
109 QLineEdit* sliceXEdit =
nullptr;
110 QLineEdit* sliceYEdit =
nullptr;
111 QLineEdit* sliceZEdit =
nullptr;
114 QCheckBox* sliceXActi =
nullptr;
115 QCheckBox* sliceYActi =
nullptr;
116 QCheckBox* sliceZActi =
nullptr;
119 QCheckBox* sliceXInve =
nullptr;
120 QCheckBox* sliceYInve =
nullptr;
121 QCheckBox* sliceZInve =
nullptr;
124 QRadioButton* sliceSectn =
nullptr;
125 QRadioButton* sliceUnion =
nullptr;
130 int field_NPOINTS = 5;
133 QColor backgroundColor;
136 int cloudPoints = 1000;
139 std::shared_ptr<GOptions> gopts;
146 std::shared_ptr<GLogger> log;
148 void setBackgroundButtonColor(
const QColor& color);
149 void setBackgroundDropdownColor(
const QColor& color);
153 void syncViewToOptions();
165 void changeCameraDirection();
177 void setCameraDirection(
int which);
188 void changeLightDirection();
199 void setLightDirection(
int which);
210 void set_projection();
222 void set_precision();
240 void set_background();
245 void choose_background_color();
250 void set_cloud_points();
288 void apply_buttons_set1(
int index);
298 void readCameraFromViewer();
306 void field_precision_changed();
309 void showEvent(QShowEvent* event)
override;