Class vtkMRMLLayerDMInteractionLogic
Defined in File vtkMRMLLayerDMInteractionLogic.h
Inheritance Relationships
Base Type
public vtkObject
Class Documentation
-
class vtkMRMLLayerDMInteractionLogic : public vtkObject
Inheritance diagram for vtkMRMLLayerDMInteractionLogic:
Collaboration diagram for vtkMRMLLayerDMInteractionLogic:
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()