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,
106 WidgetEventTouchGestureStart = WidgetEventUser,
158 ActionBrowseSlice = 64,
159 ActionShowSlice = 128,
160 ActionAdjustLightbox = 256,
161 ActionSelectVolume = 512,
162 ActionSetCursorPosition = 1024,
163 ActionSetCrosshairPosition = 2048,
164 ActionTranslateSliceIntersection = 4096,
165 ActionRotateSliceIntersection = 8192,
166 ActionAll = ActionTranslate | ActionZoom | ActionRotate | ActionBlend
167 | ActionBrowseSlice | ActionShowSlice | ActionAdjustLightbox | ActionSelectVolume
168 | ActionSetCursorPosition | ActionSetCrosshairPosition
169 | ActionTranslateSliceIntersection | ActionRotateSliceIntersection
230 bool Rotate(
double sliceRotationAngleRad);
256 double StartEventPosition[2];
258 int PreviousEventPosition[2];
259 double StartRotationCenter[2];
260 double StartRotationCenter_RAS[4];
262 double StartTranslationPoint[2];
263 double StartTranslationPoint_RAS[3];
264 double CurrentTranslationPoint_RAS[3];
266 double StartActionFOV[3];
267 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.