ui_clippingBoxRepeatDlg.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'clippingBoxRepeatDlg.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.15.10
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_CLIPPINGBOXREPEATDLG_H
  9. #define UI_CLIPPINGBOXREPEATDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QCheckBox>
  13. #include <QtWidgets/QComboBox>
  14. #include <QtWidgets/QDialog>
  15. #include <QtWidgets/QDialogButtonBox>
  16. #include <QtWidgets/QDoubleSpinBox>
  17. #include <QtWidgets/QFormLayout>
  18. #include <QtWidgets/QGroupBox>
  19. #include <QtWidgets/QHBoxLayout>
  20. #include <QtWidgets/QLabel>
  21. #include <QtWidgets/QSpacerItem>
  22. #include <QtWidgets/QSpinBox>
  23. #include <QtWidgets/QVBoxLayout>
  24. QT_BEGIN_NAMESPACE
  25. class Ui_ClippingBoxRepeatDlg
  26. {
  27. public:
  28. QVBoxLayout *verticalLayout;
  29. QGroupBox *repeatDimGroupBox;
  30. QHBoxLayout *horizontalLayout;
  31. QCheckBox *xRepeatCheckBox;
  32. QCheckBox *yRepeatCheckBox;
  33. QCheckBox *zRepeatCheckBox;
  34. QGroupBox *extractSliceEntitiesGroupBox;
  35. QVBoxLayout *verticalLayout_4;
  36. QCheckBox *randomColorCheckBox;
  37. QGroupBox *extractEnvelopesGroupBox;
  38. QVBoxLayout *verticalLayout_3;
  39. QFormLayout *formLayout;
  40. QLabel *label_3;
  41. QComboBox *envelopeTypeComboBox;
  42. QLabel *label_2;
  43. QDoubleSpinBox *maxEnvelopeEdgeLengthDoubleSpinBox;
  44. QCheckBox *multiPassEnvelopeCheckBox;
  45. QCheckBox *envProjectPointsOnBestFitCheckBox;
  46. QCheckBox *splitEnvelopeCheckBox;
  47. QCheckBox *envDebugModeCheckBox;
  48. QGroupBox *extractLevelSetGroupBox;
  49. QFormLayout *formLayout_2;
  50. QLabel *label_4;
  51. QDoubleSpinBox *lsGridStepDoubleSpinBox;
  52. QLabel *label_11;
  53. QSpinBox *minLSVertexCountSpinBox;
  54. QGroupBox *otherOptionsGroupBox;
  55. QFormLayout *formLayout_3;
  56. QLabel *label;
  57. QDoubleSpinBox *gapDoubleSpinBox;
  58. QLabel *label_5;
  59. QComboBox *groupByTypeComboBox;
  60. QSpacerItem *verticalSpacer;
  61. QDialogButtonBox *buttonBox;
  62. void setupUi(QDialog *ClippingBoxRepeatDlg)
  63. {
  64. if (ClippingBoxRepeatDlg->objectName().isEmpty())
  65. ClippingBoxRepeatDlg->setObjectName(QString::fromUtf8("ClippingBoxRepeatDlg"));
  66. ClippingBoxRepeatDlg->resize(400, 550);
  67. verticalLayout = new QVBoxLayout(ClippingBoxRepeatDlg);
  68. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  69. repeatDimGroupBox = new QGroupBox(ClippingBoxRepeatDlg);
  70. repeatDimGroupBox->setObjectName(QString::fromUtf8("repeatDimGroupBox"));
  71. horizontalLayout = new QHBoxLayout(repeatDimGroupBox);
  72. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  73. xRepeatCheckBox = new QCheckBox(repeatDimGroupBox);
  74. xRepeatCheckBox->setObjectName(QString::fromUtf8("xRepeatCheckBox"));
  75. xRepeatCheckBox->setStyleSheet(QString::fromUtf8("background-color: red;\n"
  76. "color: white;"));
  77. xRepeatCheckBox->setText(QString::fromUtf8("X"));
  78. horizontalLayout->addWidget(xRepeatCheckBox);
  79. yRepeatCheckBox = new QCheckBox(repeatDimGroupBox);
  80. yRepeatCheckBox->setObjectName(QString::fromUtf8("yRepeatCheckBox"));
  81. yRepeatCheckBox->setStyleSheet(QString::fromUtf8("background-color: green;\n"
  82. "color: white;"));
  83. yRepeatCheckBox->setText(QString::fromUtf8("Y"));
  84. horizontalLayout->addWidget(yRepeatCheckBox);
  85. zRepeatCheckBox = new QCheckBox(repeatDimGroupBox);
  86. zRepeatCheckBox->setObjectName(QString::fromUtf8("zRepeatCheckBox"));
  87. zRepeatCheckBox->setStyleSheet(QString::fromUtf8("background-color: blue;\n"
  88. "color: white;"));
  89. zRepeatCheckBox->setText(QString::fromUtf8("Z"));
  90. zRepeatCheckBox->setChecked(true);
  91. horizontalLayout->addWidget(zRepeatCheckBox);
  92. verticalLayout->addWidget(repeatDimGroupBox);
  93. extractSliceEntitiesGroupBox = new QGroupBox(ClippingBoxRepeatDlg);
  94. extractSliceEntitiesGroupBox->setObjectName(QString::fromUtf8("extractSliceEntitiesGroupBox"));
  95. extractSliceEntitiesGroupBox->setMinimumSize(QSize(0, 30));
  96. extractSliceEntitiesGroupBox->setCheckable(true);
  97. verticalLayout_4 = new QVBoxLayout(extractSliceEntitiesGroupBox);
  98. verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
  99. randomColorCheckBox = new QCheckBox(extractSliceEntitiesGroupBox);
  100. randomColorCheckBox->setObjectName(QString::fromUtf8("randomColorCheckBox"));
  101. verticalLayout_4->addWidget(randomColorCheckBox);
  102. verticalLayout->addWidget(extractSliceEntitiesGroupBox);
  103. extractEnvelopesGroupBox = new QGroupBox(ClippingBoxRepeatDlg);
  104. extractEnvelopesGroupBox->setObjectName(QString::fromUtf8("extractEnvelopesGroupBox"));
  105. extractEnvelopesGroupBox->setCheckable(true);
  106. extractEnvelopesGroupBox->setChecked(false);
  107. verticalLayout_3 = new QVBoxLayout(extractEnvelopesGroupBox);
  108. verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
  109. formLayout = new QFormLayout();
  110. formLayout->setObjectName(QString::fromUtf8("formLayout"));
  111. label_3 = new QLabel(extractEnvelopesGroupBox);
  112. label_3->setObjectName(QString::fromUtf8("label_3"));
  113. formLayout->setWidget(0, QFormLayout::LabelRole, label_3);
  114. envelopeTypeComboBox = new QComboBox(extractEnvelopesGroupBox);
  115. envelopeTypeComboBox->addItem(QString());
  116. envelopeTypeComboBox->addItem(QString());
  117. envelopeTypeComboBox->addItem(QString());
  118. envelopeTypeComboBox->setObjectName(QString::fromUtf8("envelopeTypeComboBox"));
  119. formLayout->setWidget(0, QFormLayout::FieldRole, envelopeTypeComboBox);
  120. label_2 = new QLabel(extractEnvelopesGroupBox);
  121. label_2->setObjectName(QString::fromUtf8("label_2"));
  122. formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
  123. maxEnvelopeEdgeLengthDoubleSpinBox = new QDoubleSpinBox(extractEnvelopesGroupBox);
  124. maxEnvelopeEdgeLengthDoubleSpinBox->setObjectName(QString::fromUtf8("maxEnvelopeEdgeLengthDoubleSpinBox"));
  125. maxEnvelopeEdgeLengthDoubleSpinBox->setDecimals(6);
  126. maxEnvelopeEdgeLengthDoubleSpinBox->setMaximum(1000000000.000000000000000);
  127. formLayout->setWidget(1, QFormLayout::FieldRole, maxEnvelopeEdgeLengthDoubleSpinBox);
  128. verticalLayout_3->addLayout(formLayout);
  129. multiPassEnvelopeCheckBox = new QCheckBox(extractEnvelopesGroupBox);
  130. multiPassEnvelopeCheckBox->setObjectName(QString::fromUtf8("multiPassEnvelopeCheckBox"));
  131. verticalLayout_3->addWidget(multiPassEnvelopeCheckBox);
  132. envProjectPointsOnBestFitCheckBox = new QCheckBox(extractEnvelopesGroupBox);
  133. envProjectPointsOnBestFitCheckBox->setObjectName(QString::fromUtf8("envProjectPointsOnBestFitCheckBox"));
  134. verticalLayout_3->addWidget(envProjectPointsOnBestFitCheckBox);
  135. splitEnvelopeCheckBox = new QCheckBox(extractEnvelopesGroupBox);
  136. splitEnvelopeCheckBox->setObjectName(QString::fromUtf8("splitEnvelopeCheckBox"));
  137. verticalLayout_3->addWidget(splitEnvelopeCheckBox);
  138. envDebugModeCheckBox = new QCheckBox(extractEnvelopesGroupBox);
  139. envDebugModeCheckBox->setObjectName(QString::fromUtf8("envDebugModeCheckBox"));
  140. verticalLayout_3->addWidget(envDebugModeCheckBox);
  141. verticalLayout->addWidget(extractEnvelopesGroupBox);
  142. extractLevelSetGroupBox = new QGroupBox(ClippingBoxRepeatDlg);
  143. extractLevelSetGroupBox->setObjectName(QString::fromUtf8("extractLevelSetGroupBox"));
  144. extractLevelSetGroupBox->setCheckable(true);
  145. extractLevelSetGroupBox->setChecked(false);
  146. formLayout_2 = new QFormLayout(extractLevelSetGroupBox);
  147. formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
  148. label_4 = new QLabel(extractLevelSetGroupBox);
  149. label_4->setObjectName(QString::fromUtf8("label_4"));
  150. formLayout_2->setWidget(0, QFormLayout::LabelRole, label_4);
  151. lsGridStepDoubleSpinBox = new QDoubleSpinBox(extractLevelSetGroupBox);
  152. lsGridStepDoubleSpinBox->setObjectName(QString::fromUtf8("lsGridStepDoubleSpinBox"));
  153. lsGridStepDoubleSpinBox->setDecimals(6);
  154. lsGridStepDoubleSpinBox->setMinimum(0.000001000000000);
  155. lsGridStepDoubleSpinBox->setMaximum(100000.000000000000000);
  156. lsGridStepDoubleSpinBox->setValue(1.000000000000000);
  157. formLayout_2->setWidget(0, QFormLayout::FieldRole, lsGridStepDoubleSpinBox);
  158. label_11 = new QLabel(extractLevelSetGroupBox);
  159. label_11->setObjectName(QString::fromUtf8("label_11"));
  160. formLayout_2->setWidget(1, QFormLayout::LabelRole, label_11);
  161. minLSVertexCountSpinBox = new QSpinBox(extractLevelSetGroupBox);
  162. minLSVertexCountSpinBox->setObjectName(QString::fromUtf8("minLSVertexCountSpinBox"));
  163. minLSVertexCountSpinBox->setMinimum(3);
  164. minLSVertexCountSpinBox->setMaximum(10000000);
  165. formLayout_2->setWidget(1, QFormLayout::FieldRole, minLSVertexCountSpinBox);
  166. verticalLayout->addWidget(extractLevelSetGroupBox);
  167. otherOptionsGroupBox = new QGroupBox(ClippingBoxRepeatDlg);
  168. otherOptionsGroupBox->setObjectName(QString::fromUtf8("otherOptionsGroupBox"));
  169. formLayout_3 = new QFormLayout(otherOptionsGroupBox);
  170. formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
  171. label = new QLabel(otherOptionsGroupBox);
  172. label->setObjectName(QString::fromUtf8("label"));
  173. formLayout_3->setWidget(0, QFormLayout::LabelRole, label);
  174. gapDoubleSpinBox = new QDoubleSpinBox(otherOptionsGroupBox);
  175. gapDoubleSpinBox->setObjectName(QString::fromUtf8("gapDoubleSpinBox"));
  176. gapDoubleSpinBox->setDecimals(6);
  177. gapDoubleSpinBox->setMaximum(1000000000.000000000000000);
  178. formLayout_3->setWidget(0, QFormLayout::FieldRole, gapDoubleSpinBox);
  179. label_5 = new QLabel(otherOptionsGroupBox);
  180. label_5->setObjectName(QString::fromUtf8("label_5"));
  181. formLayout_3->setWidget(1, QFormLayout::LabelRole, label_5);
  182. groupByTypeComboBox = new QComboBox(otherOptionsGroupBox);
  183. groupByTypeComboBox->addItem(QString());
  184. groupByTypeComboBox->addItem(QString());
  185. groupByTypeComboBox->addItem(QString());
  186. groupByTypeComboBox->addItem(QString());
  187. groupByTypeComboBox->addItem(QString());
  188. groupByTypeComboBox->setObjectName(QString::fromUtf8("groupByTypeComboBox"));
  189. formLayout_3->setWidget(1, QFormLayout::FieldRole, groupByTypeComboBox);
  190. verticalLayout->addWidget(otherOptionsGroupBox);
  191. verticalSpacer = new QSpacerItem(20, 4, QSizePolicy::Minimum, QSizePolicy::Expanding);
  192. verticalLayout->addItem(verticalSpacer);
  193. buttonBox = new QDialogButtonBox(ClippingBoxRepeatDlg);
  194. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  195. buttonBox->setOrientation(Qt::Horizontal);
  196. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  197. verticalLayout->addWidget(buttonBox);
  198. retranslateUi(ClippingBoxRepeatDlg);
  199. QObject::connect(buttonBox, SIGNAL(accepted()), ClippingBoxRepeatDlg, SLOT(accept()));
  200. QObject::connect(buttonBox, SIGNAL(rejected()), ClippingBoxRepeatDlg, SLOT(reject()));
  201. envelopeTypeComboBox->setCurrentIndex(2);
  202. groupByTypeComboBox->setCurrentIndex(3);
  203. QMetaObject::connectSlotsByName(ClippingBoxRepeatDlg);
  204. } // setupUi
  205. void retranslateUi(QDialog *ClippingBoxRepeatDlg)
  206. {
  207. ClippingBoxRepeatDlg->setWindowTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Slice extraction", nullptr));
  208. #if QT_CONFIG(tooltip)
  209. repeatDimGroupBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "The segmentation process will be repeated along the following dimensions (+/-)", nullptr));
  210. #endif // QT_CONFIG(tooltip)
  211. repeatDimGroupBox->setTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Repeat dimensions", nullptr));
  212. extractSliceEntitiesGroupBox->setTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Extract slice cloud(s) or mesh(es)", nullptr));
  213. #if QT_CONFIG(tooltip)
  214. randomColorCheckBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "If checked, a random color will be assigned to each slice (warning: will overwrite any existing color!)", nullptr));
  215. #endif // QT_CONFIG(tooltip)
  216. randomColorCheckBox->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "random colors per slice (will overwrite existing colors!)", nullptr));
  217. #if QT_CONFIG(tooltip)
  218. extractEnvelopesGroupBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Check that option if you wish to extract the envelope of each slice", nullptr));
  219. #endif // QT_CONFIG(tooltip)
  220. extractEnvelopesGroupBox->setTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Extract envelope(s)", nullptr));
  221. label_3->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Envelope type", nullptr));
  222. envelopeTypeComboBox->setItemText(0, QCoreApplication::translate("ClippingBoxRepeatDlg", "Lower", nullptr));
  223. envelopeTypeComboBox->setItemText(1, QCoreApplication::translate("ClippingBoxRepeatDlg", "Upper", nullptr));
  224. envelopeTypeComboBox->setItemText(2, QCoreApplication::translate("ClippingBoxRepeatDlg", "Full", nullptr));
  225. #if QT_CONFIG(tooltip)
  226. envelopeTypeComboBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Envelope type (lower or upper part, or both)", nullptr));
  227. #endif // QT_CONFIG(tooltip)
  228. label_2->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Max edge length", nullptr));
  229. #if QT_CONFIG(tooltip)
  230. maxEnvelopeEdgeLengthDoubleSpinBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Max edge length (if 0, generates a unique and closed envelope = convex hull)", nullptr));
  231. #endif // QT_CONFIG(tooltip)
  232. #if QT_CONFIG(tooltip)
  233. multiPassEnvelopeCheckBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Multi-pass process where longer edges may be temporarily created to obtain a better fit... or a worst one ;)", nullptr));
  234. #endif // QT_CONFIG(tooltip)
  235. multiPassEnvelopeCheckBox->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "multi-pass", nullptr));
  236. #if QT_CONFIG(tooltip)
  237. envProjectPointsOnBestFitCheckBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Before extracting the contour, points can be projected along the repeat dimension (if only one is defined) or on the best fit plane", nullptr));
  238. #endif // QT_CONFIG(tooltip)
  239. envProjectPointsOnBestFitCheckBox->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "project slice(s) points on their best fit plane", nullptr));
  240. #if QT_CONFIG(tooltip)
  241. splitEnvelopeCheckBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "split the generated contour(s) in smaller parts to avoid creating edges longer than the specified max edge length.", nullptr));
  242. #endif // QT_CONFIG(tooltip)
  243. splitEnvelopeCheckBox->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "split envelope(s) on longer edges", nullptr));
  244. #if QT_CONFIG(tooltip)
  245. envDebugModeCheckBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Display a dialog with step-by-step execution of the algorithm (debug mode - very slow)", nullptr));
  246. #endif // QT_CONFIG(tooltip)
  247. envDebugModeCheckBox->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "visual debug mode", nullptr));
  248. #if QT_CONFIG(tooltip)
  249. extractLevelSetGroupBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Extract the point contours (via a rasterization process)", nullptr));
  250. #endif // QT_CONFIG(tooltip)
  251. extractLevelSetGroupBox->setTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Extract contours", nullptr));
  252. label_4->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Grid step", nullptr));
  253. #if QT_CONFIG(tooltip)
  254. lsGridStepDoubleSpinBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Step of the internally generated grid obtained by rasterizing the points and exporting the contours", nullptr));
  255. #endif // QT_CONFIG(tooltip)
  256. label_11->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Min. vertex count", nullptr));
  257. #if QT_CONFIG(tooltip)
  258. minLSVertexCountSpinBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Min vertex count per contour (to ignore the smallest ones)", nullptr));
  259. #endif // QT_CONFIG(tooltip)
  260. otherOptionsGroupBox->setTitle(QCoreApplication::translate("ClippingBoxRepeatDlg", "Other options", nullptr));
  261. label->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Gap", nullptr));
  262. #if QT_CONFIG(tooltip)
  263. gapDoubleSpinBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "Gap between the slices", nullptr));
  264. #endif // QT_CONFIG(tooltip)
  265. label_5->setText(QCoreApplication::translate("ClippingBoxRepeatDlg", "Group generated entities by", nullptr));
  266. groupByTypeComboBox->setItemText(0, QCoreApplication::translate("ClippingBoxRepeatDlg", "Type", nullptr));
  267. groupByTypeComboBox->setItemText(1, QCoreApplication::translate("ClippingBoxRepeatDlg", "Origin entity", nullptr));
  268. groupByTypeComboBox->setItemText(2, QCoreApplication::translate("ClippingBoxRepeatDlg", "Slice", nullptr));
  269. groupByTypeComboBox->setItemText(3, QCoreApplication::translate("ClippingBoxRepeatDlg", "Origin entity, then slice", nullptr));
  270. groupByTypeComboBox->setItemText(4, QCoreApplication::translate("ClippingBoxRepeatDlg", "Slice, then origin entity", nullptr));
  271. #if QT_CONFIG(tooltip)
  272. groupByTypeComboBox->setToolTip(QCoreApplication::translate("ClippingBoxRepeatDlg", "How generated slices, envelopes and contours will be regrouped in the DB tree", nullptr));
  273. #endif // QT_CONFIG(tooltip)
  274. } // retranslateUi
  275. };
  276. namespace Ui {
  277. class ClippingBoxRepeatDlg: public Ui_ClippingBoxRepeatDlg {};
  278. } // namespace Ui
  279. QT_END_NAMESPACE
  280. #endif // UI_CLIPPINGBOXREPEATDLG_H