]> Creatis software - crea.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 3 May 2011 11:04:13 +0000 (11:04 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 3 May 2011 11:04:13 +0000 (11:04 +0000)
appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h

index 60503049215f2909f1685c56bd95471ecf21dbd7..b0532e414c57d71689cf9e57a1f307ee462515bf 100644 (file)
@@ -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