26 #ifndef vtkMRMLSliceIntersectionInteractionRepresentationHelper_h 27 #define vtkMRMLSliceIntersectionInteractionRepresentationHelper_h 29 #include "vtkMRMLDisplayableManagerExport.h" 40 class vtkPolyDataMapper2D;
44 class vtkTextProperty;
45 class vtkLeaderActor2D;
64 void PrintSelf(ostream& os, vtkIndent indent)
override;
67 int IntersectWithFinitePlane(
double n[3],
double o[3],
double pOrigin[3],
double px[3],
double py[3],
double x0[3],
double x1[3]);
70 void GetIntersectionWithSliceViewBoundaries(
double* pointA,
double* pointB,
double* sliceViewBounds,
double* intersectionPoint);
73 void GetSliceViewBoundariesXY(
vtkMRMLSliceNode* sliceNode,
double* sliceViewBounds);
75 int GetLineTipsFromIntersectingSliceNode(
vtkMRMLSliceNode* intersectingSliceNode, vtkMatrix4x4* intersectingXYToXY,
76 double intersectionLineTip1[3],
double intersectionLineTip2[3]);
78 void ComputeHandleToWorldTransformMatrix(
double handlePosition[2],
double handleOrientation[2], vtkMatrix4x4* handleToWorldTransformMatrix);
79 void RotationMatrixFromVectors(
double vector1[2],
double vector2[2], vtkMatrix4x4* rotationMatrixHom);
MRML node to represent a display property of 3D surface model.
MRML node for storing a slice through RAS space.
represent intersections of other slice views in the current slice view
Slicer logic class for slice manipulation.