2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbcreaVtkMarchingCubes2_h_INCLUDED__
5 #define __bbcreaVtkMarchingCubes2_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include <vtkImageData.h>
12 #include <vtkPolyData.h>
13 #include <vtkMarchingCubes.h>
18 class bbcreaVtk_EXPORT MarchingCubes2
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(MarchingCubes2,bbtk::AtomicBlackBox);
24 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
26 BBTK_DECLARE_INPUT(Active,bool);
27 BBTK_DECLARE_INPUT(In,vtkImageData*);
28 BBTK_DECLARE_INPUT(Value,double);
29 BBTK_DECLARE_INPUT(ComputeNormalsOn,bool);
30 BBTK_DECLARE_INPUT(ComputeScalarsOn,bool);
31 BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
32 BBTK_PROCESS(Process);
34 vtkMarchingCubes *marchingcubes;
36 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MarchingCubes2,bbtk::AtomicBlackBox);
41 BBTK_NAME("MarchingCubes2");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("No Description. (JavaScript)");
44 BBTK_CATEGORY("empty");
46 BBTK_INPUT(MarchingCubes2,Active,"(default true) Active",bool,"");
47 BBTK_INPUT(MarchingCubes2,In,"Input image",vtkImageData*,"");
48 BBTK_INPUT(MarchingCubes2,Value,"Value of the iso-surface",double,"");
49 BBTK_INPUT(MarchingCubes2,ComputeNormalsOn,"Set the computation of normals",bool,"");
50 BBTK_INPUT(MarchingCubes2,ComputeScalarsOn,"Set the computation of scalars",bool,"");
52 BBTK_OUTPUT(MarchingCubes2,Out,"Output polydata (iso-surface)",vtkPolyData*,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(MarchingCubes2);
56 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
59 // EO namespace bbcreaVtk
61 #endif // __bbcreaVtkMarchingCubes2_h_INCLUDED__