24 #ifndef vtkMRMLSliceIntersectionRepresentation2D_h 25 #define vtkMRMLSliceIntersectionRepresentation2D_h 27 #include "vtkMRMLDisplayableManagerExport.h" 38 class vtkPolyDataMapper2D;
42 class vtkTextProperty;
43 class vtkLeaderActor2D;
48 class SliceIntersectionDisplayPipeline;
64 void PrintSelf(ostream& os, vtkIndent indent)
override;
72 void UpdateIntersectingSliceNodes();
73 void RemoveAllIntersectingSliceNodes();
87 double* GetSliceIntersectionPoint();
89 void TransformIntersectingSlices(vtkMatrix4x4* rotatedSliceToSliceTransformMatrix);
95 SliceIntersectionDisplayPipeline* GetDisplayPipelineFromSliceLogic(
vtkMRMLSliceLogic* sliceLogic);
97 static void SliceNodeModifiedCallback(vtkObject* caller,
unsigned long eid,
void* clientData,
void* callData);
101 void UpdateSliceIntersectionDisplay(SliceIntersectionDisplayPipeline *pipeline);
103 double GetSliceRotationAngleRad(
int eventPos[2]);
109 double DisplayOrigin[3];
110 double CurrentTranslation[3];
111 double StartWorldPosition[4];
114 double LastEventPosition[2];
117 double SliceIntersectionPoint[4];
vtkMRMLApplicationLogic * MRMLApplicationLogic
vtkTransform * TotalTransform
MRML node to represent a display property of 3D surface model.
represent intersections of other slice views in the current slice view
MRML node for storing a slice through RAS space.
vtkTransform * CurrentTransform
Slicer logic class for slice manipulation.