58 Q_PROPERTY(QString sliceViewName READ sliceViewName WRITE setSliceViewName)
59 Q_PROPERTY(QString sliceViewLabel READ sliceViewLabel WRITE setSliceViewLabel)
60 Q_PROPERTY(QColor sliceViewColor READ sliceViewColor WRITE setSliceViewColor)
61 Q_PROPERTY(
double sliceOffsetResolution READ sliceOffsetResolution WRITE setSliceOffsetResolution)
62 Q_PROPERTY(
bool moreButtonVisibility READ isMoreButtonVisible WRITE setMoreButtonVisible)
63 Q_PROPERTY(QString sliceOrientation READ sliceOrientation WRITE setSliceOrientation)
64 Q_PROPERTY(
bool showSliceOffsetSlider READ showSliceOffsetSlider WRITE setShowSliceOffsetSlider)
77 bool isCompareView()const;
81 QString sliceOrientation()const;
88 Q_INVOKABLE vtkAlgorithmOutput* imageDataConnection()const;
101 void setSliceViewName(const QString& newSliceViewName);
104 QString sliceViewName()const;
110 void setSliceViewLabel(const QString& newSliceViewLabel);
114 QString sliceViewLabel()const;
117 void setSliceViewColor(const QColor& newSliceViewColor);
120 QColor sliceViewColor()const;
123 Q_INVOKABLE
void setSliceOffsetRange(
double min,
double max);
126 void setSliceOffsetResolution(
double resolution);
129 double sliceOffsetResolution();
141 Q_INVOKABLE
void setControllerButtonGroup(QButtonGroup* group);
146 Q_INVOKABLE
void setSliceLogics(vtkCollection* logics);
152 Q_INVOKABLE QToolButton* fitToWindowToolButton();
155 bool showSliceOffsetSlider()const;
165 void setImageDataConnection(vtkAlgorithmOutput* newImageDataConnection);
168 void setSliceViewSize(const QSize& newSize);
172 void fitSliceToBackground();
177 void setSliceOrientation(const QString& orientation);
180 void setShowSliceOffsetSlider(
bool show);
183 void setSliceOffsetValue(
double offset);
186 void trackSliceOffsetValue(
double offset);
189 void setSliceVisible(
bool visible);
192 void setSliceLink(
bool linked);
197 void setHotLinked(
bool hot);
202 void setMoreButtonVisible(
bool visible);
205 bool isMoreButtonVisible() const;
209 void moveBackgroundComboBox(
bool move);
212 void updateSegmentationControlsVisibility();
215 void rotateSliceToLowestVolumeAxes();
217 void setSegmentationHidden(
bool hide);
218 void setLabelMapHidden(
bool hide);
219 void setForegroundHidden(
bool hide);
220 void setBackgroundHidden(
bool hide);
223 void setSegmentationOpacity(
double opacity);
225 void setLabelMapOpacity(
double opacity);
226 void setForegroundOpacity(
double opacity);
227 void setBackgroundOpacity(
double opacity);
230 void toggleSegmentationOutlineFill();
232 void showLabelOutline(
bool show);
234 void showReformatWidget(
bool show);
235 void lockReformatWidgetToCamera(
bool lock);
237 void showSlabReconstructionWidget(
bool show);
238 void toggleSlabReconstructionInteractive(
bool interactive);
240 void setCompositing(
int mode);
241 void setCompositingToAlphaBlend();
242 void setCompositingToReverseAlphaBlend();
243 void setCompositingToAdd();
244 void setCompositingToSubtract();
246 void setSliceSpacingMode(
bool automatic);
247 void setSliceSpacing(
double spacing);
248 void setSliceFOV(
double fov);
251 void setSliceModelMode(
int mode);
252 void setSliceModelModeVolumes();
253 void setSliceModelMode2D();
254 void setSliceModelMode2D_Volumes();
255 void setSliceModelModeVolumes_2D();
256 void setSliceModelModeCustom();
258 void setSliceModelFOV(
int index,
double fov);
259 void setSliceModelFOVX(
double fov);
260 void setSliceModelFOVY(
double fov);
262 void setSliceModelOrigin(
int index,
double fov);
263 void setSliceModelOriginX(
double fov);
264 void setSliceModelOriginY(
double fov);
266 void setSliceModelDimension(
int index,
int dim);
267 void setSliceModelDimensionX(
int dim);
268 void setSliceModelDimensionY(
int dim);
271 void setOrientationMarkerType(
int type);
272 void setOrientationMarkerSize(
int size);
275 void setRulerType(
int type);
276 void setRulerColor(
int color);
279 void setSlabReconstructionType(
int type);
280 void setSlabReconstructionThickness(
double thickness);
283 void setLightbox(
int rows,
int columns);
284 void setLightboxTo1x1();
285 void setLightboxTo1x2();
286 void setLightboxTo1x3();
287 void setLightboxTo1x4();
288 void setLightboxTo1x6();
289 void setLightboxTo1x8();
290 void setLightboxTo2x2();
291 void setLightboxTo3x3();
292 void setLightboxTo6x6();
294 void setForegroundInterpolation(
bool nearestNeighbor);
295 void setBackgroundInterpolation(
bool nearestNeighbor);
297 void updateWidgetFromMRMLView() override;
301 void imageDataConnectionChanged(vtkAlgorithmOutput * imageDataConnection);
303 void renderRequested();