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);
122 vtkCollection* GetNodesByClass(const
char *className);
129 void SetSceneViewRootDir( const
char* name);
141 vtkStdString SceneViewDescription;
144 vtkImageData* ScreenShot;
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
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.
virtual void ProcessChildNode(vtkMRMLNode *)
Set dependencies between this node and a child node when parsing XML file.
A superclass for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data