From: Eduardo DAVILA Date: Thu, 27 Feb 2014 10:29:19 +0000 (+0100) Subject: 2320 crea Feature New Normal Documentation of the bbitkImage mechanism X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=crea.git;a=commitdiff_plain;h=c8a0837d54a0c9004e53eb92ff652a8e996a2fad 2320 crea Feature New Normal Documentation of the bbitkImage mechanism --- diff --git a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h index 5dca9df..7c0d888 100644 --- a/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h +++ b/appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithITK.h @@ -38,14 +38,28 @@ // // 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. //