21 #ifndef __vtkMRMLSceneViewsModuleLogic_h 22 #define __vtkMRMLSceneViewsModuleLogic_h 30 #include "vtkSlicerSceneViewsModuleLogicExport.h" 51 virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
60 void CreateSceneView(const
char* name, const
char* description,
int screenshotType, vtkImageData* screenshot);
63 void ModifySceneView(vtkStdString
id, const
char* name, const
char* description,
int screenshotType, vtkImageData* screenshot);
66 vtkStdString GetSceneViewName(const
char*
id);
69 vtkStdString GetSceneViewDescription(const
char*
id);
72 int GetSceneViewScreenshotType(const
char*
id);
75 vtkImageData* GetSceneViewScreenshot(const
char*
id);
80 void RestoreSceneView(const
char*
id,
bool removeNodes = true);
83 const
char* MoveSceneViewUp(const
char*
id);
86 const
char* MoveSceneViewDown(const
char*
id);
95 virtual ~vtkSlicerSceneViewsModuleLogic();
97 virtual
void OnMRMLSceneNodeAdded(
vtkMRMLNode* node) VTK_OVERRIDE;
98 virtual
void OnMRMLSceneEndImport() VTK_OVERRIDE;
99 virtual
void OnMRMLSceneEndRestore() VTK_OVERRIDE;
100 virtual
void OnMRMLSceneEndClose() VTK_OVERRIDE;
102 virtual
void OnMRMLNodeModified(
vtkMRMLNode* node) VTK_OVERRIDE;
106 std::
string m_StringHolder;
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
A set of MRML Nodes that supports serialization and undo/redo.
virtual void RegisterNodes()
virtual void SetMRMLSceneInternal(vtkMRMLScene *newScene)
Abstract Superclass for all specific types of MRML nodes.