#include "bbtkAtomicBlackBox.h"
+#include "vtkVersion.h"
+
#include "bbtkVtkBlackBoxMacros.h"
#include "vtkMarchingCubes.h"
#include "vtkImageData.h"
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
}
*/
-
// BBTK_VTK_PROCESS();
BBTK_PROCESS(Process);
void Process();
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*,"");