//=====
BBTK_DECLARE_INPUT(In,vtkPolyData*);
BBTK_DECLARE_INPUT(ComputeType,int);
+ BBTK_DECLARE_INPUT(Type,int);
+ BBTK_DECLARE_INPUT(Param,double);
BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
+ BBTK_DECLARE_OUTPUT(MeanNormal,std::vector<double>);
+
BBTK_PROCESS(Process);
void Process();
//=====
BBTK_AUTHOR("InfoDev");
BBTK_DESCRIPTION("No Description.");
BBTK_CATEGORY("empty");
- BBTK_INPUT(PolyDataNormals,In,"Mesh input",vtkPolyData*,"");
- BBTK_INPUT(PolyDataNormals,ComputeType,"(0 default) 0:points 1:Cells",int,"");
- BBTK_OUTPUT(PolyDataNormals,Out,"Mesh output",vtkPolyData*,"");
+ BBTK_INPUT(PolyDataNormals,In,"Mesh input",vtkPolyData*,"");
+ BBTK_INPUT(PolyDataNormals,ComputeType,"(0 default) 0:points 1:Cells",int,"");
+ BBTK_INPUT(PolyDataNormals,Type,"(0 default) 0:Normal Action 1:Apply correction direction (try param=1)",int,"");
+ BBTK_INPUT(PolyDataNormals,Param,"(0 default) For Type=1 [-2 2] 0:parallel 1:NormalState -1:OpositState",double ,"");
+ BBTK_OUTPUT(PolyDataNormals,Out,"Mesh output",vtkPolyData*,"");
+ BBTK_OUTPUT(PolyDataNormals,MeanNormal,"Mean Normal",std::vector<double>,"");
BBTK_END_DESCRIBE_BLACK_BOX(PolyDataNormals);
//=====
// 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)