1#ifndef __vtkSlicerAnnotationModuleLogic_h
2#define __vtkSlicerAnnotationModuleLogic_h
5#include "vtkSlicerAnnotationsModuleLogicExport.h"
28 void PrintSelf(ostream& os, vtkIndent indent)
override;
37 void CreateSnapShot(
const char* name,
const char* description,
int screenshotType,
double scaleFactor, vtkImageData* screenshot);
40 void ModifySnapShot(std::string
id,
const char* name,
const char* description,
int screenshotType,
double scaleFactor, vtkImageData* screenshot);
std::string GetSnapShotName(const char *id)
Return the name of an existing annotation snapShot.
void PrintSelf(ostream &os, vtkIndent indent) override
void CreateSnapShot(const char *name, const char *description, int screenshotType, double scaleFactor, vtkImageData *screenshot)
Create a snapShot.
@ HierarchyNodeAddedEvent
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.
void ModifySnapShot(std::string 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
std::string GetSnapShotDescription(const char *id)
Return the description of an existing annotation snapShot.
int GetSnapShotScreenshotType(const char *id)
Return the screenshotType of an existing annotation snapShot.