X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkMarchingCubes.h;h=c94d76ff242f263e797cd11d5692d39bdf9caf5b;hb=dfcd0b84f01eb96e43c2180a35d626cc123a7231;hp=6198ee99860b78b363f20af51fc3af8d1e9b1e2c;hpb=9a0cff4a61edd2b20bc0d7d00f4509193b8c50b6;p=bbtk.git diff --git a/packages/vtk/src/bbvtkMarchingCubes.h b/packages/vtk/src/bbvtkMarchingCubes.h index 6198ee9..c94d76f 100644 --- a/packages/vtk/src/bbvtkMarchingCubes.h +++ b/packages/vtk/src/bbvtkMarchingCubes.h @@ -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); @@ -97,7 +100,6 @@ namespace bbvtk } */ - // BBTK_VTK_PROCESS(); BBTK_PROCESS(Process); void Process(); @@ -109,11 +111,12 @@ namespace bbvtk BBTK_BEGIN_DESCRIBE_BLACK_BOX(MarchingCubes,bbtk::AtomicBlackBox); BBTK_NAME("MarchingCubes"); BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); - BBTK_DESCRIPTION("Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes)"); + BBTK_DESCRIPTION("Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes) (C++,Python)"); 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,Value,"(default 400) Value of the iso-surface",double,""); BBTK_INPUT(MarchingCubes,ComputeNormalsOn,"Set the computation of normals",bool,""); BBTK_INPUT(MarchingCubes,ComputeScalarsOn,"Set the computation of scalars",bool,""); BBTK_OUTPUT(MarchingCubes,Out,"Output iso-surface",vtkPolyData*,"");