X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkMarchingCubes.h;h=6d4245604785f670c79d4a92763bb4eb3b767e0a;hb=ddc63e39c2ec439a7b383fd0be55aff6b1d46a84;hp=083e34b4245228244107c1a1919e8714f9266771;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/packages/vtk/src/bbvtkMarchingCubes.h b/packages/vtk/src/bbvtkMarchingCubes.h index 083e34b..6d42456 100644 --- a/packages/vtk/src/bbvtkMarchingCubes.h +++ b/packages/vtk/src/bbvtkMarchingCubes.h @@ -73,8 +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(ComputeScalarsOn,bool); BBTK_DECLARE_VTK_OUTPUT(Out,vtkPolyData *); // For the 'Value' parameter, the standard bbtk macro does not work @@ -110,8 +113,11 @@ 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,""); + BBTK_INPUT(MarchingCubes,ComputeScalarsOn,"Set the computation of scalars",bool,""); BBTK_OUTPUT(MarchingCubes,Out,"Output iso-surface",vtkPolyData*,""); BBTK_END_DESCRIBE_BLACK_BOX(MarchingCubes);