|
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/Logic/vtkSlicerAnnotationModuleLogic.h>


Public Types | |
| enum | Events { RefreshRequestEvent = vtkCommand::UserEvent , HierarchyNodeAddedEvent } |
| typedef vtkSlicerModuleLogic | Superclass |
Public Types inherited from vtkSlicerModuleLogic | |
| typedef vtkMRMLAbstractLogic | Superclass |
Public Types inherited from vtkMRMLAbstractLogic | |
| typedef vtkObject | Superclass |
| typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
| void | CreateSnapShot (const char *name, const char *description, int screenshotType, double scaleFactor, vtkImageData *screenshot) |
| Create a snapShot. | |
| virtual const char * | GetClassName () |
| std::string | GetSnapShotDescription (const char *id) |
| Return the description of an existing annotation snapShot. | |
| std::string | GetSnapShotName (const char *id) |
| Return the name of an existing annotation snapShot. | |
| double | GetSnapShotScaleFactor (const char *id) |
| Return the scaleFactor of an existing annotation snapShot. | |
| vtkImageData * | GetSnapShotScreenshot (const char *id) |
| Return the screenshot of an existing annotation snapShot. | |
| int | GetSnapShotScreenshotType (const char *id) |
| Return the screenshotType of an existing annotation snapShot. | |
| virtual int | IsA (const char *type) |
| bool | IsSnapshotNode (const char *id) |
| Check if node id corresponds to a snapShot node. | |
| void | ModifySnapShot (std::string id, const char *name, const char *description, int screenshotType, double scaleFactor, vtkImageData *screenshot) |
| Modify an existing snapShot. | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | RegisterNodes () override |
| Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class. | |
Public Member Functions inherited from vtkSlicerModuleLogic | |
| virtual vtkSlicerApplicationLogic * | GetApplicationLogic () |
| Get access to overall application state. | |
| virtual vtkMRMLAbstractLogic * | GetModuleLogic (const char *moduleName) |
| Convenience method for getting another module's logic from the application logic. | |
| std::string | GetModuleShareDirectory () const |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | SetModuleShareDirectory (const std::string &shareDirectory) |
Public Member Functions inherited from vtkMRMLAbstractLogic | |
| virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
| Get access to overall application state. | |
| vtkMRMLScene * | GetMRMLScene () const |
| Return a reference to the current MRML scene. | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
| void | SetMRMLScene (vtkMRMLScene *newScene) |
| Set and observe the MRMLScene. | |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerAnnotationModuleLogic * | New () |
| static vtkSlicerAnnotationModuleLogic * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSlicerModuleLogic | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerModuleLogic * | New () |
| The Usual vtk class functions. | |
| static vtkSlicerModuleLogic * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractLogic | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAbstractLogic * | New () |
| static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkMRMLAbstractLogic | |
| static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLLogicCallback is a static function to relay modified events from the logics. | |
| static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLNodesCallback is a static function to relay modified events from the nodes. | |
| static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Definition at line 18 of file vtkSlicerAnnotationModuleLogic.h.
Definition at line 27 of file vtkSlicerAnnotationModuleLogic.h.
| Enumerator | |
|---|---|
| RefreshRequestEvent | |
| HierarchyNodeAddedEvent | |
Definition at line 21 of file vtkSlicerAnnotationModuleLogic.h.
|
protected |
|
overrideprotected |
| void vtkSlicerAnnotationModuleLogic::CreateSnapShot | ( | const char * | name, |
| const char * | description, | ||
| int | screenshotType, | ||
| double | scaleFactor, | ||
| vtkImageData * | screenshot ) |
Create a snapShot.
|
virtual |
Reimplemented from vtkSlicerModuleLogic.
| std::string vtkSlicerAnnotationModuleLogic::GetSnapShotDescription | ( | const char * | id | ) |
Return the description of an existing annotation snapShot.
| std::string vtkSlicerAnnotationModuleLogic::GetSnapShotName | ( | const char * | id | ) |
Return the name of an existing annotation snapShot.
| double vtkSlicerAnnotationModuleLogic::GetSnapShotScaleFactor | ( | const char * | id | ) |
Return the scaleFactor of an existing annotation snapShot.
| vtkImageData * vtkSlicerAnnotationModuleLogic::GetSnapShotScreenshot | ( | const char * | id | ) |
Return the screenshot of an existing annotation snapShot.
| int vtkSlicerAnnotationModuleLogic::GetSnapShotScreenshotType | ( | const char * | id | ) |
Return the screenshotType of an existing annotation snapShot.
|
virtual |
Reimplemented from vtkSlicerModuleLogic.
| bool vtkSlicerAnnotationModuleLogic::IsSnapshotNode | ( | const char * | id | ) |
Check if node id corresponds to a snapShot node.
|
static |
| void vtkSlicerAnnotationModuleLogic::ModifySnapShot | ( | std::string | id, |
| const char * | name, | ||
| const char * | description, | ||
| int | screenshotType, | ||
| double | scaleFactor, | ||
| vtkImageData * | screenshot ) |
Modify an existing snapShot.
|
static |
|
override |
|
overridevirtual |
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class.
Reimplemented from vtkMRMLAbstractLogic.
|
static |