X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fvtk%2Fsrc%2FbbvtkSegmentationConnectivity.h;h=a9581630673689ad87941ca6ab0d1c38aac5daf9;hb=ba235cfa6ce74178ab468c01af002af0ab3a7d82;hp=78f23563f8659126a926577122c2c169ece7213e;hpb=7a26044dd46cb80ab90ee1f63d3b4d8ce52b2d39;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSegmentationConnectivity.h b/packages/vtk/src/bbvtkSegmentationConnectivity.h index 78f2356..a958163 100644 --- a/packages/vtk/src/bbvtkSegmentationConnectivity.h +++ b/packages/vtk/src/bbvtkSegmentationConnectivity.h @@ -4,8 +4,8 @@ Program: bbtk Module: $RCSfile: bbvtkSegmentationConnectivity.h,v $ Language: C++ - Date: $Date: 2008/04/24 12:56:41 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/05/09 10:39:47 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -49,16 +49,17 @@ namespace bbvtk : public bbtk::AtomicBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(SegmentationConnectivity,bbtk::AtomicBlackBox); - BBTK_DECLARE_INPUT(In,vtkImageData *); - BBTK_DECLARE_INPUT(PositionXYZ,std::vector); - BBTK_DECLARE_INPUT(ThresholdMinMax,std::vector); - BBTK_DECLARE_OUTPUT(Out,vtkImageData *); + BBTK_BLACK_BOX_INTERFACE(SegmentationConnectivity,bbtk::AtomicBlackBox); + BBTK_DECLARE_INPUT(In,vtkImageData *); + BBTK_DECLARE_INPUT(PositionXYZ,std::vector); + BBTK_DECLARE_INPUT(ThresholdMinMax,std::vector); + BBTK_DECLARE_OUTPUT(Out,vtkImageData *); BBTK_PROCESS(DoProcess); void DoProcess(); protected: virtual void bbUserConstructor(); + virtual void bbUserDestructor(); private: vtkImageCast *cast2; @@ -74,10 +75,10 @@ namespace bbvtk BBTK_NAME("SegmentationConnectivity"); BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Segmentation with min max threshold and connectivity"); - BBTK_INPUT(SegmentationConnectivity,In,"Input image",vtkImageData *); - BBTK_INPUT(SegmentationConnectivity,PositionXYZ,"vector with the Position [x y z]" , std::vector ); - BBTK_INPUT(SegmentationConnectivity,ThresholdMinMax,"vector with the Threshold [min max]" , std::vector ); - BBTK_OUTPUT(SegmentationConnectivity,Out,"Result image",vtkImageData *); + BBTK_INPUT(SegmentationConnectivity,In,"Input image",vtkImageData *,""); + BBTK_INPUT(SegmentationConnectivity,PositionXYZ,"vector with the Position [x y z]" , std::vector,""); + BBTK_INPUT(SegmentationConnectivity,ThresholdMinMax,"vector with the Threshold [min max]" , std::vector,""); + BBTK_OUTPUT(SegmentationConnectivity,Out,"Result image",vtkImageData *,""); BBTK_END_DESCRIBE_BLACK_BOX(SegmentationConnectivity); } // EO namespace bbvtk