13 #ifndef __vtkSlicerCLIModuleLogic_h 14 #define __vtkSlicerCLIModuleLogic_h 21 class ModuleDescription;
22 class ModuleParameter;
32 #include "qSlicerBaseQTCLIExport.h" 48 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 void SetDefaultModuleDescription(
const ModuleDescription& moduleDescription);
53 const ModuleDescription& GetDefaultModuleDescription()
const;
70 unsigned long vtkNotUsed(event),
71 void * vtkNotUsed(callData)){}
74 virtual void DeleteTemporaryFilesOn();
75 virtual void DeleteTemporaryFilesOff();
76 void SetDeleteTemporaryFiles(
int value);
77 int GetDeleteTemporaryFiles()
const;
80 void SetAllowInMemoryTransfer(
int value);
81 int GetAllowInMemoryTransfer()
const;
84 virtual void RedirectModuleStreamsOn();
85 virtual void RedirectModuleStreamsOff();
86 void SetRedirectModuleStreams(
int value);
87 int GetRedirectModuleStreams()
const;
105 void KillProcesses();
121 void *callData) VTK_OVERRIDE;
126 std::string ConstructTemporaryFileName(
const std::string& tag,
127 const std::string& type,
128 const std::string& name,
129 const std::vector<std::string>& extensions,
131 std::string ConstructTemporarySceneFileName(
vtkMRMLScene *scene);
132 std::string FindHiddenNodeID(
const ModuleDescription& d,
133 const ModuleParameter& p);
136 void ApplyTask(
void *clientdata);
139 static void ProgressCallback(
void *);
143 bool IsCommandLineModuleNodeUpdatingDisplay(
151 RequestHierarchyEditEvent = vtkCommand::UserEvent + 1
166 vtkInternal * Internal;
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void ProcessMRMLLogicsEvents(vtkObject *caller, unsigned long event, void *callData)
virtual void ProcessMrmlEvents(vtkObject *vtkNotUsed(caller), unsigned long vtkNotUsed(event), void *vtkNotUsed(callData))
virtual void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData)
A set of MRML Nodes that supports serialization and undo/redo.
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *)
virtual void SetMRMLApplicationLogic(vtkMRMLApplicationLogic *logic)
virtual void SetMRMLSceneInternal(vtkMRMLScene *newScene)
MRML node to represent a hierarchyu of models.
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing the parameters allowing to run a command line interface module (CLI)...
Events
List of custom events fired by the class.