#include "vtkPolyData.h"
#include "vtkImageData.h"
+#include "vtkPolyDataToImageStencil.h"
+#include "vtkImageStencil.h"
+#include "vtkCleanPolyData.h"
+#include "vtkTriangleFilter.h"
+#include "vtkExtractVOI.h"
+#include "vtkExtractVOI.h"
namespace bbcreaVtk
{
// 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)
//=====
BBTK_DECLARE_INPUT(InImage,vtkImageData*);
+ BBTK_DECLARE_INPUT(BackgroundValue,double);
+
BBTK_DECLARE_INPUT(InPolyData,vtkPolyData*);
BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
BBTK_PROCESS(Process);
void Process();
+
+ vtkCleanPolyData *clean1;
+ vtkPolyDataToImageStencil *dataToStencil;
+ vtkExtractVOI *extract;
+ vtkImageStencil *stencil;
+
//=====
// 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)
//=====
BBTK_AUTHOR("InfoDev");
BBTK_DESCRIPTION("No Description.");
BBTK_CATEGORY("empty");
+
BBTK_INPUT(PolyDataToImageData,InImage,"Image to put Result",vtkImageData*,"");
+ BBTK_INPUT(PolyDataToImageData,BackgroundValue,"(default 255) Background value",double,"");
BBTK_INPUT(PolyDataToImageData,InPolyData,"Input vtkPolyData",vtkPolyData*,"");
+
BBTK_OUTPUT(PolyDataToImageData,Out,"Output vtkImageData",vtkImageData*,"");
+
BBTK_END_DESCRIBE_BLACK_BOX(PolyDataToImageData);
//=====
// 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)