15#ifndef __vtkMRMLSceneViewNode_h
16#define __vtkMRMLSceneViewNode_h
33 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 void WriteXML(ostream& of,
int indent)
override;
friend class vtkMRMLScene
vtkMRMLScene * GetStoredScene()
void SetSceneViewRootDir(const char *name)
int ScreenShotType
The type of the screenshot.
virtual void SetScreenShotType(int type)
vtkCollection * GetNodesByClass(const char *className)
vtkMRMLScene * SnapshotScene
static vtkMRMLSceneViewNode * New()
void UpdateScene(vtkMRMLScene *scene) override
Updates scene nodes.
~vtkMRMLSceneViewNode() override
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one.
void SetSceneViewDescription(const std::string &newDescription)
A description of this sceneView.
bool RestoreScene(bool removeNodes=true)
std::string SceneViewDescription
The associated Description.
int GetNodesByClass(const char *className, std::vector< vtkMRMLNode * > &nodes)
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void PrintSelf(ostream &os, vtkIndent indent) override
void operator=(const vtkMRMLSceneViewNode &)
vtkImageData * ScreenShot
The vtkImageData of the screenshot.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void ProcessChildNode(vtkMRMLNode *node) override
bool IncludeNodeInSceneView(vtkMRMLNode *node)
void SetScene(vtkMRMLScene *scene) override
This method is for internal use only. Use AddNode method of vtkMRMLScene to add a node to the scene.
vtkMRMLSceneViewNode(const vtkMRMLSceneViewNode &)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
virtual void UpdateStoredScene()
Updates internal nodes.
void WriteNodeBodyXML(ostream &of, int indent) override
Write this node's body to a MRML file in XML format.
virtual void SetScreenShot(vtkImageData *newScreenShot)
The attached screenshot of this sceneView.
void SetAbsentStorageFileNames()
A superclass for other storage nodes.