Class responsible for handling adding / updating / removing pipelines depending on nodes added / removed / updated in the 3D Slicer Scene.
More...
#include <Modules/Loadable/LayerDM/MRMLDM/vtkMRMLLayerDMPipelineManager.h>
Class responsible for handling adding / updating / removing pipelines depending on nodes added / removed / updated in the 3D Slicer Scene.
The display manager handles connections to the scene's events.
Definition at line 56 of file vtkMRMLLayerDMPipelineManager.h.
◆ Superclass
◆ vtkMRMLLayerDMPipelineManager()
| vtkMRMLLayerDMPipelineManager::vtkMRMLLayerDMPipelineManager |
( |
| ) |
|
|
protected |
◆ ~vtkMRMLLayerDMPipelineManager()
| vtkMRMLLayerDMPipelineManager::~vtkMRMLLayerDMPipelineManager |
( |
| ) |
|
|
overrideprotected |
◆ AddNode()
| bool vtkMRMLLayerDMPipelineManager::AddNode |
( |
vtkMRMLNode * | node | ) |
|
Add a new node to the pipeline manager. If no pipeline exist for the input display node and the
- See also
- vtkMRMLLayerDMPipelineFactory can create a pipeline, creates and stores the pipeline in the manager.
◆ BlockRequestRender()
| bool vtkMRMLLayerDMPipelineManager::BlockRequestRender |
( |
bool | isBlocked | ) |
|
Block the request render Returns the previous blocked value.
Allows to avoid requesting a render while a render is already being processed or when updating multiple pipelines at a time (for instance updating from scene or synchronizing with the default camera)
◆ CanProcessInteractionEvent()
◆ ClearDisplayableNodes()
| void vtkMRMLLayerDMPipelineManager::ClearDisplayableNodes |
( |
| ) |
|
Clear all pipelines from the pipeline manager. Should be called at delete.
◆ CreatePipelineForNode()
| bool vtkMRMLLayerDMPipelineManager::CreatePipelineForNode |
( |
vtkMRMLNode * | displayNode | ) |
|
◆ GetClassName()
| virtual const char * vtkMRMLLayerDMPipelineManager::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetDefaultCamera()
| vtkCamera * vtkMRMLLayerDMPipelineManager::GetDefaultCamera |
( |
| ) |
const |
◆ GetMouseCursor()
| int vtkMRMLLayerDMPipelineManager::GetMouseCursor |
( |
| ) |
const |
Returns the mouse cursor from the latest pipeline having handled the latest interaction.
◆ GetNodePipeline()
Returns the pipeline associated with the input display node if any.
◆ GetNthPipeline()
◆ GetNumberOfPipelines()
| int vtkMRMLLayerDMPipelineManager::GetNumberOfPipelines |
( |
| ) |
const |
Returns the number of pipelines currently managed by the pipeline manager.
◆ IsA()
| virtual int vtkMRMLLayerDMPipelineManager::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ IsTypeOf()
| static int vtkMRMLLayerDMPipelineManager::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ LoseFocus() [1/2]
| void vtkMRMLLayerDMPipelineManager::LoseFocus |
( |
| ) |
const |
Makes the latest pipeline lose focus
◆ LoseFocus() [2/2]
◆ New()
◆ PrintSelf()
| void vtkMRMLLayerDMPipelineManager::PrintSelf |
( |
ostream & | os, |
|
|
vtkIndent | indent ) |
|
override |
◆ ProcessInteractionEvent()
◆ RemoveNode()
| bool vtkMRMLLayerDMPipelineManager::RemoveNode |
( |
vtkMRMLNode * | node | ) |
|
Remove node from the pipeline manager if any pipeline is associated to the input node.
◆ RemovePipeline()
| bool vtkMRMLLayerDMPipelineManager::RemovePipeline |
( |
vtkMRMLNode * | displayNode | ) |
|
◆ RequestRender()
| void vtkMRMLLayerDMPipelineManager::RequestRender |
( |
| ) |
|
Reset camera clipping range and call display manager request render.
◆ ResetCameraClippingRange()
| void vtkMRMLLayerDMPipelineManager::ResetCameraClippingRange |
( |
| ) |
const |
Resets the clipping range for all cameras managed by the LayerDM and renderer 0's camera
◆ SafeDownCast()
◆ SetFactory()
Set the Pipeline factory to use by the pipeline manager (initialization). On factory-modified event, will trigger a
- See also
- UpdateFromScene.
◆ SetRenderer()
| void vtkMRMLLayerDMPipelineManager::SetRenderer |
( |
vtkRenderer * | renderer | ) |
const |
Set the default renderer used by the display manager (initialization).
◆ SetRenderWindow()
| void vtkMRMLLayerDMPipelineManager::SetRenderWindow |
( |
vtkRenderWindow * | renderWindow | ) |
|
Set the render window on which the pipeline manager is attached (initialization).
◆ SetRequestRender()
| void vtkMRMLLayerDMPipelineManager::SetRequestRender |
( |
const std::function< void()> & | requestRender | ) |
|
Set the request render callback used during.
- See also
- RequestRender.
◆ SetScene()
| void vtkMRMLLayerDMPipelineManager::SetScene |
( |
vtkMRMLScene * | scene | ) |
|
Set the scene (initialization).
◆ SetViewNode()
Set the view node (initialization).
◆ UpdateAllPipelines()
| void vtkMRMLLayerDMPipelineManager::UpdateAllPipelines |
( |
| ) |
|
Update all pipelines managed by the pipeline manager. Requests render at the end of the update
◆ UpdateFromScene()
| void vtkMRMLLayerDMPipelineManager::UpdateFromScene |
( |
| ) |
|
Update the pipeline manager from the current MRML scene state. Will automatically remove or create pipelines depending on the scene state. Requests render at the end of the update
The documentation for this class was generated from the following file: