]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkIsoSurfaceExtractor.h
*** empty log message ***
[bbtk.git] / packages / vtk / src / bbvtkIsoSurfaceExtractor.h
index 5cebfec8b5e4c4a585a2f54d0df34c871813c9af..00c5b46c8e915f7c131ae37a64bc36ef638f3e9e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbvtkIsoSurfaceExtractor.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/08 06:59:32 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/05/09 10:39:47 $
+  Version:   $Revision: 1.8 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -59,14 +59,14 @@ namespace bbvtk
     vtkActor          *vtkactor; 
     
     
-    BBTK_USER_BLACK_BOX_INTERFACE(IsoSurfaceExtractor,bbtk::AtomicBlackBox);
+    BBTK_BLACK_BOX_INTERFACE(IsoSurfaceExtractor,bbtk::AtomicBlackBox);
     
     BBTK_DECLARE_INPUT(In,vtkImageData *);
     //    BBTK_DECLARE_INPUT(InVtkObject,vtkObject *);
     BBTK_DECLARE_INPUT(Isovalue,double);
     BBTK_DECLARE_INPUT(Opacity,double);
     BBTK_DECLARE_INPUT(Colour,std::vector<double>);
-    //    BBTK_DECLARE_INPUT(Renderer,vtkRenderer *);
+    BBTK_DECLARE_INPUT(Renderer,vtkRenderer *);
     BBTK_DECLARE_OUTPUT(Out,vtkProp3D *);
     
     BBTK_PROCESS(DoProcess);
@@ -75,6 +75,7 @@ namespace bbvtk
   protected:
     virtual void bbUserConstructor();
     virtual void bbUserCopyConstructor();
+    virtual void bbUserDestructor();
     void Init();
   };
   
@@ -86,10 +87,11 @@ namespace bbvtk
   BBTK_CATEGORY("3D object creator");
   BBTK_INPUT(IsoSurfaceExtractor,In,"Input image",vtkImageData*,"");
   //  BBTK_INPUT(IsoSurfaceExtractor,InVtkObject,"Image vtkObject",vtkObject*);
+
   BBTK_INPUT(IsoSurfaceExtractor,Isovalue,"Isovalue",double,"");
   BBTK_INPUT(IsoSurfaceExtractor,Opacity,"Opacity",double,"");
-  BBTK_INPUT(IsoSurfaceExtractor,Colour,"r g b",vectorcolour,"color");
-  //  BBTK_INPUT(IsoSurfaceExtractor,Renderer,"3D scene in which to insert the surface",vtkRenderer*);
+  BBTK_INPUT(IsoSurfaceExtractor,Colour,"r g b",vectorcolour,"colour");
+  BBTK_INPUT(IsoSurfaceExtractor,Renderer,"3D scene in which to insert the surface",vtkRenderer*,"");
   BBTK_OUTPUT(IsoSurfaceExtractor,Out,"Extracted iso-surface",vtkProp3D *,"");
   
   BBTK_END_DESCRIBE_BLACK_BOX(IsoSurfaceExtractor);