]> Creatis software - crea.git/commitdiff
2320 crea Feature New Normal Documentation of the bbitkImage mechanism
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 27 Feb 2014 10:29:19 +0000 (11:29 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 27 Feb 2014 10:31:23 +0000 (11:31 +0100)
appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h

index 5dca9df94d59f738fbd39533efa96258b3565836..7c0d888a9c04b7918967d84694b7972e0f1dac2e 100644 (file)
 //
 // 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
+//             2.2. Add the lines:       
+//                             ${BBTK_DIR}/../../../include/bbitk      # linux
+//                             ${BBTK_DIR}/include/bbitk               # windows
 //                  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
 //                   (Comment out the BBTK_ITK_IMAGE_DIM_xxx
 //                    and the BBTK_ITK_IMAGE_TYPE_xxx_t you don't need)
+//                    Ex:
+//                             // 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
+//                             #define BBTK_ITK_IMAGE_TYPE_int8_t
+//                             #define BBTK_ITK_IMAGE_TYPE_uint8_t
+//                             #define BBTK_ITK_IMAGE_TYPE_int16_t
+//                             #define BBTK_ITK_IMAGE_TYPE_uint16_t
+//                             #define BBTK_ITK_IMAGE_TYPE_int32_t
+//                             #define BBTK_ITK_IMAGE_TYPE_uint32_t
+//                             #define BBTK_ITK_IMAGE_TYPE_float
+//                             #define BBTK_ITK_IMAGE_TYPE_double
 //             3.2. Define the ProcessTemplate method with the 
 //                BBTK_TEMPLATE_ITK_IMAGE_SWITCH mechanism.
 //