6 #ifndef __vtkMRMLAnnotationSnapshotNode_h 7 #define __vtkMRMLAnnotationSnapshotNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 13 #include <vtkStdString.h> 34 const char*
GetIcon()
override {
return ":/Icons/ViewCamera.png";}
36 void SetSnapshotDescription(
const vtkStdString& newDescription);
37 vtkGetMacro(SnapshotDescription, vtkStdString)
39 void WriteXML(ostream& of,
int nIndent)
override;
43 virtual void SetScreenShot(vtkImageData* );
44 vtkGetObjectMacro(ScreenShot, vtkImageData);
47 vtkGetMacro(ScaleFactor,
double);
48 vtkSetMacro(ScaleFactor,
double);
57 void SetScreenShotType(
int type);
58 vtkGetMacro(ScreenShotType,
int);
65 SnapshotNodeAddedEvent = 0,
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
const char * GetIcon() override
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
vtkStdString SnapshotDescription
The associated Description.
void operator=(const vtkMRMLAnnotationNode &)
A superclass for other storage nodes.
static vtkMRMLAnnotationNode * New()
vtkMRMLStorageNode * CreateDefaultStorageNode() override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
Abstract Superclass for all specific types of MRML nodes.
vtkImageData * ScreenShot
The vtkImageData of the screenshot.