57 QWidget* parent =
nullptr);
113 void modelActivationRequested(
const QString& modelName);
114 void classSelectionRequested(
const QString& modelName, uint classId,
bool selected);
115 void modelsRefreshRequested();
116 void applyMeanStdRequested(
const QString& modelName,
bool apply);
117 void normalizeTo01Requested(
const QString& modelName,
bool normalize);
118 void inputAlignmentRequested(
const QString& modelName, uint alignment);
123 void onClassListUpdated(
const QVector<ModelConfig::ClassInfo>& classes);
124 void onModelsListUpdated(
const QVector<ModelManager::ModelEntry>& models);
127 void onModelIndexChanged(
int index);
128 void onClassCheckBoxToggled();
129 void onInvertSelectionClicked();
130 void onSearchTextChanged(
const QString& text);
131 void onApplyMeanStdToggled(
bool checked);
132 void onNormalizeTo01Toggled(
bool checked);
133 void onInputAlignmentChanged(
const QString& text);
136 bool eventFilter(QObject* watched, QEvent* event)
override;
153 const QString& errorMessage);
186 QComboBox* m_modelCombo =
nullptr;
187 QLabel* m_statusLabel =
nullptr;
188 QCheckBox* m_applyMeanStdCheckBox =
nullptr;
189 QCheckBox* m_normalizeTo01CheckBox =
nullptr;
190 QLineEdit* m_inputAlignmentEdit =
nullptr;
191 QLabel* m_meanStdDisplayLabel =
nullptr;
192 QLabel* m_configChangeWarningLabel =
nullptr;
193 QPushButton* m_configSectionToggleButton =
nullptr;
194 QWidget* m_configurationSection =
nullptr;
195 QGroupBox* m_configContentWidget =
nullptr;
196 QWidget* m_classContainer =
nullptr;
197 QWidget* m_errorContainer =
nullptr;
198 QLabel* m_errorMessageLabel =
nullptr;
199 QLabel* m_errorHintLabel =
nullptr;
200 QLineEdit* m_searchEdit =
nullptr;
201 QPushButton* m_invertButton =
nullptr;
202 QWidget* m_classGridWidget =
nullptr;
203 QScrollArea* m_classScrollArea =
nullptr;
207 QString m_currentModelName;
208 QVector<QCheckBox*> m_classCheckBoxes;
209 QVector<QWidget*> m_classContainers;
210 QVector<uint> m_classIds;
213 QVector<ModelManager::ModelEntry> m_cachedModels;
214 QVector<ModelConfig::ClassInfo> m_cachedClasses;
216 QString m_cachedModelError;
217 bool m_cachedApplyMeanStd =
true;
218 bool m_cachedNormalizeTo01 =
true;
219 uint m_cachedInputAlignment = 1;
220 std::vector<float> m_cachedMean;
221 std::vector<float> m_cachedStd;
222 std::shared_ptr<ModelConfig> m_cachedCurrentConfig;
225 bool m_originalApplyMeanStd =
true;
226 bool m_originalNormalizeTo01 =
true;
227 uint m_originalInputAlignment = 1;
229 bool m_blockSignals =
false;
230 bool m_configurationSectionExpanded =
false;
Discovery, validation, activation, and state tracking for model configs.
Manages model configurations in a directory and exposes UI-friendly state.
Definition ModelManager.h:43
ModelState
High-level availability state of a model entry.
Definition ModelManager.h:50
Namespace containing model-configuration components used by iVS3D plugins.
Definition ModelConfig.h:35