Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLSnapshotClipNode.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: vtkMRMLSnapshotClipNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.13 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLSnapshotClipNode_h
16 #define __vtkMRMLSnapshotClipNode_h
17 
18 // MRML includes
19 #include "vtkMRMLNode.h"
21 
22 // VTK includes
23 class vtkCollection;
24 
25 // STD includes
26 #include <vector>
27 
29 class VTK_MRML_EXPORT vtkMRMLSnapshotClipNode : public vtkMRMLNode
30 {
31  public:
32  static vtkMRMLSnapshotClipNode *New();
34  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
35 
36  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
37 
40  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
41 
44  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
45 
48  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
49 
52  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "SnapshotClip";}
53 
57  virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE;
58 
61  void AddSceneSnapshotNode(vtkMRMLSceneViewNode * node);
62 
65  int GetNumberOfSceneSnapshotNodes();
68  vtkMRMLSceneViewNode* GetSceneSnapshotNode(int index);
69 
70 protected:
75 
76  std::vector< std::string > SceneSnapshotNodeIDs;
77  vtkCollection* SceneSnapshotNodes;
78 
79 };
80 
81 #endif
std::vector< std::string > SceneSnapshotNodeIDs
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
A set of MRML Nodes that supports serialization and undo/redo.
Definition: vtkMRMLScene.h:54
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract class representing a hierarchy member.
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
virtual void UpdateScene(vtkMRMLScene *)
Definition: vtkMRMLNode.h:171