21 #ifndef __vtkMRMLSceneViewsModuleLogic_h 22 #define __vtkMRMLSceneViewsModuleLogic_h 30 #include "vtkSlicerSceneViewsModuleLogicExport.h" 40 #include <vtkStdString.h> 52 void PrintSelf(ostream& os, vtkIndent indent)
override;
61 void CreateSceneView(
const char* name,
const char* description,
int screenshotType, vtkImageData* screenshot);
64 void ModifySceneView(vtkStdString
id,
const char* name,
const char* description,
int screenshotType, vtkImageData* screenshot);
67 vtkStdString GetSceneViewName(
const char*
id);
70 vtkStdString GetSceneViewDescription(
const char*
id);
73 int GetSceneViewScreenshotType(
const char*
id);
76 vtkImageData* GetSceneViewScreenshot(
const char*
id);
83 bool RestoreSceneView(
const char*
id,
bool removeNodes =
true);
86 const char* MoveSceneViewUp(
const char*
id);
89 const char* MoveSceneViewDown(
const char*
id);
109 std::string m_StringHolder;
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
virtual void OnMRMLSceneEndImport()
virtual void OnMRMLSceneEndClose()
virtual void OnMRMLNodeModified(vtkMRMLNode *)
A set of MRML Nodes that supports serialization and undo/redo.
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *)
virtual void RegisterNodes()
virtual void SetMRMLSceneInternal(vtkMRMLScene *newScene)
virtual void OnMRMLSceneEndRestore()
Abstract Superclass for all specific types of MRML nodes.