X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkMIPCreator.h;h=1dbebde6ae0e4704becb0182ed699ceae0b48cec;hb=621819a771d434be46e3f33c5f76edd1cc7df249;hp=3d1bd4afb16c045c55eaba2f2b77bd3ec2ece32c;hpb=3924782985e3d7c795af6bb46c602157cfad59f0;p=bbtk.git diff --git a/packages/vtk/src/bbvtkMIPCreator.h b/packages/vtk/src/bbvtkMIPCreator.h index 3d1bd4a..1dbebde 100644 --- a/packages/vtk/src/bbvtkMIPCreator.h +++ b/packages/vtk/src/bbvtkMIPCreator.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbvtkMIPCreator.h,v $ Language: C++ - Date: $Date: 2008/03/19 13:30:18 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/05/09 10:39:47 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -54,7 +54,7 @@ namespace bbvtk class /*BBTK_EXPORT*/ MIPCreator : public bbtk::AtomicBlackBox { public: - BBTK_USER_BLACK_BOX_INTERFACE(MIPCreator,bbtk::AtomicBlackBox); + BBTK_BLACK_BOX_INTERFACE(MIPCreator,bbtk::AtomicBlackBox); // BBTK_DECLARE_INPUT(Contour,int); BBTK_DECLARE_INPUT(In,vtkImageData *); BBTK_DECLARE_INPUT(Shift,int); @@ -66,6 +66,7 @@ namespace bbvtk protected: virtual void bbUserConstructor(); virtual void bbUserCopyConstructor(); + virtual void bbUserDestructor(); void Init(); private: vtkImageShiftScale* mCast; @@ -81,10 +82,10 @@ namespace bbvtk BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Creates a Maximum Intensity Projection (MIP) view of a 3D image. Creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D)"); BBTK_CATEGORY("3D object creator"); - BBTK_INPUT(MIPCreator,Shift,"Gray scale shift",int); - BBTK_INPUT(MIPCreator,Scale,"Gray scale scaling",float); - BBTK_INPUT(MIPCreator,In,"Input Image",vtkImageData *); - BBTK_OUTPUT(MIPCreator,Out,"MIP object to plug into a 3D viewer",vtkProp3D*); + BBTK_INPUT(MIPCreator,Shift,"Gray scale shift",int,""); + BBTK_INPUT(MIPCreator,Scale,"Gray scale scaling",float,""); + BBTK_INPUT(MIPCreator,In,"Input Image",vtkImageData *,""); + BBTK_OUTPUT(MIPCreator,Out,"MIP object to plug into a 3D viewer",vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(MIPCreator); //=================================================================