|
void | Apply (vtkMRMLCommandLineModuleNode *node, bool updateDisplay=true) |
|
void | ApplyAndWait (vtkMRMLCommandLineModuleNode *node, bool updateDisplay=true) |
|
vtkMRMLCommandLineModuleNode * | CreateNode () |
|
vtkMRMLCommandLineModuleNode * | CreateNodeInScene () |
|
virtual void | DeleteTemporaryFilesOff () |
|
virtual void | DeleteTemporaryFilesOn () |
| For debugging, control deletion of temp files. More...
|
|
int | GetAllowInMemoryTransfer () const |
|
virtual const char * | GetClassName () |
|
const ModuleDescription & | GetDefaultModuleDescription () const |
|
std::string | GetDefaultParameterValue (const std::string &name) const |
|
int | GetDeleteTemporaryFiles () const |
|
int | GetRedirectModuleStreams () const |
|
virtual int | IsA (const char *type) |
|
void | KillProcesses () |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual void | ProcessMrmlEvents (vtkObject *vtkNotUsed(caller), unsigned long vtkNotUsed(event), void *vtkNotUsed(callData)) |
|
virtual void | RedirectModuleStreamsOff () |
|
virtual void | RedirectModuleStreamsOn () |
| For debugging, control redirection of cout and cerr. More...
|
|
void | SetAllowInMemoryTransfer (int value) |
|
void | SetDefaultModuleDescription (const ModuleDescription &moduleDescription) |
|
bool | SetDefaultParameterValue (const std::string &name, const std::string &value) |
|
void | SetDeleteTemporaryFiles (int value) |
|
void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) override |
| Set the application logic. More...
|
|
void | SetRedirectModuleStreams (int value) |
|
virtual vtkSlicerApplicationLogic * | GetApplicationLogic () |
| Get access to overall application state. More...
|
|
virtual vtkMRMLAbstractLogic * | GetModuleLogic (const char *moduleName) |
| Convenience method for getting another module's logic from the application logic. More...
|
|
std::string | GetModuleShareDirectory () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | SetModuleShareDirectory (const std::string &shareDirectory) |
|
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) override |
|
void | SetMRMLScene (vtkMRMLScene *newScene) |
| Set and observe the MRMLScene. More...
|
|
|
void | AddCompleteModelHierarchyToMiniScene (vtkMRMLScene *, vtkMRMLModelHierarchyNode *, MRMLIDMap *sceneToMiniSceneMap, std::set< std::string > &filesToDelete) |
|
void | ApplyTask (void *clientdata) |
|
void | AutoRun (vtkMRMLCommandLineModuleNode *cliNode) |
| Call apply because the node requests it. More...
|
|
std::string | ConstructTemporaryFileName (const std::string &tag, const std::string &type, const std::string &name, const std::vector< std::string > &extensions, CommandLineModuleType commandType) |
|
std::string | ConstructTemporarySceneFileName (vtkMRMLScene *scene) |
|
std::string | FindHiddenNodeID (const ModuleDescription &d, const ModuleParameter &p) |
|
int | GetCoordinateSystemFromString (const char *coordinateSystemStr) const |
|
bool | IsCommandLineModuleNodeUpdatingDisplay (vtkMRMLCommandLineModuleNode *commandLineModuleNode) const |
|
void | OnMRMLSceneNodeAdded (vtkMRMLNode *node) override |
| Reimplemented for AutoRun mode. More...
|
|
void | ProcessMRMLLogicsEvents (vtkObject *, long unsigned int, void *) override |
| Reimplemented to observe vtkSlicerApplicationLogic. More...
|
|
void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) override |
| Reimplemented to observe CLI node. More...
|
|
void | SetMRMLSceneInternal (vtkMRMLScene *newScene) override |
| Reimplemented to observe NodeAddedEvent. More...
|
|
| vtkSlicerModuleLogic () |
|
| ~vtkSlicerModuleLogic () override |
|
int | EndModify (bool wasModifying) |
|
virtual bool | EnterMRMLLogicsCallback () const |
|
virtual bool | EnterMRMLNodesCallback () const |
|
virtual bool | EnterMRMLSceneCallback () const |
|
bool | GetDisableModifiedEvent () const |
|
int | GetInMRMLLogicsCallbackFlag () const |
|
int | GetInMRMLNodesCallbackFlag () const |
|
int | GetInMRMLSceneCallbackFlag () const |
|
vtkCallbackCommand * | GetMRMLLogicsCallbackCommand () |
|
vtkObserverManager * | GetMRMLLogicsObserverManager () const |
|
vtkCallbackCommand * | GetMRMLNodesCallbackCommand () |
|
vtkObserverManager * | GetMRMLNodesObserverManager () const |
|
vtkCallbackCommand * | GetMRMLSceneCallbackCommand () |
|
vtkObserverManager * | GetMRMLSceneObserverManager () const |
|
int | GetPendingModifiedEventCount () const |
|
int | GetProcessingMRMLSceneEvent () const |
| Return the event id currently processed or 0 if any. More...
|
|
int | InvokePendingModifiedEvent () |
|
void | Modified () override |
|
virtual void | ObserveMRMLScene () |
|
virtual void | OnMRMLNodeModified (vtkMRMLNode *) |
|
virtual void | OnMRMLSceneEndBatchProcess () |
|
virtual void | OnMRMLSceneEndClose () |
|
virtual void | OnMRMLSceneEndImport () |
|
virtual void | OnMRMLSceneEndRestore () |
|
virtual void | OnMRMLSceneNew () |
|
virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *) |
|
virtual void | OnMRMLSceneStartBatchProcess () |
|
virtual void | OnMRMLSceneStartClose () |
|
virtual void | OnMRMLSceneStartImport () |
|
virtual void | OnMRMLSceneStartRestore () |
|
virtual void | ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData) |
|
virtual void | ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData) |
|
virtual void | RegisterNodes () |
|
void | SetAndObserveMRMLSceneEventsInternal (vtkMRMLScene *newScene, vtkIntArray *events, vtkFloatArray *priorities=nullptr) |
|
void | SetDisableModifiedEvent (bool onOff) |
|
void | SetInMRMLLogicsCallbackFlag (int flag) |
|
void | SetInMRMLNodesCallbackFlag (int flag) |
|
void | SetInMRMLSceneCallbackFlag (int flag) |
|
void | SetProcessingMRMLSceneEvent (int event) |
|
bool | StartModify () |
|
virtual void | UnobserveMRMLScene () |
|
virtual void | UpdateFromMRMLScene () |
|
| vtkMRMLAbstractLogic () |
|
| ~vtkMRMLAbstractLogic () override |
|
|
static void | ProgressCallback (void *) |
|
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) |
|
Logic for running CLI.
vtkSlicerCLIModuleLogic logic allows to run a either synchronously or asynchronously CLI using parameters of a vtkMRMLCommandLineModuleNode. While a CLI module logic can run any CLI node, the logic can uniquely be assigned a specific CLI by setting a DefaultModuleDescription.
Definition at line 42 of file vtkSlicerCLIModuleLogic.h.