Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkMRMLSliceIntersectionInteractionRepresentationHelper Class Reference

utility class to compute slice intersection interactions More...

#include <Libs/MRML/DisplayableManager/vtkMRMLSliceIntersectionInteractionRepresentationHelper.h>

Inheritance diagram for vtkMRMLSliceIntersectionInteractionRepresentationHelper:
Collaboration diagram for vtkMRMLSliceIntersectionInteractionRepresentationHelper:

Public Types

typedef vtkObject Superclass
 

Public Member Functions

void ComputeHandleToWorldTransformMatrix (double handlePosition[2], double handleOrientation[2], vtkMatrix4x4 *handleToWorldTransformMatrix)
 
virtual const char * GetClassName ()
 
void GetIntersectionWithSliceViewBoundaries (double *pointA, double *pointB, double *sliceViewBounds, double *intersectionPoint)
 Compute intersection between a 2D line and the slice view boundaries.
 
int GetLineTipsFromIntersectingSliceNode (vtkMRMLSliceNode *intersectingSliceNode, vtkMatrix4x4 *intersectingXYToXY, double intersectionLineTip1[3], double intersectionLineTip2[3])
 
void GetSliceViewBoundariesXY (vtkMRMLSliceNode *sliceNode, double *sliceViewBounds)
 Get boundaries of the slice view associated with a given vtkMRMLSliceNode.
 
int IntersectWithFinitePlane (double n[3], double o[3], double pOrigin[3], double px[3], double py[3], double x0[3], double x1[3])
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RotationMatrixFromVectors (double vector1[2], double vector2[2], vtkMatrix4x4 *rotationMatrixHom)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLSliceIntersectionInteractionRepresentationHelperNew ()
 
static vtkMRMLSliceIntersectionInteractionRepresentationHelperSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkMRMLSliceIntersectionInteractionRepresentationHelper ()
 
 ~vtkMRMLSliceIntersectionInteractionRepresentationHelper () override
 

Detailed Description

utility class to compute slice intersection interactions

Definition at line 34 of file vtkMRMLSliceIntersectionInteractionRepresentationHelper.h.

Member Typedef Documentation

◆ Superclass

Standard methods for instances of this class.

Definition at line 46 of file vtkMRMLSliceIntersectionInteractionRepresentationHelper.h.

Constructor & Destructor Documentation

◆ vtkMRMLSliceIntersectionInteractionRepresentationHelper()

vtkMRMLSliceIntersectionInteractionRepresentationHelper::vtkMRMLSliceIntersectionInteractionRepresentationHelper ( )
protected

◆ ~vtkMRMLSliceIntersectionInteractionRepresentationHelper()

vtkMRMLSliceIntersectionInteractionRepresentationHelper::~vtkMRMLSliceIntersectionInteractionRepresentationHelper ( )
overrideprotected

Member Function Documentation

◆ ComputeHandleToWorldTransformMatrix()

void vtkMRMLSliceIntersectionInteractionRepresentationHelper::ComputeHandleToWorldTransformMatrix ( double handlePosition[2],
double handleOrientation[2],
vtkMatrix4x4 * handleToWorldTransformMatrix )

◆ GetClassName()

virtual const char * vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetClassName ( )
virtual

◆ GetIntersectionWithSliceViewBoundaries()

void vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetIntersectionWithSliceViewBoundaries ( double * pointA,
double * pointB,
double * sliceViewBounds,
double * intersectionPoint )

Compute intersection between a 2D line and the slice view boundaries.

◆ GetLineTipsFromIntersectingSliceNode()

int vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetLineTipsFromIntersectingSliceNode ( vtkMRMLSliceNode * intersectingSliceNode,
vtkMatrix4x4 * intersectingXYToXY,
double intersectionLineTip1[3],
double intersectionLineTip2[3] )

◆ GetSliceViewBoundariesXY()

void vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetSliceViewBoundariesXY ( vtkMRMLSliceNode * sliceNode,
double * sliceViewBounds )

Get boundaries of the slice view associated with a given vtkMRMLSliceNode.

◆ IntersectWithFinitePlane()

int vtkMRMLSliceIntersectionInteractionRepresentationHelper::IntersectWithFinitePlane ( double n[3],
double o[3],
double pOrigin[3],
double px[3],
double py[3],
double x0[3],
double x1[3] )

◆ IsA()

virtual int vtkMRMLSliceIntersectionInteractionRepresentationHelper::IsA ( const char * type)
virtual

◆ IsTypeOf()

static int vtkMRMLSliceIntersectionInteractionRepresentationHelper::IsTypeOf ( const char * type)
static

◆ New()

static vtkMRMLSliceIntersectionInteractionRepresentationHelper * vtkMRMLSliceIntersectionInteractionRepresentationHelper::New ( )
static

Instantiate this class.

◆ PrintSelf()

void vtkMRMLSliceIntersectionInteractionRepresentationHelper::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ RotationMatrixFromVectors()

void vtkMRMLSliceIntersectionInteractionRepresentationHelper::RotationMatrixFromVectors ( double vector1[2],
double vector2[2],
vtkMatrix4x4 * rotationMatrixHom )

◆ SafeDownCast()

static vtkMRMLSliceIntersectionInteractionRepresentationHelper * vtkMRMLSliceIntersectionInteractionRepresentationHelper::SafeDownCast ( vtkObject * o)
static

The documentation for this class was generated from the following file: