Slicer  4.11
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 | Static Protected Member Functions | Protected Attributes
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:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLSliceIntersectionRepresentation2D:
Collaboration graph
[legend]

Public Member Functions

void AddIntersectingSliceLogic (vtkMRMLSliceLogic *sliceLogic)
 
virtual vtkMRMLApplicationLogicGetMRMLApplicationLogic ()
 
double * GetSliceIntersectionPoint ()
 
vtkMRMLSliceNodeGetSliceNode ()
 
void RemoveAllIntersectingSliceNodes ()
 
void RemoveIntersectingSliceNode (vtkMRMLSliceNode *sliceNode)
 
void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *)
 
void SetSliceNode (vtkMRMLSliceNode *sliceNode)
 
void TransformIntersectingSlices (vtkMatrix4x4 *rotatedSliceToSliceTransformMatrix)
 
void UpdateIntersectingSliceNodes ()
 
void GetActors2D (vtkPropCollection *) override
 
void ReleaseGraphicsResources (vtkWindow *) override
 
int RenderOverlay (vtkViewport *viewport) override
 
- 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 vtkMRMLSliceIntersectionRepresentation2DNew ()
 
- 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 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
 
typedef vtkMRMLAbstractWidgetRepresentation Superclass
 
static int IsTypeOf (const char *type)
 
static vtkMRMLSliceIntersectionRepresentation2DSafeDownCast (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...
 

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

Standard methods for instances of this class.

Definition at line 63 of file vtkMRMLSliceIntersectionRepresentation2D.h.

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 121 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: