Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLTableViewNode.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Portions (c) Copyright 2015 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 This file was originally developed by Andras Lasso (PerkLab, Queen's
17 University) and Kevin Wang (Princess Margaret Hospital, Toronto) and was
18 supported through OCAIRO and the Applied Cancer Research Unit program of
19 Cancer Care Ontario.
20
21==============================================================================*/
22
23#ifndef __vtkMRMLTableViewNode_h
24#define __vtkMRMLTableViewNode_h
25
27
29
33class VTK_MRML_EXPORT vtkMRMLTableViewNode : public vtkMRMLAbstractViewNode
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
40 //--------------------------------------------------------------------------
42 //--------------------------------------------------------------------------
43
45
48 void ReadXMLAttributes(const char** atts) override;
49
52 void WriteXML(ostream& of, int indent) override;
53
56 void Copy(vtkMRMLNode* node) override;
57
60 const char* GetNodeTagName() override;
61
64 void SetTableNodeID(const char*);
65
68 const char* GetTableNodeID();
69
73
79 vtkSetMacro(DoPropagateTableSelection, bool);
80 vtkGetMacro(DoPropagateTableSelection, bool);
81
82 virtual const char* GetTableNodeReferenceRole();
83
84protected:
89
91
92 static const char* TableNodeReferenceRole;
94
96};
97
98#endif
MRML node to represent a table object.
static const char * TableNodeReferenceMRMLAttributeName
vtkMRMLTableViewNode(const vtkMRMLTableViewNode &)
const char * GetTableNodeID()
Get the Table node id displayed in this Table View.
virtual const char * GetTableNodeReferenceMRMLAttributeName()
void ReadXMLAttributes(const char **atts) override
Set node attributes.
static vtkMRMLTableViewNode * New()
void PrintSelf(ostream &os, vtkIndent indent) override
static const char * TableNodeReferenceRole
void SetTableNodeID(const char *)
Set the Table node id displayed in this Table View.
void operator=(const vtkMRMLTableViewNode &)
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
virtual const char * GetTableNodeReferenceRole()
~vtkMRMLTableViewNode() override
vtkMRMLTableNode * GetTableNode()
Get the Table node displayed in this Table View.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.