6#ifndef __vtkMRMLAnnotationSnapshotNode_h
7#define __vtkMRMLAnnotationSnapshotNode_h
9#include "vtkSlicerAnnotationsModuleMRMLExport.h"
36 const char*
GetIcon()
override {
return ":/Icons/ViewCamera.png";}
41 void WriteXML(ostream& of,
int nIndent)
override;
const char * GetIcon() override
vtkMRMLAnnotationSnapshotNode(const vtkMRMLAnnotationSnapshotNode &)
virtual void SetScreenShot(vtkImageData *)
The attached screenshot.
std::string SnapshotDescription
The associated Description.
void SetSnapshotDescription(const std::string &newDescription)
void ReadXMLAttributes(const char **atts) override
~vtkMRMLAnnotationSnapshotNode() override
vtkImageData * ScreenShot
The vtkImageData of the screenshot.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one.
void SetScreenShotType(int type)
void WriteXML(ostream &of, int nIndent) override
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
static vtkMRMLAnnotationSnapshotNode * New()
void operator=(const vtkMRMLAnnotationSnapshotNode &)
vtkMRMLAnnotationSnapshotNode()
Abstract Superclass for all specific types of MRML nodes.
A superclass for other storage nodes.