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 setSliceEdgeVisibility3D(
bool visible);
195 void setSliceLink(
bool linked);
200 void setHotLinked(
bool hot);
205 void setMoreButtonVisible(
bool visible);
208 bool isMoreButtonVisible() const;
212 void moveBackgroundComboBox(
bool move);
215 void updateSegmentationControlsVisibility();
218 void rotateSliceToLowestVolumeAxes();
220 void setSegmentationHidden(
bool hide);
221 void setLabelMapHidden(
bool hide);
222 void setForegroundHidden(
bool hide);
223 void setBackgroundHidden(
bool hide);
226 void setSegmentationOpacity(
double opacity);
228 void setLabelMapOpacity(
double opacity);
229 void setForegroundOpacity(
double opacity);
230 void setBackgroundOpacity(
double opacity);
233 void toggleSegmentationOutlineFill();
235 void showLabelOutline(
bool show);
237 void showReformatWidget(
bool show);
238 void lockReformatWidgetToCamera(
bool lock);
240 void showSlabReconstructionWidget(
bool show);
241 void toggleSlabReconstructionInteractive(
bool interactive);
243 void setCompositing(
int mode);
244 void setCompositingToAlphaBlend();
245 void setCompositingToReverseAlphaBlend();
246 void setCompositingToAdd();
247 void setCompositingToSubtract();
248 void setClipToBackground(
bool enabled);
250 void setSliceSpacingMode(
bool automatic);
251 void setSliceSpacing(
double spacing);
252 void setSliceFOV(
double fov);
255 void setSliceModelMode(
int mode);
256 void setSliceModelModeVolumes();
257 void setSliceModelMode2D();
258 void setSliceModelMode2D_Volumes();
259 void setSliceModelModeVolumes_2D();
260 void setSliceModelModeCustom();
262 void setSliceModelFOV(
int index,
double fov);
263 void setSliceModelFOVX(
double fov);
264 void setSliceModelFOVY(
double fov);
266 void setSliceModelOrigin(
int index,
double fov);
267 void setSliceModelOriginX(
double fov);
268 void setSliceModelOriginY(
double fov);
270 void setSliceModelDimension(
int index,
int dim);
271 void setSliceModelDimensionX(
int dim);
272 void setSliceModelDimensionY(
int dim);
275 void setOrientationMarkerType(
int type);
276 void setOrientationMarkerSize(
int size);
279 void setRulerType(
int type);
280 void setRulerColor(
int color);
283 void setSlabReconstructionType(
int type);
284 void setSlabReconstructionThickness(
double thickness);
287 void setLightbox(
int rows,
int columns);
288 void setLightboxTo1x1();
289 void setLightboxTo1x2();
290 void setLightboxTo1x3();
291 void setLightboxTo1x4();
292 void setLightboxTo1x6();
293 void setLightboxTo1x8();
294 void setLightboxTo2x2();
295 void setLightboxTo3x3();
296 void setLightboxTo6x6();
298 void setForegroundInterpolation(
bool nearestNeighbor);
299 void setBackgroundInterpolation(
bool nearestNeighbor);
301 void updateWidgetFromMRMLView() override;
305 void imageDataConnectionChanged(vtkAlgorithmOutput * imageDataConnection);
307 void renderRequested();