#include "iostream"
#include "vtkPlaneSource.h"
#include "vtkDataSet.h"
+#include "vtkPolyData.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(Center,std::vector<double>);
- BBTK_DECLARE_INPUT(Normal,std::vector<double>);
+ BBTK_DECLARE_INPUT(Normal,std::vector<double>);
+ BBTK_DECLARE_INPUT(XResolution,int);
+ BBTK_DECLARE_INPUT(YResolution,int);
BBTK_DECLARE_OUTPUT(Plane,vtkDataSet*);
+ BBTK_DECLARE_OUTPUT(PolyData,vtkPolyData*);
BBTK_PROCESS(Process);
void Process();
//=====
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneSource,bbtk::AtomicBlackBox);
-BBTK_NAME("PlaneSource");
-BBTK_AUTHOR("carlos torres");
-BBTK_DESCRIPTION("No Description.");
-BBTK_CATEGORY("empty");
-BBTK_INPUT(PlaneSource,Center,"Center",std::vector<double>,"");
-BBTK_INPUT(PlaneSource,Normal,"Normal",std::vector<double>,"");
-BBTK_OUTPUT(PlaneSource,Plane,"Plane",vtkDataSet*,"");
+ BBTK_NAME("PlaneSource");
+ BBTK_AUTHOR("carlos torres");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+ BBTK_INPUT(PlaneSource,Center,"Center (default[0,0,0]) ",std::vector<double>,"");
+ BBTK_INPUT(PlaneSource,Normal,"Normal (default[1,0,0]) ",std::vector<double>,"");
+ BBTK_INPUT(PlaneSource,XResolution,"XResolution (default 100)",int,"");
+ BBTK_INPUT(PlaneSource,YResolution,"YResolution (default 100)",int,"");
+ BBTK_OUTPUT(PlaneSource,Plane,"Plane",vtkDataSet*,"");
+ BBTK_OUTPUT(PlaneSource,PolyData,"vtkPolyData",vtkPolyData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(PlaneSource);
//=====
// 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)