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


Public Types | |
| 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 | CreateSceneView (const char *name, const char *description, int screenshotType, vtkImageData *screenshot) |
| Create a sceneView.. More... | |
| virtual const char * | GetClassName () |
| vtkStdString | GetSceneViewDescription (const char *id) |
| Return the description of an existing sceneView. More... | |
| vtkStdString | GetSceneViewName (const char *id) |
| Return the name of an existing sceneView. More... | |
| vtkImageData * | GetSceneViewScreenshot (const char *id) |
| Return the screenshot of an existing sceneView. More... | |
| int | GetSceneViewScreenshotType (const char *id) |
| Return the screenshotType of an existing sceneView. More... | |
| virtual int | IsA (const char *type) |
| void | ModifySceneView (vtkStdString id, const char *name, const char *description, int screenshotType, vtkImageData *screenshot) |
| Modify an existing sceneView. More... | |
| const char * | MoveSceneViewDown (const char *id) |
| Move sceneView up. More... | |
| const char * | MoveSceneViewUp (const char *id) |
| Move sceneView up. More... | |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| virtual void | RegisterNodes () VTK_OVERRIDE |
| Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class. More... | |
| void | RemoveSceneViewNode (vtkMRMLSceneViewNode *sceneViewNode) |
| Remove a scene view node. More... | |
| void | RestoreSceneView (const char *id, bool removeNodes=true) |
| virtual void | SetMRMLSceneInternal (vtkMRMLScene *newScene) VTK_OVERRIDE |
| Initialize listening to MRML events. More... | |
Public Member Functions inherited from vtkSlicerModuleLogic | |
| virtual vtkSlicerApplicationLogic * | GetApplicationLogic () |
| Get access to overall application state. More... | |
| std::string | GetModuleShareDirectory () const |
| void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| void | SetModuleShareDirectory (const std::string &shareDirectory) |
Public Member Functions inherited from vtkMRMLAbstractLogic | |
| virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
| Get access to overall application state. More... | |
| vtkMRMLScene * | GetMRMLScene () const |
| Return a reference to the current MRML scene. More... | |
| void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
| void | SetMRMLScene (vtkMRMLScene *newScene) |
| Set and observe the MRMLScene. More... | |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerSceneViewsModuleLogic * | New () |
| static vtkSlicerSceneViewsModuleLogic * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSlicerModuleLogic | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerModuleLogic * | New () |
| The Usual vtk class functions. More... | |
| 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. More... | |
| static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| MRMLNodesCallback is a static function to relay modified events from the nodes. More... | |
| static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Definition at line 44 of file vtkSlicerSceneViewsModuleLogic.h.
Definition at line 50 of file vtkSlicerSceneViewsModuleLogic.h.
|
protected |
|
protectedvirtual |
| void vtkSlicerSceneViewsModuleLogic::CreateSceneView | ( | const char * | name, |
| const char * | description, | ||
| int | screenshotType, | ||
| vtkImageData * | screenshot | ||
| ) |
Create a sceneView..
|
virtual |
Reimplemented from vtkSlicerModuleLogic.
| vtkStdString vtkSlicerSceneViewsModuleLogic::GetSceneViewDescription | ( | const char * | id | ) |
Return the description of an existing sceneView.
| vtkStdString vtkSlicerSceneViewsModuleLogic::GetSceneViewName | ( | const char * | id | ) |
Return the name of an existing sceneView.
| vtkImageData* vtkSlicerSceneViewsModuleLogic::GetSceneViewScreenshot | ( | const char * | id | ) |
Return the screenshot of an existing sceneView.
| int vtkSlicerSceneViewsModuleLogic::GetSceneViewScreenshotType | ( | const char * | id | ) |
Return the screenshotType of an existing sceneView.
|
virtual |
Reimplemented from vtkSlicerModuleLogic.
|
static |
| void vtkSlicerSceneViewsModuleLogic::ModifySceneView | ( | vtkStdString | id, |
| const char * | name, | ||
| const char * | description, | ||
| int | screenshotType, | ||
| vtkImageData * | screenshot | ||
| ) |
Modify an existing sceneView.
| const char* vtkSlicerSceneViewsModuleLogic::MoveSceneViewDown | ( | const char * | id | ) |
Move sceneView up.
| const char* vtkSlicerSceneViewsModuleLogic::MoveSceneViewUp | ( | const char * | id | ) |
Move sceneView up.
|
static |
|
protectedvirtual |
Called after the corresponding MRML event is triggered.
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::NodeAddedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
|
virtual |
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this logic class.
Reimplemented from vtkMRMLAbstractLogic.
| void vtkSlicerSceneViewsModuleLogic::RemoveSceneViewNode | ( | vtkMRMLSceneViewNode * | sceneViewNode | ) |
Remove a scene view node.
| void vtkSlicerSceneViewsModuleLogic::RestoreSceneView | ( | const char * | id, |
| bool | removeNodes = true |
||
| ) |
Restore a sceneView. If removeNodes flag is false, don't restore the scene if it will remove data. removeNodes defaults to true for backward compatibility.
|
static |
|
virtual |
Initialize listening to MRML events.
Reimplemented from vtkMRMLAbstractLogic.
1.8.14