25#ifndef vtkMRMLSliceIntersectionWidget_h
26#define vtkMRMLSliceIntersectionWidget_h
28#include "vtkMRMLDisplayableManagerExport.h"
33#include <vtkCallbackCommand.h>
34#include <vtkCollection.h>
35#include <vtkSmartPointer.h>
36#include <vtkWeakPointer.h>
38class vtkSliceIntersectionRepresentation2D;
56 void PrintSelf(ostream& os, vtkIndent indent)
override;
84 WidgetStateMoveCrosshair = WidgetStateUser,
110 WidgetEventTouchGestureStart = WidgetEventUser,
167 ActionBrowseSlice = 64,
168 ActionShowSlice = 128,
169 ActionAdjustLightbox = 256,
170 ActionSelectVolume = 512,
171 ActionSetCursorPosition = 1024,
172 ActionSetCrosshairPosition = 2048,
173 ActionTranslateSliceIntersection = 4096,
174 ActionRotateSliceIntersection = 8192,
175 ActionAll = ActionTranslate | ActionZoom | ActionRotate | ActionBlend
176 | ActionBrowseSlice | ActionShowSlice | ActionAdjustLightbox | ActionSelectVolume
177 | ActionSetCursorPosition | ActionSetCrosshairPosition
178 | ActionTranslateSliceIntersection | ActionRotateSliceIntersection
241 bool Rotate(
double sliceRotationAngleRad);
267 double StartEventPosition[2];
269 int PreviousEventPosition[2];
270 double StartRotationCenter[2];
271 double StartRotationCenter_RAS[4];
273 double StartTranslationPoint[2];
274 double StartTranslationPoint_RAS[3];
275 double CurrentTranslationPoint_RAS[3];
277 double StartThickSlabTranslationPoint[2];
278 double StartThickSlabTranslationPoint_RAS[3];
279 double CurrentThickSlabTranslationPoint_RAS[3];
281 double StartActionFOV[3];
282 double VolumeScalarRange[2];
MRML node for representing segmentation display attributes.
MRML node to store display properties of slice nodes.
MRML node for storing a slice through RAS space.