//===== // 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) //===== #ifndef __bbcreaVtkPolyDataNormals_h_INCLUDED__ #define __bbcreaVtkPolyDataNormals_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbcreaVtk { class bbcreaVtk_EXPORT PolyDataNormals : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(PolyDataNormals,bbtk::AtomicBlackBox); //===== // 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(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); BBTK_PROCESS(Process); void Process(); //===== // 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_BEGIN_DESCRIBE_BLACK_BOX(PolyDataNormals,bbtk::AtomicBlackBox); BBTK_NAME("PolyDataNormals"); 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_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,""); 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkPolyDataNormals_h_INCLUDED__