15 #ifndef __vtkMRMLSceneViewNode_h 16 #define __vtkMRMLSceneViewNode_h 21 #include <vtkStdString.h> 31 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
41 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
45 virtual
void WriteNodeBodyXML(ostream& of,
int indent) VTK_OVERRIDE;
53 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "SceneView";}
61 virtual void UpdateStoredScene();
78 void AddMissingNodes();
87 void RestoreScene(
bool removeNodes =
true);
89 void SetAbsentStorageFileNames();
92 void SetSceneViewDescription(
const vtkStdString& newDescription);
93 vtkGetMacro(SceneViewDescription, vtkStdString);
96 virtual void SetScreenShot(vtkImageData* newScreenShot);
97 vtkGetObjectMacro(ScreenShot, vtkImageData);
106 virtual void SetScreenShotType(
int type);
107 vtkGetMacro(ScreenShotType,
int);
117 int GetNodesByClass(
const char *className, std::vector<vtkMRMLNode *> &
nodes);
122 vtkCollection* GetNodesByClass(
const char *className);
129 void SetSceneViewRootDir(
const char* name);
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
friend class vtkMRMLSceneViewNode
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
MRMLNode methods.
MRML node to represent a 3D surface model.
A set of MRML Nodes that supports serialization and undo/redo.
int ScreenShotType
The type of the screenshot.
vtkStdString SceneViewDescription
The associated Description.
virtual void ProcessChildNode(vtkMRMLNode *)
Set dependencies between this node and a child node when parsing XML file.
A supercalss for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
vtkImageData * ScreenShot
The vtkImageData of the screenshot.
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
void operator=(const vtkMRMLStorableNode &)
vtkMRMLScene * SnapshotScene