|
void | CreateProcessingThread () |
| Create a thread for processing.
|
|
virtual const char * | GetClassName () |
|
unsigned int | GetReadDataQueueSize () |
|
vtkPersonInformation * | GetUserInformation () |
|
vtkMRMLAbstractDisplayableManager * | GetViewDisplayableManagerByClassName (vtkMRMLAbstractViewNode *viewNode, const char *className) const |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | ProcessModified () |
|
void | ProcessReadData () |
|
void | ProcessWriteData () |
| Process a request to write data from a referenced node.
|
|
vtkMTimeType | RequestAddNodeReference (const std::string &referencingNode, const std::string &referencedNode, const std::string &role) |
|
vtkMTimeType | RequestModified (vtkObject *) |
|
vtkMTimeType | RequestReadFile (const char *refNode, const char *filename, int displayData=false, int deleteFile=false) |
|
vtkMTimeType | RequestReadScene (const std::string &filename, std::vector< std::string > &targetIDs, std::vector< std::string > &sourceIDs, int displayData=false, int deleteFile=false) |
|
vtkMTimeType | RequestUpdateParentTransform (const std::string &updatedNode, const std::string &parentTransformNode) |
|
vtkMTimeType | RequestUpdateSubjectHierarchyLocation (const std::string &updatedNode, const std::string &siblingNode) |
|
vtkMTimeType | RequestWriteData (const char *refNode, const char *filename) |
|
int | ScheduleTask (vtkSlicerTask *) |
|
void | SetMRMLSceneDataIO (vtkMRMLScene *scene, vtkMRMLRemoteIOLogic *remoteIOLogic, vtkDataIOManagerLogic *dataIOManagerLogic) |
|
void | SetTracingOff () |
|
void | SetTracingOn () |
|
void | TerminateProcessingThread () |
| Shutdown the processing thread.
|
|
virtual void | EditNode (vtkMRMLNode *node) |
| Requests the application to show user interface for editing a node.
|
|
void | FitSliceToAll (bool onlyIfPropagateVolumeSelectionAllowed=false, bool resetOrientation=true) |
|
void | FitSliceToBackground (bool onlyIfPropagateVolumeSelectionAllowed=false, bool resetOrientation=true) |
|
vtkMRMLColorLogic * | GetColorLogic () const |
|
std::string | GetFontFilePath (const std::string &fontFileName) |
| Get full path to custom font file for rendering views from font file name.
|
|
std::string | GetFontsDirectory () |
| Get folder where font files are stored ("Fonts" subfolder in application share folder).
|
|
vtkMRMLInteractionNode * | GetInteractionNode () const |
| Get default Interaction node.
|
|
bool | GetIntersectingSlicesEnabled (IntersectingSlicesOperation operation) |
|
int | GetIntersectingSlicesIntersectionMode () |
|
int | GetIntersectingSlicesLineThicknessMode () |
|
vtkMRMLAbstractLogic * | GetModuleLogic (const char *moduleName) const |
|
vtkMRMLSelectionNode * | GetSelectionNode () const |
| Get default Selection node.
|
|
vtkMRMLSliceLogic * | GetSliceLogic (vtkMRMLSliceNode *sliceNode) const |
|
vtkMRMLSliceLogic * | GetSliceLogicByLayoutName (const char *layoutName) const |
|
vtkMRMLSliceLogic * | GetSliceLogicByModelDisplayNode (vtkMRMLModelDisplayNode *displayNode) const |
| Get slice logic from slice model display node.
|
|
vtkCollection * | GetSliceLogics () const |
|
const char * | GetTemporaryPath () |
| Return the temporary path that was set by the application.
|
|
vtkMRMLViewLogic * | GetViewLogic (vtkMRMLViewNode *viewNode) const |
|
vtkMRMLViewLogic * | GetViewLogicByLayoutName (const char *layoutName) const |
|
vtkCollection * | GetViewLogics () const |
|
void | InvokeEventWithDelay (unsigned int delayInMs, vtkObject *caller, unsigned long eventID=vtkCommand::ModifiedEvent, void *callData=nullptr) |
| Conveniently calls an InvokeEvent on an object with a delay.
|
|
bool | OpenSlicerDataBundle (const char *sdbFilePath, const char *temporaryDirectory, vtkMRMLMessageCollection *userMessages=nullptr) |
|
virtual void | PauseRender () |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | PropagateBackgroundVolumeSelection (int fit=1) |
|
void | PropagateForegroundVolumeSelection (int fit=1) |
|
void | PropagateLabelVolumeSelection (int fit=1) |
|
void | PropagatePlotChartSelection () |
| Propagate selected PlotChart in the SelectionNode to Plot view nodes.
|
|
void | PropagateTableSelection () |
| Propagate selected table in the SelectionNode to table view nodes.
|
|
void | PropagateVolumeSelection (int fit=1) |
|
void | PropagateVolumeSelection (int layer, int fit) |
|
virtual void | ResumeRender () |
|
void | SaveSceneScreenshot (vtkImageData *screenshot) |
|
bool | SaveSceneToSlicerDataBundleDirectory (const char *sdbDir, vtkImageData *screenShot=nullptr, vtkMRMLMessageCollection *userMessages=nullptr) |
|
void | SetColorLogic (vtkMRMLColorLogic *newColorLogic) |
|
void | SetIntersectingSlicesEnabled (IntersectingSlicesOperation operation, bool enabled) |
|
void | SetIntersectingSlicesIntersectionMode (int mode) |
|
void | SetIntersectingSlicesLineThicknessMode (int mode) |
|
void | SetModuleLogic (const char *moduleName, vtkMRMLAbstractLogic *moduleLogic) |
|
void | SetSliceLogics (vtkCollection *sliceLogics) |
| All the slice logics in the application.
|
|
void | SetTemporaryPath (const char *path) |
| Set the temporary path the logics can use. The path should be set by the application.
|
|
void | SetViewLogics (vtkCollection *viewLogics) |
| All the view logics in the application.
|
|
std::string | UnpackSlicerDataBundle (const char *sdbFilePath, const char *temporaryDirectory) |
|
bool | Unzip (const char *zipFileName, const char *destinationDirectory) |
|
void | UseCustomFontFile (vtkTextProperty *textProperty) |
|
bool | Zip (const char *zipFileName, const char *directoryToZip) |
|
void | SetFontFileName (int fontFamily, const std::string &fontFileName) |
|
std::string | GetFontFileName (int fontFamily) |
|
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
| Get access to overall application state.
|
|
vtkMRMLScene * | GetMRMLScene () const |
| Return a reference to the current MRML scene.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
|
void | SetMRMLScene (vtkMRMLScene *newScene) |
| Set and observe the MRMLScene.
|
|
|
static std::string | GetModuleShareDirectory (const std::string &moduleName, const std::string &filePath) |
| Get share directory associated with moduleName located in filePath.
|
|
static std::string | GetModuleSlicerXYLibDirectory (const std::string &filePath) |
| Get Slicer-X.Y lib directory associated with module located in filePath.
|
|
static std::string | GetModuleSlicerXYShareDirectory (const std::string &filePath) |
| Get Slicer-X.Y share directory associated with module located in filePath.
|
|
static bool | IsEmbeddedModule (const std::string &filePath, const std::string &applicationHomeDir, const std::string &slicerRevision) |
|
static bool | IsPluginBuiltIn (const std::string &filePath, const std::string &applicationHomeDir, const std::string &slicerRevision) |
| Return true if the plugin identified with its filePath is a built-in Slicer module.
|
|
static bool | IsPluginInstalled (const std::string &filePath, const std::string &applicationHomeDir) |
|
static int | IsTypeOf (const char *type) |
|
static vtkSlicerApplicationLogic * | New () |
| The Usual vtk class functions.
|
|
static void | RequestModifiedCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
|
static vtkSlicerApplicationLogic * | SafeDownCast (vtkObject *o) |
|
static std::string | CreateUniqueFileName (const std::string &filename, const std::string &knownExtension="") |
|
static int | IsTypeOf (const char *type) |
|
static int | LoadDefaultParameterSets (vtkMRMLScene *scene, const std::vector< std::string > &directories) |
|
static vtkMRMLApplicationLogic * | New () |
|
static std::string | PercentEncode (std::string s) |
|
static vtkMRMLApplicationLogic * | SafeDownCast (vtkObject *o) |
|
static int | IsTypeOf (const char *type) |
|
static vtkMRMLAbstractLogic * | New () |
|
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
|
|
void | ProcessNetworkingTasks () |
| Networking Task processing loop that is run in a networking thread.
|
|
void | ProcessProcessingTasks () |
| Task processing loop that is run in the processing thread.
|
|
void | ProcessReadSceneData (ReadDataRequest &req) |
|
void | ProcessWriteSceneData (WriteDataRequest &req) |
|
virtual void | SetCurrentThreadPriorityToBackground () |
|
| vtkSlicerApplicationLogic () |
|
| ~vtkSlicerApplicationLogic () override |
|
void | FitSliceToContent (bool all, bool onlyIfPropagateVolumeSelectionAllowed=false, bool resetOrientation=true) |
|
void | OnMRMLSceneEndBatchProcess () override |
|
void | OnMRMLSceneEndImport () override |
|
void | OnMRMLSceneEndRestore () override |
|
void | OnMRMLSceneStartBatchProcess () override |
|
void | OnMRMLSceneStartImport () override |
|
void | OnMRMLSceneStartRestore () override |
|
void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) override |
|
void | SetInteractionNode (vtkMRMLInteractionNode *) |
|
void | SetMRMLSceneInternal (vtkMRMLScene *newScene) override |
|
void | SetSelectionNode (vtkMRMLSelectionNode *) |
|
| vtkMRMLApplicationLogic () |
|
| ~vtkMRMLApplicationLogic () 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.
|
|
int | InvokePendingModifiedEvent () |
|
void | Modified () override |
|
virtual void | ObserveMRMLScene () |
|
virtual void | OnMRMLNodeModified (vtkMRMLNode *) |
|
virtual void | OnMRMLSceneEndClose () |
|
virtual void | OnMRMLSceneNew () |
|
virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *) |
|
virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *) |
|
virtual void | OnMRMLSceneStartClose () |
|
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 |
|
Definition at line 49 of file vtkSlicerApplicationLogic.h.