From df729a61d77f99996f3399da32ca0d1e95718269 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Tue, 3 May 2011 11:04:13 +0000 Subject: [PATCH] no message --- .../src/bbmySamplePackagemySampleBoxWithITK.h | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h index 6050304..b0532e4 100644 --- a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h +++ b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h @@ -2,7 +2,31 @@ #ifndef __bbmySamplePackagemySampleBoxWithITK_h_INCLUDED__ #define __bbmySamplePackagemySampleBoxWithITK_h_INCLUDED__ - +// +// +// To create a new Package with boxes that use itk don't forget 3 steps: +// +// 1. Modify de CMakeList.txt file of the whole project to include cmake itk mechanism. +// 1.1 Put ON the option SET(USE_ITK ON) +// +// 2. Modify de CMakeList.txt file of this package. +// 2.1. Uncomment the line SET(${BBTK_PACKAGE_NAME}_USE_ITK ON) +// 2.2. Add the line: +// ${BBTK_DIR}/../../../include/bbitk +// In the SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS section +// +// 3. In the .h file of your box, don't forget: +// 3.1. Define the DIM and the TYPE of the images +// 3.2. Define the ProcessTemplate method with the +// BBTK_TEMPLATE_ITK_IMAGE_SWITCH mechanism. +// +// Note: We use a generic bbtk_itk_pointer to transfere the itkImage.. +// +// + + + +// Definition of the DIM and TYPE of the itkImage .. #define BBTK_ITK_IMAGE_DIM_2 #define BBTK_ITK_IMAGE_DIM_3 #define BBTK_ITK_IMAGE_DIM_4 -- 2.45.1