Class vtkMRMLLayerDMInteractionLogic

Inheritance Relationships

Base Type

  • public vtkObject

Class Documentation

class vtkMRMLLayerDMInteractionLogic : public vtkObject

Inheritance diagram for vtkMRMLLayerDMInteractionLogic:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="vtkObject" tooltip="vtkObject"] "1" [label="vtkMRMLLayerDMInteractionLogic" tooltip="vtkMRMLLayerDMInteractionLogic" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for vtkMRMLLayerDMInteractionLogic:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="vtkObject" tooltip="vtkObject"] "1" [label="vtkMRMLLayerDMInteractionLogic" tooltip="vtkMRMLLayerDMInteractionLogic" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

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)

Public Functions

vtkTypeMacro(vtkMRMLLayerDMInteractionLogic, vtkObject)
void AddPipeline(const vtkSmartPointer<vtkMRMLLayerDMPipelineI> &pipeline)
bool CanProcessInteractionEvent(vtkMRMLInteractionEventData *eventData, double &distance2)
std::vector<vtkSmartPointer<vtkMRMLLayerDMPipelineI>> GetCanProcessPipelines() const
vtkMRMLLayerDMPipelineI *GetLastFocusedPipeline() const
void LoseFocus(vtkMRMLInteractionEventData *eventData)
void LoseFocus()
bool ProcessInteractionEvent(vtkMRMLInteractionEventData *eventData)
void RemovePipeline(const vtkSmartPointer<vtkMRMLLayerDMPipelineI> &pipeline)
void SetViewNode(vtkMRMLAbstractViewNode *viewNode)

Public Static Functions

static vtkMRMLLayerDMInteractionLogic *New()

Protected Functions

vtkMRMLLayerDMInteractionLogic()
~vtkMRMLLayerDMInteractionLogic() override = default