Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
23class vtkCollection;
24
25// STD includes
26#include <vector>
27
29class VTK_MRML_EXPORT vtkMRMLSnapshotClipNode : public vtkMRMLNode
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
40 void ReadXMLAttributes(const char** atts) override;
41
44 void WriteXML(ostream& of, int indent) override;
45
48 void Copy(vtkMRMLNode* node) override;
49
52 const char* GetNodeTagName() override { return "SnapshotClip"; }
53
57 void UpdateScene(vtkMRMLScene* scene) override;
58
62
69
70protected:
75
76 std::vector<std::string> SceneSnapshotNodeIDs;
77 vtkCollection* SceneSnapshotNodes;
78};
79
80#endif
friend class vtkMRMLSceneViewNode
friend class vtkMRMLScene
int GetNumberOfSceneSnapshotNodes()
Get number of SceneSnapshot nodes.
vtkMRMLSnapshotClipNode(const vtkMRMLSnapshotClipNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void PrintSelf(ostream &os, vtkIndent indent) override
std::vector< std::string > SceneSnapshotNodeIDs
~vtkMRMLSnapshotClipNode() override
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
void UpdateScene(vtkMRMLScene *scene) override
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
vtkMRMLSceneViewNode * GetSceneSnapshotNode(int index)
Get SceneSnapshot node.
void AddSceneSnapshotNode(vtkMRMLSceneViewNode *node)
Add SceneSnapshot node.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
static vtkMRMLSnapshotClipNode * New()
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
void operator=(const vtkMRMLSnapshotClipNode &)