6 #ifndef __vtkMRMLAnnotationSnapshotNode_h 7 #define __vtkMRMLAnnotationSnapshotNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 13 #include <vtkStdString.h> 32 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationSnapshot";}
34 virtual const char*
GetIcon() VTK_OVERRIDE {
return ":/Icons/ViewCamera.png";}
36 void SetSnapshotDescription(
const vtkStdString& newDescription);
37 vtkGetMacro(SnapshotDescription, vtkStdString)
39 void WriteXML(ostream& of,
int nIndent) VTK_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,
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE
Read node attributes from XML file
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Write this node's information to a MRML file in XML format.
vtkStdString SnapshotDescription
The associated Description.
void operator=(const vtkMRMLAnnotationNode &)
virtual const char * GetIcon() VTK_OVERRIDE
A superclass for other storage nodes.
static vtkMRMLAnnotationNode * New()
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
virtual vtkMRMLStorageNode * CreateDefaultStorageNode() VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
vtkImageData * ScreenShot
The vtkImageData of the screenshot.