Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSegmentationsNodeWriter.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4  Queen's University, Kingston, ON, Canada. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Kyle Sunderland, PerkLab, Queen's University
16  and was supported through CANARIE's Research Software Program, Cancer
17  Care Ontario, OpenAnatomy, and Brigham and Women's Hospital through NIH grant R01MH112748.
18 
19 ==============================================================================*/
20 
21 #ifndef __qSlicerSegmentationsNodeWriter_h
22 #define __qSlicerSegmentationsNodeWriter_h
23 
24 // QtCore includes
25 #include "qSlicerSegmentationsModuleExport.h"
26 #include "qSlicerNodeWriter.h"
27 
28 class qSlicerSegmentationsNodeWriterPrivate;
29 class vtkMRMLNode;
30 
32 class Q_SLICER_QTMODULES_SEGMENTATIONS_EXPORT qSlicerSegmentationsNodeWriter
33  : public qSlicerNodeWriter
34 {
35  Q_OBJECT
36 public:
38  qSlicerSegmentationsNodeWriter(QObject* parent);
40 
42  qSlicerIOOptions* options()const override;
43 
48  bool write(const qSlicerIO::IOProperties& properties) override;
49 
50 protected:
51  QScopedPointer<qSlicerSegmentationsNodeWriterPrivate> d_ptr;
52 
53 private:
54  Q_DECLARE_PRIVATE(qSlicerSegmentationsNodeWriter);
55  Q_DISABLE_COPY(qSlicerSegmentationsNodeWriter);
56 };
57 
58 #endif
qSlicerIOOptions * options() const override
Return a qSlicerIONodeWriterOptionsWidget.
Utility class that is ready to use for most of the nodes.
QScopedPointer< qSlicerSegmentationsNodeWriterPrivate > d_ptr
bool write(const qSlicerIO::IOProperties &properties) override
Utility class that is ready to use for most of the nodes.
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167