]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMarchingCubes.h
#3489 vtk9itk5wx3-macos
[bbtk.git] / packages / vtk / src / bbvtkMarchingCubes.h
index 6198ee99860b78b363f20af51fc3af8d1e9b1e2c..3e7c4a6cc9f18ae44449626fa4dd421a55a51fcf 100644 (file)
@@ -56,6 +56,8 @@
 
 
 #include "bbtkAtomicBlackBox.h"
+#include "vtkVersion.h"
+
 #include "bbtkVtkBlackBoxMacros.h"
 #include "vtkMarchingCubes.h"
 #include "vtkImageData.h"
@@ -73,6 +75,7 @@ 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);
@@ -112,6 +115,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,"");