Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLMarkupsFiducialStorageNode.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 
24 
25 #ifndef __vtkMRMLMarkupsFiducialStorageNode_h
26 #define __vtkMRMLMarkupsFiducialStorageNode_h
27 
28 // Markups includes
29 #include "vtkSlicerMarkupsModuleMRMLExport.h"
31 
32 class vtkMRMLMarkupsNode;
33 
35 class VTK_SLICER_MARKUPS_MODULE_MRML_EXPORT vtkMRMLMarkupsFiducialStorageNode : public vtkMRMLMarkupsStorageNode
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
42  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
43 
46  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "MarkupsFiducialStorage";};
47 
49  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
50 
52  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
53 
55  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
56 
57  virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode) VTK_OVERRIDE;
58 
59 protected:
64 
66  virtual void InitializeSupportedReadFileTypes() VTK_OVERRIDE;
67 
69  virtual void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
70 
72  virtual int ReadDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
73 
82  virtual int WriteDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
83 
84 };
85 
86 #endif
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE
Read node attributes from XML file.
virtual void InitializeSupportedWriteFileTypes() VTK_OVERRIDE
Initialize all the supported write file types.
MRML node to represent a list of markups Markups nodes contains a list of markups that each contain a...
virtual int WriteDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode) VTK_OVERRIDE
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
static vtkMRMLMarkupsStorageNode * New()
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Write this node's information to a MRML file in XML format.
virtual int ReadDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
virtual void InitializeSupportedReadFileTypes() VTK_OVERRIDE
Initialize all the supported write file types.
void operator=(const vtkMRMLMarkupsStorageNode &)