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
vtkMRMLSliceIntersectionRepresentation2D Class Reference

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

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

Inheritance diagram for vtkMRMLSliceIntersectionRepresentation2D:
Collaboration diagram for vtkMRMLSliceIntersectionRepresentation2D:

Public Types

typedef vtkMRMLAbstractWidgetRepresentation Superclass
 
- Public Types inherited from vtkMRMLAbstractWidgetRepresentation
typedef vtkProp Superclass
 Standard methods for instances of this class.
 

Public Member Functions

void AddIntersectingSliceLogic (vtkMRMLSliceLogic *sliceLogic)
 
void GetActors2D (vtkPropCollection *) override
 
virtual const char * GetClassName ()
 
virtual vtkMRMLApplicationLogicGetMRMLApplicationLogic ()
 
double * GetSliceIntersectionPoint () VTK_SIZEHINT(3)
 
vtkMRMLSliceNodeGetSliceNode ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void ReleaseGraphicsResources (vtkWindow *) override
 
void RemoveAllIntersectingSliceNodes ()
 
void RemoveIntersectingSliceNode (vtkMRMLSliceNode *sliceNode)
 
int RenderOverlay (vtkViewport *viewport) override
 
void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *)
 
void SetSliceNode (vtkMRMLSliceNode *sliceNode)
 
void TransformIntersectingSlices (vtkMatrix4x4 *rotatedSliceToSliceTransformMatrix)
 
void UpdateIntersectingSliceNodes ()
 
- Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation
virtual void AlwaysOnTopOff ()
 
virtual void AlwaysOnTopOn ()
 
void GetActors (vtkPropCollection *) override
 
void GetActors2D (vtkPropCollection *) override
 
virtual bool GetAlwaysOnTop ()
 
virtual double GetAlwaysOnTopRelativeOffsetFactor ()
 
virtual double GetAlwaysOnTopRelativeOffsetUnits ()
 
virtual vtkMRMLApplicationLogicGetApplicationLogic ()
 
double * GetBounds () VTK_SIZEHINT(6) override
 
virtual bool GetNeedToRender ()
 
virtual double GetPickingTolerance ()
 
virtual vtkRenderer * GetRenderer ()
 
double GetScreenScaleFactor ()
 Convenience method for getting screen scale factor from the associated view node.
 
virtual vtkMRMLAbstractViewNodeGetViewNode ()
 
void GetVolumes (vtkPropCollection *) override
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 
virtual void NeedToRenderOff ()
 
virtual void NeedToRenderOn ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void ReleaseGraphicsResources (vtkWindow *) override
 
int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderOverlay (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) override
 
virtual void SetAlwaysOnTop (bool)
 
virtual void SetAlwaysOnTopRelativeOffsetFactor (double)
 
virtual void SetAlwaysOnTopRelativeOffsetUnits (double)
 
virtual void SetApplicationLogic (vtkMRMLApplicationLogic *appLogic)
 
virtual void SetNeedToRender (bool)
 
virtual void SetPickingTolerance (double)
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual void SetViewNode (vtkMRMLAbstractViewNode *viewNode)
 
virtual void UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr)
 

Static Public Member Functions

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

Protected Member Functions

SliceIntersectionDisplayPipeline * GetDisplayPipelineFromSliceLogic (vtkMRMLSliceLogic *sliceLogic)
 
double GetSliceRotationAngleRad (int eventPos[2])
 
void SliceModelDisplayNodeModified (vtkMRMLModelDisplayNode *sliceNode)
 
void SliceNodeModified (vtkMRMLSliceNode *sliceNode)
 
void UpdateSliceIntersectionDisplay (SliceIntersectionDisplayPipeline *pipeline)
 
 vtkMRMLSliceIntersectionRepresentation2D ()
 
 ~vtkMRMLSliceIntersectionRepresentation2D () 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
 

Static Protected Member Functions

static void SliceNodeModifiedCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Protected Attributes

vtkTransform * CurrentTransform
 
double CurrentTranslation [3]
 
double DisplayOrigin [3]
 
vtkInternal * Internal
 
double LastEventPosition [2]
 
vtkMRMLApplicationLogicMRMLApplicationLogic
 
double Origin [4]
 
double SliceIntersectionPoint [4]
 
double StartWorldPosition [4]
 
vtkTransform * TotalTransform
 
- Protected Attributes inherited from vtkMRMLAbstractWidgetRepresentation
bool AlwaysOnTop
 
double AlwaysOnTopRelativeOffsetFactor { 0.0 }
 Relative offset used for rendering occluded actors.
 
double AlwaysOnTopRelativeOffsetUnits { -66000.0 }
 
vtkWeakPointer< vtkMRMLApplicationLogicApplicationLogic
 
double Bounds [6]
 Temporary variable to store GetBounds() result.
 
bool NeedToRender
 
double PickingTolerance
 
vtkWeakPointer< vtkRenderer > Renderer
 The renderer in which this widget is placed.
 
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 vtkMRMLSliceIntersectionRepresentation2D.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkMRMLSliceIntersectionRepresentation2D()

vtkMRMLSliceIntersectionRepresentation2D::vtkMRMLSliceIntersectionRepresentation2D ( )
protected

◆ ~vtkMRMLSliceIntersectionRepresentation2D()

vtkMRMLSliceIntersectionRepresentation2D::~vtkMRMLSliceIntersectionRepresentation2D ( )
overrideprotected

Member Function Documentation

◆ AddIntersectingSliceLogic()

void vtkMRMLSliceIntersectionRepresentation2D::AddIntersectingSliceLogic ( vtkMRMLSliceLogic * sliceLogic)

◆ GetActors2D()

void vtkMRMLSliceIntersectionRepresentation2D::GetActors2D ( vtkPropCollection * )
override

Methods to make this class behave as a vtkProp.

◆ GetClassName()

virtual const char * vtkMRMLSliceIntersectionRepresentation2D::GetClassName ( )
virtual

◆ GetDisplayPipelineFromSliceLogic()

SliceIntersectionDisplayPipeline * vtkMRMLSliceIntersectionRepresentation2D::GetDisplayPipelineFromSliceLogic ( vtkMRMLSliceLogic * sliceLogic)
protected

◆ GetMRMLApplicationLogic()

virtual vtkMRMLApplicationLogic * vtkMRMLSliceIntersectionRepresentation2D::GetMRMLApplicationLogic ( )
virtual

◆ GetSliceIntersectionPoint()

double * vtkMRMLSliceIntersectionRepresentation2D::GetSliceIntersectionPoint ( )

◆ GetSliceNode()

vtkMRMLSliceNode * vtkMRMLSliceIntersectionRepresentation2D::GetSliceNode ( )

◆ GetSliceRotationAngleRad()

double vtkMRMLSliceIntersectionRepresentation2D::GetSliceRotationAngleRad ( int eventPos[2])
protected

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkMRMLSliceIntersectionRepresentation2D * vtkMRMLSliceIntersectionRepresentation2D::New ( )
static

Instantiate this class.

◆ PrintSelf()

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

◆ ReleaseGraphicsResources()

void vtkMRMLSliceIntersectionRepresentation2D::ReleaseGraphicsResources ( vtkWindow * )
override

◆ RemoveAllIntersectingSliceNodes()

void vtkMRMLSliceIntersectionRepresentation2D::RemoveAllIntersectingSliceNodes ( )

◆ RemoveIntersectingSliceNode()

void vtkMRMLSliceIntersectionRepresentation2D::RemoveIntersectingSliceNode ( vtkMRMLSliceNode * sliceNode)

◆ RenderOverlay()

int vtkMRMLSliceIntersectionRepresentation2D::RenderOverlay ( vtkViewport * viewport)
override

◆ SafeDownCast()

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

◆ SetMRMLApplicationLogic()

void vtkMRMLSliceIntersectionRepresentation2D::SetMRMLApplicationLogic ( vtkMRMLApplicationLogic * )

◆ SetSliceNode()

void vtkMRMLSliceIntersectionRepresentation2D::SetSliceNode ( vtkMRMLSliceNode * sliceNode)

◆ SliceModelDisplayNodeModified()

void vtkMRMLSliceIntersectionRepresentation2D::SliceModelDisplayNodeModified ( vtkMRMLModelDisplayNode * sliceNode)
protected

◆ SliceNodeModified()

void vtkMRMLSliceIntersectionRepresentation2D::SliceNodeModified ( vtkMRMLSliceNode * sliceNode)
protected

◆ SliceNodeModifiedCallback()

static void vtkMRMLSliceIntersectionRepresentation2D::SliceNodeModifiedCallback ( vtkObject * caller,
unsigned long eid,
void * clientData,
void * callData )
staticprotected

◆ TransformIntersectingSlices()

void vtkMRMLSliceIntersectionRepresentation2D::TransformIntersectingSlices ( vtkMatrix4x4 * rotatedSliceToSliceTransformMatrix)

◆ UpdateIntersectingSliceNodes()

void vtkMRMLSliceIntersectionRepresentation2D::UpdateIntersectingSliceNodes ( )

◆ UpdateSliceIntersectionDisplay()

void vtkMRMLSliceIntersectionRepresentation2D::UpdateSliceIntersectionDisplay ( SliceIntersectionDisplayPipeline * pipeline)
protected

Member Data Documentation

◆ CurrentTransform

vtkTransform* vtkMRMLSliceIntersectionRepresentation2D::CurrentTransform
protected

Definition at line 106 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ CurrentTranslation

double vtkMRMLSliceIntersectionRepresentation2D::CurrentTranslation[3]
protected

Definition at line 110 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ DisplayOrigin

double vtkMRMLSliceIntersectionRepresentation2D::DisplayOrigin[3]
protected

Definition at line 109 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ Internal

vtkInternal* vtkMRMLSliceIntersectionRepresentation2D::Internal
protected

Definition at line 122 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ LastEventPosition

double vtkMRMLSliceIntersectionRepresentation2D::LastEventPosition[2]
protected

Definition at line 114 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ MRMLApplicationLogic

vtkMRMLApplicationLogic* vtkMRMLSliceIntersectionRepresentation2D::MRMLApplicationLogic
protected

Definition at line 119 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ Origin

double vtkMRMLSliceIntersectionRepresentation2D::Origin[4]
protected

Definition at line 108 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ SliceIntersectionPoint

double vtkMRMLSliceIntersectionRepresentation2D::SliceIntersectionPoint[4]
protected

Definition at line 117 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ StartWorldPosition

double vtkMRMLSliceIntersectionRepresentation2D::StartWorldPosition[4]
protected

Definition at line 111 of file vtkMRMLSliceIntersectionRepresentation2D.h.

◆ TotalTransform

vtkTransform* vtkMRMLSliceIntersectionRepresentation2D::TotalTransform
protected

Definition at line 107 of file vtkMRMLSliceIntersectionRepresentation2D.h.


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