Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMRMLSliceIntersectionInteractionRepresentationHelper Class Reference

represent intersections of other slice views in the current slice view More...

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

Inheritance diagram for vtkMRMLSliceIntersectionInteractionRepresentationHelper:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLSliceIntersectionInteractionRepresentationHelper:
Collaboration graph
[legend]

Public Member Functions

void ComputeHandleToWorldTransformMatrix (double handlePosition[2], double handleOrientation[2], vtkMatrix4x4 *handleToWorldTransformMatrix)
 
void GetIntersectionWithSliceViewBoundaries (double *pointA, double *pointB, double *sliceViewBounds, double *intersectionPoint)
 Compute intersection between a 2D line and the slice view boundaries. More...
 
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. More...
 
int IntersectWithFinitePlane (double n[3], double o[3], double pOrigin[3], double px[3], double py[3], double x0[3], double x1[3])
 
void RotationMatrixFromVectors (double vector1[2], double vector2[2], vtkMatrix4x4 *rotationMatrixHom)
 
- Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation
virtual void AlwaysOnTopOff ()
 
virtual void AlwaysOnTopOn ()
 
virtual bool GetAlwaysOnTop ()
 
virtual double GetPickingTolerance ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetAlwaysOnTop (bool)
 
virtual void SetPickingTolerance (double)
 
virtual void UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr)
 
double * GetBounds () VTK_SIZEHINT(6) override
 
void GetActors (vtkPropCollection *) override
 
void GetActors2D (vtkPropCollection *) override
 
void GetVolumes (vtkPropCollection *) override
 
void ReleaseGraphicsResources (vtkWindow *) override
 
int RenderOverlay (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRenderer * GetRenderer ()
 
virtual void SetViewNode (vtkMRMLAbstractViewNode *viewNode)
 
virtual vtkMRMLAbstractViewNodeGetViewNode ()
 
virtual bool GetNeedToRender ()
 
virtual void SetNeedToRender (bool)
 
virtual void NeedToRenderOn ()
 
virtual void NeedToRenderOff ()
 

Static Public Member Functions

static vtkMRMLSliceIntersectionInteractionRepresentationHelperNew ()
 
- Static Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractWidgetRepresentationSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkMRMLSliceIntersectionInteractionRepresentationHelper ()
 
 ~vtkMRMLSliceIntersectionInteractionRepresentationHelper () override
 
- Protected Member Functions inherited from vtkMRMLAbstractWidgetRepresentation
void AddActorsBounds (vtkBoundingBox &bounds, const std::vector< vtkProp *> &actors, double *additionalBounds=nullptr)
 
void GetRendererComputedDisplayPositionFromWorldPosition (const double worldPos[3], double displayPos[2])
 
virtual void UpdateRelativeCoincidentTopologyOffsets (vtkMapper *mapper)
 
 vtkMRMLAbstractWidgetRepresentation ()
 
 ~vtkMRMLAbstractWidgetRepresentation () override
 
typedef vtkMRMLAbstractWidgetRepresentation Superclass
 
static int IsTypeOf (const char *type)
 
static vtkMRMLSliceIntersectionInteractionRepresentationHelperSafeDownCast (vtkObject *o)
 
virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 

Additional Inherited Members

- Public Types inherited from vtkMRMLAbstractWidgetRepresentation
typedef vtkProp Superclass
 Standard methods for instances of this class. More...
 
- Protected Attributes inherited from vtkMRMLAbstractWidgetRepresentation
bool AlwaysOnTop
 
double Bounds [6]
 Temporary variable to store GetBounds() result. More...
 
bool NeedToRender
 
double PickingTolerance
 
vtkWeakPointer< vtkRenderer > Renderer
 The renderer in which this widget is placed. More...
 
double ScreenScaleFactor
 Allows global rescaling of all widgets (to compensate for larger or smaller physical screen size) More...
 
vtkWeakPointer< vtkMRMLAbstractViewNodeViewNode
 

Detailed Description

represent intersections of other slice views in the current slice view

See also
vtkSliceIntersectionWidget vtkWidgetRepresentation vtkAbstractWidget

Definition at line 51 of file vtkMRMLSliceIntersectionInteractionRepresentationHelper.h.

Member Typedef Documentation

◆ Superclass

Standard methods for instances of this class.

Definition at line 63 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: