1#ifndef __vtkSlicerAnnotationModuleLogic_h
2#define __vtkSlicerAnnotationModuleLogic_h
5#include "vtkSlicerAnnotationsModuleLogicExport.h"
16#include <vtkStdString.h>
26 RefreshRequestEvent = vtkCommand::UserEvent,
27 HierarchyNodeAddedEvent
31 void PrintSelf(ostream& os, vtkIndent indent)
override;
40 void CreateSnapShot(
const char* name,
const char* description,
int screenshotType,
double scaleFactor, vtkImageData* screenshot);
43 void ModifySnapShot(vtkStdString
id,
const char* name,
const char* description,
int screenshotType,
double scaleFactor, vtkImageData* screenshot);
void PrintSelf(ostream &os, vtkIndent indent) override
void CreateSnapShot(const char *name, const char *description, int screenshotType, double scaleFactor, vtkImageData *screenshot)
Create a snapShot.
bool IsSnapshotNode(const char *id)
Check if node id corresponds to a snapShot node.
double GetSnapShotScaleFactor(const char *id)
Return the scaleFactor of an existing annotation snapShot.
vtkStdString GetSnapShotDescription(const char *id)
Return the description of an existing annotation snapShot.
vtkStdString GetSnapShotName(const char *id)
Return the name of an existing annotation snapShot.
void ModifySnapShot(vtkStdString id, const char *name, const char *description, int screenshotType, double scaleFactor, vtkImageData *screenshot)
Modify an existing snapShot.
void RegisterNodes() override
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this...
vtkImageData * GetSnapShotScreenshot(const char *id)
Return the screenshot of an existing annotation snapShot.
vtkSlicerAnnotationModuleLogic()
static vtkSlicerAnnotationModuleLogic * New()
~vtkSlicerAnnotationModuleLogic() override
int GetSnapShotScreenshotType(const char *id)
Return the screenshotType of an existing annotation snapShot.