Difference between revisions of "Projects:ARRA:SlicerEM:Developer"

From NAMIC Wiki
Jump to: navigation, search
Line 44: Line 44:
 
* Step2: Create a github user [http://help.github.com/] and fork CTK (http://github.com/commontk/CTK).  
 
* Step2: Create a github user [http://help.github.com/] and fork CTK (http://github.com/commontk/CTK).  
 
* Step3: Build CTK - See [http://www.commontk.org/index.php/Build_Instructions these instructions] - We will teach CTK to use the VTK build by Slicer
 
* Step3: Build CTK - See [http://www.commontk.org/index.php/Build_Instructions these instructions] - We will teach CTK to use the VTK build by Slicer
 +
** Make sure you set the following options: CTK_LIB_PluginFramework, CTK_PLUGIN_org.commontk.eventb, CTK_LIB_Visualization/VTK/Widgets and VTK_DIR
 
<pre>
 
<pre>
 
cd MyProjects
 
cd MyProjects
Line 49: Line 50:
 
mkdir CTK-Superbuild
 
mkdir CTK-Superbuild
 
cd CTK-Superbuild
 
cd CTK-Superbuild
ccmake -DCTK_LIB_PluginFramework:BOOL=OFF -DCTK_PLUGIN_org.commontk.eventb:BOOL=OFF -DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON -DVTK_DIR:PATH=/home/me/MyProjects/Slicer3-SuperBuild/VTK-build ../CTK
+
ccmake -DCTK_LIB_PluginFramework:BOOL=OFF -DCTK_PLUGIN_org.commontk.eventbus:BOOL=OFF -DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON -DVTK_DIR:PATH=/home/me/MyProjects/Slicer3-SuperBuild/VTK-build ../CTK
 
make
 
make
 
</pre>
 
</pre>

Revision as of 18:50, 13 July 2010

Home < Projects:ARRA:SlicerEM:Developer

Back to SlicerEM page

Kitware Team

  • Sebastien Barre - Workflow manager - 50%
  • Julien Finet - Chart/Plot export - work in // with vtkChart folks - 10%
  • Jean-Christophe Fillion-Robin (Project Lead) - Infrastructure / Python - 50%
  • Danielle Pace - Workflow manager - 100%

Unassigned Items

lists tasks that need to be done

  • Mile stones for project at next weeks meeting
  • Review which widgets should be converted

Work in Progress

What do you plan to do this week

Sebastien

Julien

Jc

  • Create initial directory structure
  • Write down Developer page

Danielle

Team meeting

lists the team meeting and includes a pointer to the associated notes

Milestone

Development environment

Contributing to CTK

  • Each developer should fork CTK official repository (github.com/commontk/CTK). Doing so will allow to:
    • backup its work before integration with CTK master.
    • publish and share its work

Working on Slicer / CTK in parallel

  • Step1: Build slicer following these instruction. Enable both Slicer3_USE_KWWIDGETS and Slicer3_USE_QT.
  • Step2: Create a github user [1] and fork CTK (http://github.com/commontk/CTK).
  • Step3: Build CTK - See these instructions - We will teach CTK to use the VTK build by Slicer
    • Make sure you set the following options: CTK_LIB_PluginFramework, CTK_PLUGIN_org.commontk.eventb, CTK_LIB_Visualization/VTK/Widgets and VTK_DIR
cd MyProjects
git clone http://github.com/me/CTK
mkdir CTK-Superbuild
cd CTK-Superbuild
ccmake -DCTK_LIB_PluginFramework:BOOL=OFF -DCTK_PLUGIN_org.commontk.eventbus:BOOL=OFF -DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON -DVTK_DIR:PATH=/home/me/MyProjects/Slicer3-SuperBuild/VTK-build ../CTK
make
  • Step4: Re-configure slicer4 passing CTK_DIR
cd MyProjects/Slicer3-Superbuild
ccmake -DCTK_DIR:PATH=/home/me/MyProjects/CTK-Superbuild .

EMSegment source code

  • The name of the Qt module is EMSegment.
  • The associated source code, hosted on slicer3 repository (trunk) is located in the following directory: <SRC>/QTModules/EMSegment
  • Every commit related to EMSegment should be prefixed with either:
    • ENH: EMSegment - <Message summary>
    • COMP: EMSegment - <Message summary>
    • BUG: EMSegment - <Message summary>
    • STYLE: EMSegment - <Message summary>

Coding Style

Future idea / improvements