Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkSlicerMultiVolumeExplorerLogic.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
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==============================================================================*/
17
18// .NAME vtkSlicerMultiVolumeExplorerLogic - slicer logic class for volumes manipulation
19// .SECTION Description
20// This class manages the logic associated with reading, saving,
21// and changing propertied of the volumes
22
23#ifndef __vtkSlicerMultiVolumeExplorerLogic_h
24#define __vtkSlicerMultiVolumeExplorerLogic_h
25
26// Slicer includes
28
29// MRML includes
30
31// STD includes
32#include <cstdlib>
33
34#include "vtkSlicerMultiVolumeExplorerModuleLogicExport.h"
35
36class vtkDoubleArray;
37class vtkStringArray;
43
45class VTK_SLICER_MULTIVOLUMEEXPLORER_MODULE_LOGIC_EXPORT vtkSlicerMultiVolumeExplorerLogic : public vtkSlicerModuleLogic
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
54#ifdef VTKITK_BUILD_DICOM_SUPPORT
55 int ProcessDICOMSeries(std::string inputDir, std::string outputDir, std::string dcmTag, vtkDoubleArray*);
56#endif
57
61
62protected:
65
67 virtual void RegisterNodes() override;
68
69 virtual void UpdateFromMRMLScene() override;
70 virtual void OnMRMLSceneNodeAdded(vtkMRMLNode* node) override;
71 virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode* node) override;
72 void StoreVolumeNode(const std::vector<std::string>& filenames, const std::string& seriesFileName);
73
74private:
76 void operator=(const vtkSlicerMultiVolumeExplorerLogic&); // Not implemented
77};
78
79#endif
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing a volume display attributes.
MRML node for representing a volume (image stack).
MRML node for representing a volume storage.
static vtkSlicerMultiVolumeExplorerLogic * New()
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void UpdateFromMRMLScene() override
void StoreVolumeNode(const std::vector< std::string > &filenames, const std::string &seriesFileName)
void RegisterArchetypeVolumeNodeSetFactory(vtkSlicerVolumesLogic *volumesLogic)
virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
void InitializeEventListeners()
Initialize listening to MRML events.
virtual void RegisterNodes() override
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this...
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *node) override