X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkImagePlanes.h;h=5ef36f720d6cc95b38723d16084976fea6b182cc;hb=3cb64980b8b0d54639f19b89b1a2c04a50a43e78;hp=d0b0f9b85010ca986b180df3459a854c28980cff;hpb=551b02f0819a98e9595a81570b1d1174f398f34d;p=bbtk.git diff --git a/packages/vtk/src/bbvtkImagePlanes.h b/packages/vtk/src/bbvtkImagePlanes.h index d0b0f9b..5ef36f7 100644 --- a/packages/vtk/src/bbvtkImagePlanes.h +++ b/packages/vtk/src/bbvtkImagePlanes.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbvtkImagePlanes.h,v $ Language: C++ - Date: $Date: 2008/05/09 10:39:47 $ - Version: $Revision: 1.4 $ + Date: $Date: 2008/06/25 08:21:31 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -53,7 +53,7 @@ namespace bbvtk { - + typedef std::vector winLevel; class /*BBTK_EXPORT*/ ImagePlanes : public bbtk::AtomicBlackBox { @@ -61,6 +61,7 @@ namespace bbvtk BBTK_BLACK_BOX_INTERFACE(ImagePlanes,bbtk::AtomicBlackBox); // BBTK_DECLARE_INPUT(Contour,int); BBTK_DECLARE_INPUT(In,vtkImageData *); + BBTK_DECLARE_INPUT(WindowLevel,winLevel); BBTK_DECLARE_OUTPUT(PlaneX,vtkImagePlaneWidget*); BBTK_DECLARE_OUTPUT(PlaneY,vtkImagePlaneWidget*); BBTK_DECLARE_OUTPUT(PlaneZ,vtkImagePlaneWidget*); @@ -86,6 +87,7 @@ namespace bbvtk BBTK_DESCRIPTION("Creates three 3D planes with the input image mapped onto with which the user can interact. The output vtkImagePlaneWidget objects are to be inserted into a 3D scene (e.g. a Viewer3D)"); BBTK_CATEGORY("3D object creator"); BBTK_INPUT(ImagePlanes,In,"Input Image",vtkImageData *,""); + BBTK_INPUT(ImagePlanes,WindowLevel,"Widdow Level",winLevel,""); BBTK_OUTPUT(ImagePlanes,PlaneX,"The image plane in X direction",vtkImagePlaneWidget*,""); BBTK_OUTPUT(ImagePlanes,PlaneY,"The image plane in Y direction",vtkImagePlaneWidget*,""); BBTK_OUTPUT(ImagePlanes,PlaneZ,"The image plane in Z direction",vtkImagePlaneWidget*,"");