Slicer  4.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLChartViewNode.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8  Program: 3D Slicer
9  Module: $RCSfile: vtkMRMLChartNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLChartViewNode_h
16 #define __vtkMRMLChartViewNode_h
17 
19 
23 class VTK_MRML_EXPORT vtkMRMLChartViewNode : public vtkMRMLAbstractViewNode
24 {
25 public:
26  static vtkMRMLChartViewNode *New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  //--------------------------------------------------------------------------
32  //--------------------------------------------------------------------------
33 
34  vtkMRMLNode* CreateNodeInstance() override;
35 
38  void ReadXMLAttributes( const char** atts) override;
39 
42  void WriteXML(ostream& of, int indent) override;
43 
44 
47  void Copy(vtkMRMLNode *node) override;
48 
51  const char* GetNodeTagName() override;
52 
55  void SetChartNodeID(const char *);
56 
59  vtkGetStringMacro(ChartNodeID);
60 
64  void UpdateReferences() override;
65 
68  void UpdateReferenceID(const char *oldID, const char *newID) override;
69 
72  enum
73  {
74  ChartNodeChangedEvent = 16000
75  };
76 
77 protected:
79  ~vtkMRMLChartViewNode() override;
81  void operator=(const vtkMRMLChartViewNode&);
82 
83  char* ChartNodeID;
84 };
85 
86 #endif
virtual void UpdateReferences()
The method should remove all pointers and observations to all nodes that are not in the scene anymore...
void operator=(const vtkMRMLAbstractViewNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
virtual void UpdateReferenceID(const char *oldID, const char *newID)
Update the stored reference to another node in the scene.
virtual void Copy(vtkMRMLNode *node)
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
void ReadXMLAttributes(const char **atts) override
MRMLNode methods.
MRML node to represent chart view parameters.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual const char * GetNodeTagName()=0
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.