vtkSlicerModuleLogic Class Reference

#include <vtkSlicerModuleLogic.h>

Inheritance diagram for vtkSlicerModuleLogic:
vtkSlicerLogic vtkObject vtkAtlasCreatorCxxModuleLogic vtkCaptureBetaProbeLogic vtkChangeTrackerLogic vtkCollectFiducialsLogic vtkCommandLineModuleLogic vtkDataIOManagerLogic vtkEMSegmentLogic vtkFetchMILogic vtkFourDImageLogic vtkGradientAnisotropicDiffusionFilterLogic vtkIA_FEMeshLogic vtkIGTToolSelectorLogic vtkIntensityNormalizationFilterLogic vtkLabelStatisticsLogic vtkMeasurementsLogic vtkModelMirrorLogic vtkModelTransformLogic vtkNeuroNavLogic vtkOpenIGTLinkIFLogic vtkPETCTFusionLogic vtkPharmacokineticsLogic vtkProstateNavLogic vtkQueryAtlasLogic vtkScriptedModuleLogic vtkSlicerCLIModuleLogic vtkSlicerDaemonLogic vtkSlicerFiberBundleDisplayLogic vtkSlicerFiberBundleLogic vtkSlicermiAnnotationModuleLogic vtkSlicerTractographyFiducialSeedingLogic vtkSlicerVolumesLogic vtkSlicerWelcomeLogic vtkUDPServerLogic vtkVolumeRenderingLogic vtkVolumeRenderingLogic

List of all members.

Public Member Functions

virtual const charGetModuleLibDirectory ()
virtual const charGetModuleShareDirectory ()
void PrintSelf (ostream &os, vtkIndent indent)
 vtkGetObjectMacro (ApplicationLogic, vtkSlicerApplicationLogic)
 vtkGetStringMacro (ModuleLocation)
 vtkGetStringMacro (ModuleName)
 vtkSetObjectMacro (ApplicationLogic, vtkSlicerApplicationLogic)
 vtkSetStringMacro (ModuleLocation)
 vtkSetStringMacro (ModuleName)
 vtkTypeRevisionMacro (vtkSlicerModuleLogic, vtkSlicerLogic)

Static Public Member Functions

static void LoadDefaultParameterSets (vtkMRMLScene *)
 Load any default parameter sets into the specified scene.
static vtkSlicerModuleLogicNew ()
 The Usual vtk class functions.

Protected Member Functions

virtual int IsModuleLibDirectoryDefined ()
virtual int IsModuleShareDirectoryDefined ()
void operator= (const vtkSlicerModuleLogic &)
 vtkSetStringMacro (ModuleLibDirectory)
 vtkSetStringMacro (ModuleShareDirectory)
 vtkSlicerModuleLogic (const vtkSlicerModuleLogic &)
 vtkSlicerModuleLogic ()
 ~vtkSlicerModuleLogic ()

Protected Attributes

vtkSlicerApplicationLogicApplicationLogic
charModuleLocation
charModuleName

Private Attributes

charModuleLibDirectory
charModuleShareDirectory

Detailed Description

vtkSlicerModuleLogic - superclass for slicer module logic classes

Superclass for all slicer m,odule logic classes There must be a corresponding vtkSlicerGUI subclass corresponding to each logic class that handles all GUI interaction (no GUI code goes in the logic class).


Constructor & Destructor Documentation

vtkSlicerModuleLogic::vtkSlicerModuleLogic (  )  [protected]
vtkSlicerModuleLogic::~vtkSlicerModuleLogic (  )  [protected]
vtkSlicerModuleLogic::vtkSlicerModuleLogic ( const vtkSlicerModuleLogic  )  [protected]

Member Function Documentation

const char * vtkSlicerModuleLogic::GetModuleLibDirectory (  )  [virtual]

Get the path to the module's library directory. This is the location on disk where the module library was found. The lib directory will be computed from ModuleLocation if it was set (i.e. if Slicer3 is loading this module from a user defined location outside or even inside Slicer3), or relative to Slicer3_HOME otherwise (i.e. if the module was built directory by Slicer3 and not dynamically loaded).

Reimplemented in vtkScriptedModuleLogic.

References GetModuleShareDirectory(), and ModuleLibDirectory.

const char * vtkSlicerModuleLogic::GetModuleShareDirectory (  )  [virtual]

Get the path to the module's resources directory. This is the location on disk where resources (data, support files) associated to this module can be found. The resources directory will be computed from ModuleLocation if it was set (i.e. if Slicer3 is loading this module from a user defined location outside or even inside Slicer3), or relative to Slicer3_HOME otherwise (i.e. if the module was built directory by Slicer3 and not dynamically loaded).

Reimplemented in vtkScriptedModuleLogic.

References ModuleLocation, and ModuleShareDirectory.

Referenced by GetModuleLibDirectory(), vtkEMSegmentLogic::GetTclGeneralDirectory(), vtkEMSegmentKWLogic::GetTclTaskDirectory(), vtkChangeTrackerLogic::SourceAnalyzeTclScripts(), and vtkEMSegmentKWLogic::SourcePreprocessingTclFiles().

int vtkSlicerModuleLogic::IsModuleLibDirectoryDefined (  )  [protected, virtual]
int vtkSlicerModuleLogic::IsModuleShareDirectoryDefined (  )  [protected, virtual]
void vtkSlicerModuleLogic::LoadDefaultParameterSets ( vtkMRMLScene scene  )  [static]
static vtkSlicerModuleLogic* vtkSlicerModuleLogic::New (  )  [static]
void vtkSlicerModuleLogic::operator= ( const vtkSlicerModuleLogic  )  [protected]
void vtkSlicerModuleLogic::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
vtkSlicerModuleLogic::vtkGetObjectMacro ( ApplicationLogic  ,
vtkSlicerApplicationLogic   
)

Get access to overall application state

vtkSlicerModuleLogic::vtkGetStringMacro ( ModuleLocation   ) 
vtkSlicerModuleLogic::vtkGetStringMacro ( ModuleName   ) 

The name of the Module

Reimplemented in vtkChangeTrackerLogic, and vtkEMSegmentLogic.

vtkSlicerModuleLogic::vtkSetObjectMacro ( ApplicationLogic  ,
vtkSlicerApplicationLogic   
)
vtkSlicerModuleLogic::vtkSetStringMacro ( ModuleLibDirectory   )  [protected]
vtkSlicerModuleLogic::vtkSetStringMacro ( ModuleShareDirectory   )  [protected]
vtkSlicerModuleLogic::vtkSetStringMacro ( ModuleLocation   ) 

Set/Get the location of this module (if it was loaded dynamically this could be the full path to the dynamic library, or the full path to the pkgIndex.tcl file if the module is a scripted module, etc).

vtkSlicerModuleLogic::vtkSetStringMacro ( ModuleName   ) 

Reimplemented in vtkChangeTrackerLogic, and vtkEMSegmentLogic.

vtkSlicerModuleLogic::vtkTypeRevisionMacro ( vtkSlicerModuleLogic  ,
vtkSlicerLogic   
)

Member Data Documentation

Reimplemented in vtkChangeTrackerLogic, and vtkEMSegmentLogic.

Referenced by vtkSlicerModuleLogic().


The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1