]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMarchingCubes.h
no message
[bbtk.git] / packages / vtk / src / bbvtkMarchingCubes.h
index 94a689cf7ae86c3519af22dd3ae8d5ef0bebccf4..a04e3bb54f0dc209fbe5726a8ca05592fca00c98 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbvtkMarchingCubes.h,v $
   Language:  C++
-  Date:      $Date: 2009/12/18 16:47:45 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2009/12/18 18:37:56 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -61,27 +61,39 @@ namespace bbvtk
    //=======================================================================
   class /*BBTK_EXPORT*/ MarchingCubes
     : 
-    public bbtk::AtomicBlackBox,
-    public vtkMarchingCubes
+    public bbtk::AtomicBlackBox 
+//    ,public vtkMarchingCubes
   {
     BBTK_VTK_BLACK_BOX_INTERFACE(MarchingCubes,
                                 bbtk::AtomicBlackBox,
                                 vtkMarchingCubes);
 
     BBTK_DECLARE_VTK_INPUT(In,vtkImageData *);
+       BBTK_DECLARE_INPUT(Value,double);
     BBTK_DECLARE_VTK_OUTPUT(Out,vtkPolyData *);
 
     // For the 'Value' parameter, the standard bbtk macro does not work 
     // as vtk Get/Set accessors have a parameter...
     //  BBTK_DECLARE_VTK_PARAM(vtkMarchingCubes,Value,double);
     // Hence have to wrap the accessors "by hand" :
+         
+        /* 
     double bbGetInputValue ()
        { return vtkMarchingCubes::GetValue(0); }
     void bbSetInputValue (double d)    
-       { vtkMarchingCubes::SetValue(0,d); }
-
-   BBTK_VTK_PROCESS();
-
+       { // vtkMarchingCubes::SetValue(0,d);
+                  
+                  mVtkObject->SetValue(0,1000.0);
+
+                  std::cout <<  "EED MarchingCubes::bbSetInputValue " << d << std::endl;
+          
+          }
+*/
+         
+         
+  // BBTK_VTK_PROCESS();
+         BBTK_PROCESS(Process);
+         void Process();
 
   };
   //=======================================================================