//===== // 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 __bbcreaVtkMeshDeformation_h_INCLUDED__ #define __bbcreaVtkMeshDeformation_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkPolyData.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT MeshDeformation : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(MeshDeformation,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(Active, bool); BBTK_DECLARE_INPUT(TypeIn, int); BBTK_DECLARE_INPUT(In,vtkPolyData*); BBTK_DECLARE_INPUT(EdgeId, long); BBTK_DECLARE_INPUT(S, double); BBTK_DECLARE_INPUT(Center, std::vector); BBTK_DECLARE_INPUT(Direction, std::vector); // BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); long EdgeIdBack; std::vector voiIdPoints; std::vector backLstCenter; //===== // 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(MeshDeformation,bbtk::AtomicBlackBox); BBTK_NAME("MeshDeformation"); BBTK_AUTHOR("Info-Dev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(MeshDeformation,Active,"(default true) true/false",bool,""); BBTK_INPUT(MeshDeformation,TypeIn,"(default 0) 0:Direction 1:Center",int,""); BBTK_INPUT(MeshDeformation,In,"vtk PolyData",vtkPolyData*,""); BBTK_INPUT(MeshDeformation,EdgeId,"Edge Id",long,""); BBTK_INPUT(MeshDeformation,S,"Deformation",double,""); BBTK_INPUT(MeshDeformation,Center,"[X,Y,Z]",std::vector,""); BBTK_INPUT(MeshDeformation,Direction,"(default [1,0,0]) [X,Y,Z]",std::vector,""); // BBTK_OUTPUT(MeshDeformation,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(MeshDeformation); //===== // 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 // __bbcreaVtkMeshDeformation_h_INCLUDED__