Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLLayerDMInteractionLogic Class Reference

Pipeline manager interaction logic class. More...

#include <Modules/Loadable/LayerDM/MRMLDM/vtkMRMLLayerDMInteractionLogic.h>

Inheritance diagram for vtkMRMLLayerDMInteractionLogic:
Collaboration diagram for vtkMRMLLayerDMInteractionLogic:

Public Types

typedef vtkObject Superclass
 

Public Member Functions

void AddPipeline (const vtkSmartPointer< vtkMRMLLayerDMPipeline > &pipeline)
 
bool CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2)
 
std::vector< vtkSmartPointer< vtkMRMLLayerDMPipeline > > GetCanProcessPipelines () const
 
virtual const char * GetClassName ()
 
vtkMRMLLayerDMPipeline * GetLastFocusedPipeline () const
 
virtual int IsA (const char *type)
 
void LoseFocus ()
 
void LoseFocus (vtkMRMLInteractionEventData *eventData)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
bool ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData)
 
void RemovePipeline (const vtkSmartPointer< vtkMRMLLayerDMPipeline > &pipeline)
 
void SetViewNode (vtkMRMLAbstractViewNode *viewNode)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLLayerDMInteractionLogic * New ()
 
static vtkMRMLLayerDMInteractionLogic * SafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkMRMLLayerDMInteractionLogic ()
 
 ~vtkMRMLLayerDMInteractionLogic () override=default
 

Detailed Description

Pipeline manager interaction logic class.

This class is responsible for sorting the pipelines depending on their priorities and delegating interactions to the pipeline the highest in the priority list.

Priorities are ordered by :

  • Widget State if state is greater than WidgetStateOnWidget (indicates previously active display pipeline)
  • Pipeline layer (higher = overlay on top of other renderers)
  • Distance to interaction (min = closer to VTK event)

Definition at line 47 of file vtkMRMLLayerDMInteractionLogic.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkMRMLLayerDMInteractionLogic()

vtkMRMLLayerDMInteractionLogic::vtkMRMLLayerDMInteractionLogic ( )
protected

◆ ~vtkMRMLLayerDMInteractionLogic()

vtkMRMLLayerDMInteractionLogic::~vtkMRMLLayerDMInteractionLogic ( )
overrideprotecteddefault

Member Function Documentation

◆ AddPipeline()

void vtkMRMLLayerDMInteractionLogic::AddPipeline ( const vtkSmartPointer< vtkMRMLLayerDMPipeline > & pipeline)

◆ CanProcessInteractionEvent()

bool vtkMRMLLayerDMInteractionLogic::CanProcessInteractionEvent ( vtkMRMLInteractionEventData * eventData,
double & distance2 )

◆ GetCanProcessPipelines()

std::vector< vtkSmartPointer< vtkMRMLLayerDMPipeline > > vtkMRMLLayerDMInteractionLogic::GetCanProcessPipelines ( ) const

◆ GetClassName()

virtual const char * vtkMRMLLayerDMInteractionLogic::GetClassName ( )
virtual

◆ GetLastFocusedPipeline()

vtkMRMLLayerDMPipeline * vtkMRMLLayerDMInteractionLogic::GetLastFocusedPipeline ( ) const

◆ IsA()

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

◆ IsTypeOf()

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

◆ LoseFocus() [1/2]

void vtkMRMLLayerDMInteractionLogic::LoseFocus ( )

◆ LoseFocus() [2/2]

void vtkMRMLLayerDMInteractionLogic::LoseFocus ( vtkMRMLInteractionEventData * eventData)

◆ New()

static vtkMRMLLayerDMInteractionLogic * vtkMRMLLayerDMInteractionLogic::New ( )
static

◆ PrintSelf()

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

◆ ProcessInteractionEvent()

bool vtkMRMLLayerDMInteractionLogic::ProcessInteractionEvent ( vtkMRMLInteractionEventData * eventData)

◆ RemovePipeline()

void vtkMRMLLayerDMInteractionLogic::RemovePipeline ( const vtkSmartPointer< vtkMRMLLayerDMPipeline > & pipeline)

◆ SafeDownCast()

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

◆ SetViewNode()

void vtkMRMLLayerDMInteractionLogic::SetViewNode ( vtkMRMLAbstractViewNode * viewNode)

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