Difference between revisions of "Documentation/4.0/Developers/DirectoryStructure"

From Slicer Wiki
Jump to: navigation, search
m
(Add QtPlugins)
Line 4: Line 4:
 
Slicer_HOME
 
Slicer_HOME
 
  |
 
  |
  + bin  
+
  + bin
 +
|  |
 +
|  + designer
 +
|  |
 +
|  + iconengines
 
  |
 
  |
 
  + lib
 
  + lib
Line 61: Line 65:
 
  |
 
  |
 
  + lib
 
  + lib
 +
|  |
 +
|  + QtPlugins
 +
|  |  |
 +
|  |  + designer
 +
|  |  |
 +
|  |  + imageformats
 +
|  |  |
 +
|  |  + iconengines
 +
|  |  |
 +
|  |  + sqldrivers
 
  |  |
 
  |  |
 
  |  + Slicer-X.Y
 
  |  + Slicer-X.Y

Revision as of 08:19, 8 January 2012

Home < Documentation < 4.0 < Developers < DirectoryStructure

Slicer install and build tree

Slicer_HOME
 |
 + bin
 |  |
 |  + designer
 |  |
 |  + iconengines
 |
 + lib
 |  |
 |  + Slicer-X.Y
 |      |
 |      + cli-modules
 |      |
 |      + qt-loadable-modules
 |      |
 |      + qt-scripted-modules
 |
 + share
   |
   + Slicer-X.Y
      |
      + cli-modules
      |   |
      |   + CLIModuleName1
      |   |
      .   .
      |   |
      |   + CLIModuleNameN
      |
      + qt-loadable-modules
      |   |
      |   + QtLoadableModuleName1
      |   |
      .   .
      |   |
      |   + QtLoadableModuleNameN
      |
      + qt-scripted-modules
      |   |
      |   + QtScriptedModuleName1
      |   |
      .   .
      |   |
      |   + QtScriptedModuleNameN
      |
      + Tcl
      |
      + ParameterSets
      |
      + ColorFiles
    
 

Note The X and Y in Slicer-X.Y respectively stand for Slicer_MAJOR_VERSION and Slicer_MINOR_VERSION

Extension install and build tree

INSTALL_LOCATION
 |
 + lib
 |  |
 |  + QtPlugins 
 |  |   |
 |  |   + designer
 |  |   |
 |  |   + imageformats
 |  |   |
 |  |   + iconengines
 |  |   |
 |  |   + sqldrivers
 |  |
 |  + Slicer-X.Y
 |      |
 |      + cli-modules
 |      |
 |      + qt-loadable-modules
 |      |
 |      + qt-scripted-modules
 |
 + share
   |
   + Slicer-X.Y
      |
      + cli-modules
      |   |
      |   + CLIModuleName1
      |   |
      .   .
      |   |
      |   + CLIModuleNameN
      |
      + qt-loadable-modules
      |   |
      |   + QtLoadableModuleName1
      |   |
      .   .
      |   |
      |   + QtLoadableModuleNameN
      |
      + qt-scripted-modules
         |
         + QtScriptedModuleName1
         |
         .
         |
         + QtScriptedModuleNameN
      

API

  • vtkSlicerApplicationLogic provides some convenient functions allowing to obtain the share directory associated with a given module filepath.
  • Note also that if vtkSlicerConfigure is included the macros Slicer_CLIMODULES_SUBDIR, Slicer_QTLOADABLEMODULES_SUBDIR and Slicer_QTSCRIPTEDMODULES_SUBDIR will be available.