PET-CT/Development/Main: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 29: Line 29:
* Build SlicerPET in a release mode
* Build SlicerPET in a release mode
* When the build finishes, load Slicer-build/Slicer-build project file in visual studio
* When the build finishes, load Slicer-build/Slicer-build project file in visual studio
* Build PACKAGE target only to generate the installer
* Build PACKAGE target only to generate the installer. ( There will be a new installer in Slicer-build/Slicer-build ( With a filename a SlicerPET-0.6.0-*-win-amd64.exe )


==Uploading installers to Packages server  ==
==Uploading installers to Packages server  ==

Revision as of 19:57, 27 May 2014

Dashboard

SlicerPET dashboard

External Projects

The SlicerPET application is based on Slicer Framework. In addition to the external projects included by Slicer official, SlicerPET includes

  1. PlusLib
    1. SVN_REPOSITORY: "https://subversion.assembla.com/svn/plus/branches/Plus-1.8/PlusLib"
    2. SVN_REVISION: "-r "2670"
  2. PathPlanner
    1. GIT_REPOSITORY: "https://github.com/andinet/PathPlanner"
    2. GIT_TAG: "2d2ed19b89d477a8540ac4dd76468e4911c3f7de"
  3. VisualLine
    1. GIT_REPOSITORY "https://github.com/andinet/VisuaLine"
    2. GIT_TAG "75b442fe6d81b230620e9c689766571dfc37e5c8"
  4. VolumeResliceDrive
    1. GIT_REPOSITORY "https://github.com/andinet/VolumeResliceDriver"
    2. GIT_TAG "6f5b0e868f6f0a37404ee5cf09757de1ab7b43d4"

Building executable

  • Follow 3D Slicer 4.3 build instructions
  • The executable is SlicerPET which can be found in SlicerPET64R/Slicer-build/Slicer-build ( Windows )
    • If you would like to start the application from the build tree, in SlicerPETLauncherSetting.ini, add the following line at the end of [LibraryPaths] section:
  path=C:/bin/SlicerPET64R/Slicer-build/PlusLib-build/bin/Release
  size=21

Generating installers

Windows

  • Install NSIS in your system
  • Build SlicerPET in a release mode
  • When the build finishes, load Slicer-build/Slicer-build project file in visual studio
  • Build PACKAGE target only to generate the installer. ( There will be a new installer in Slicer-build/Slicer-build ( With a filename a SlicerPET-0.6.0-*-win-amd64.exe )

Uploading installers to Packages server

How to upload packages to packages.kitware.com:

  • Create an account and join the PET-CT community
  • Download the following script : Upload-SlicerPET-to-packages-kitware-com.cmake
    • Change the MIDAS_USER and enter you MIDAS_API_KEY that you can generate in your packages.kitware.com profile.
    • Modify the following lines if you are uploading windows or linux executables to the appropriate values:
 file(GLOB packages "SlicerPET-*.exe")
 ...
 PACKAGE_TYPE "NSIS installer"
  • Run the command line "cmake -P Upload-SlicerPET-to-packages-kitware-com.cmake"

Video Tools

To produce the videos showing how the different modules work [1], we used the following tools:

  • On Windows:
    • We used CamStudio, a tool that allows to record all screen and audio activity on the computer. To improve the quality of the videos, we boosted the video option of the tool to the maximum (Quality 100% and 1000 frame per second).
    • We used VLC to record the streaming video from a camera device.
  • On Mac:
    • We used iMovie for post-production, editing and voice-over