Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLLayerDMPipelineCreator.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Kitware SAS
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 This file was originally developed by Thibault Pelletier, Kitware SAS,
17 and was partially funded by ANR grants ANR-22-CE45-0034 and ANR-18-RHUS-005.
18
19==============================================================================*/
20
21#ifndef __vtkMRMLLayerDMPipelineCreator_h
22#define __vtkMRMLLayerDMPipelineCreator_h
23
24#include "vtkSlicerLayerDMModuleMRMLDisplayableManagerExport.h"
25
27
28// VTK includes
29#include <vtkObject.h>
30
32class vtkMRMLNode;
33
38class VTK_SLICER_LAYERDM_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT vtkMRMLLayerDMPipelineCreator : public vtkObject
39{
40public:
42 vtkTypeMacro(vtkMRMLLayerDMPipelineCreator, vtkObject);
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
45 virtual vtkSmartPointer<vtkMRMLLayerDMPipeline> CreatePipeline(vtkMRMLAbstractViewNode* viewNode, vtkMRMLNode* node) const;
46
50 vtkGetMacro(Priority, int);
51 vtkSetMacro(Priority, int);
53protected:
55 ~vtkMRMLLayerDMPipelineCreator() override = default;
56
57private:
58 int Priority = 0;
59};
60
61#endif
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkMRMLLayerDMPipelineCreator * New()
virtual vtkSmartPointer< vtkMRMLLayerDMPipeline > CreatePipeline(vtkMRMLAbstractViewNode *viewNode, vtkMRMLNode *node) const
~vtkMRMLLayerDMPipelineCreator() override=default
Abstract Superclass for all specific types of MRML nodes.