Skip to content
  • jcfr's avatar
    ENH: Module logic python wrapper are now automatically generated and exposed to slicer python · 4d6c5311
    jcfr authored
    The recommended way to retrieve the logic associated with a module is:
    
      slicer.modules.MODULENAME.logic()
    
    Note that all vtk classes provided by a given module logic are
    directly available in 'slicer' namespace.
    
    For example, the following object could be directly instantiated:
      slicer.vtkSlicerVolumesLogic
      slicer.vtkMRMLFetchMINode
      slicer.vtkMRMLFetchMINode
      slicer.vtkSlicerEMSegmentLogic
    
    Note also that libraries specific to a module, for example
     Modules/EMSegment/MRML, are not yet wrapped or exposed to python.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@15737 3bd1e089-480b-0410-8dfb-8563597acbee
    4d6c5311