23#ifndef vtkMRMLSliceIntersectionInteractionRepresentationHelper_h
24#define vtkMRMLSliceIntersectionInteractionRepresentationHelper_h
26#include "vtkMRMLDisplayableManagerExport.h"
47 void PrintSelf(ostream& os, vtkIndent indent)
override;
50 int IntersectWithFinitePlane(
double n[3],
double o[3],
double pOrigin[3],
double px[3],
double py[3],
double x0[3],
double x1[3]);
59 double intersectionLineTip1[3],
double intersectionLineTip2[3]);
~vtkMRMLSliceIntersectionInteractionRepresentationHelper() override
static vtkMRMLSliceIntersectionInteractionRepresentationHelper * New()
int IntersectWithFinitePlane(double n[3], double o[3], double pOrigin[3], double px[3], double py[3], double x0[3], double x1[3])
void GetIntersectionWithSliceViewBoundaries(double *pointA, double *pointB, double *sliceViewBounds, double *intersectionPoint)
Compute intersection between a 2D line and the slice view boundaries.
void GetSliceViewBoundariesXY(vtkMRMLSliceNode *sliceNode, double *sliceViewBounds)
Get boundaries of the slice view associated with a given vtkMRMLSliceNode.
int GetLineTipsFromIntersectingSliceNode(vtkMRMLSliceNode *intersectingSliceNode, vtkMatrix4x4 *intersectingXYToXY, double intersectionLineTip1[3], double intersectionLineTip2[3])
void PrintSelf(ostream &os, vtkIndent indent) override
void ComputeHandleToWorldTransformMatrix(double handlePosition[2], double handleOrientation[2], vtkMatrix4x4 *handleToWorldTransformMatrix)
void RotationMatrixFromVectors(double vector1[2], double vector2[2], vtkMatrix4x4 *rotationMatrixHom)
vtkMRMLSliceIntersectionInteractionRepresentationHelper()
MRML node for storing a slice through RAS space.