]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMarchingCubes.h
#3202 BBTK Feature New Normal - fast algorithm for ImageBoundaries box
[bbtk.git] / packages / vtk / src / bbvtkMarchingCubes.h
index e2f440c0b3ac90ea31a41d1225883dc5113ea369..6d4245604785f670c79d4a92763bb4eb3b767e0a 100644 (file)
@@ -73,10 +73,11 @@ namespace bbvtk
                                 bbtk::AtomicBlackBox,
                                 vtkMarchingCubes);
 
+       BBTK_DECLARE_INPUT(Active,bool);
     BBTK_DECLARE_VTK_INPUT(In,vtkImageData *);
        BBTK_DECLARE_INPUT(Value,double);
        BBTK_DECLARE_INPUT(ComputeNormalsOn,bool);
-       BBTK_DECLARE_INPUT(ComputeScalarsOff,bool);
+       BBTK_DECLARE_INPUT(ComputeScalarsOn,bool);
     BBTK_DECLARE_VTK_OUTPUT(Out,vtkPolyData *);
 
     // For the 'Value' parameter, the standard bbtk macro does not work 
@@ -112,6 +113,7 @@ namespace bbvtk
   BBTK_DESCRIPTION("Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes)");
   BBTK_CATEGORY("image;mesh");
 
+  BBTK_INPUT(MarchingCubes,Active,"Active true/false (default true)",bool,"");
   BBTK_INPUT(MarchingCubes,In,"Image",vtkImageData*,"");
   BBTK_INPUT(MarchingCubes,Value,"Value of the iso-surface",double,"");
   BBTK_INPUT(MarchingCubes,ComputeNormalsOn,"Set the computation of normals",bool,"");