21#ifndef __vtkMRMLLayerDMInteractionLogic_h
22#define __vtkMRMLLayerDMInteractionLogic_h
24#include "vtkSlicerLayerDMModuleMRMLDisplayableManagerExport.h"
28#include <vtkSmartPointer.h>
29#include <vtkWeakPointer.h>
52 void PrintSelf(ostream& os, vtkIndent indent)
override;
54 void AddPipeline(
const vtkSmartPointer<vtkMRMLLayerDMPipeline>& pipeline);
61 void RemovePipeline(
const vtkSmartPointer<vtkMRMLLayerDMPipeline>& pipeline);
69 static int MinWidgetState();
73 std::vector<vtkSmartPointer<vtkMRMLLayerDMPipeline>> Pipelines;
74 vtkSmartPointer<vtkMRMLLayerDMPipeline> LastFocusedPipeline;
75 std::vector<vtkSmartPointer<vtkMRMLLayerDMPipeline>> CanProcessPipelines;
76 vtkWeakPointer<vtkMRMLAbstractViewNode> ViewNode;
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
void LoseFocus(vtkMRMLInteractionEventData *eventData)
void SetViewNode(vtkMRMLAbstractViewNode *viewNode)
void RemovePipeline(const vtkSmartPointer< vtkMRMLLayerDMPipeline > &pipeline)
void AddPipeline(const vtkSmartPointer< vtkMRMLLayerDMPipeline > &pipeline)
vtkMRMLLayerDMPipeline * GetLastFocusedPipeline() const
void PrintSelf(ostream &os, vtkIndent indent) override
bool ProcessInteractionEvent(vtkMRMLInteractionEventData *eventData)
bool CanProcessInteractionEvent(vtkMRMLInteractionEventData *eventData, double &distance2)
static vtkMRMLLayerDMInteractionLogic * New()
std::vector< vtkSmartPointer< vtkMRMLLayerDMPipeline > > GetCanProcessPipelines() const
vtkMRMLLayerDMInteractionLogic()
~vtkMRMLLayerDMInteractionLogic() override=default
Interface for the layered displayable manager pipelines.