//===== // 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 __bbcreaVtkCleanMeshWithPatch_h_INCLUDED__ #define __bbcreaVtkCleanMeshWithPatch_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbcreaVtk { class bbcreaVtk_EXPORT CleanMeshWithPatch : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(CleanMeshWithPatch,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(Mesh,vtkPolyData*); BBTK_DECLARE_INPUT(Patch,vtkPolyData*); BBTK_DECLARE_INPUT(LstX,std::vector); BBTK_DECLARE_INPUT(LstY,std::vector); BBTK_DECLARE_INPUT(LstZ,std::vector); BBTK_DECLARE_INPUT(LstIndexs,std::vector); BBTK_DECLARE_INPUT(Spacing,std::vector); BBTK_DECLARE_OUTPUT(Out,vtkPolyData*); BBTK_PROCESS(Process); void Process(); void Stretch(vtkPolyData *newMesh, vtkPolyData *patchMesh); //===== // 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(CleanMeshWithPatch,bbtk::AtomicBlackBox); BBTK_NAME("CleanMeshWithPatch"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(CleanMeshWithPatch,Mesh,"Mesh to be clean",vtkPolyData*,""); BBTK_INPUT(CleanMeshWithPatch,Patch,"Patch reference",vtkPolyData*,""); BBTK_INPUT(CleanMeshWithPatch,LstX,"List of points X",std::vector,""); BBTK_INPUT(CleanMeshWithPatch,LstY,"List of points Y",std::vector,""); BBTK_INPUT(CleanMeshWithPatch,LstZ,"List of points Z",std::vector,""); BBTK_INPUT(CleanMeshWithPatch,LstIndexs,"List of indexs",std::vector,""); BBTK_INPUT(CleanMeshWithPatch,Spacing,"Spacing [spcX,spcY,spcZ]",std::vector,""); BBTK_OUTPUT(CleanMeshWithPatch,Out,"Output result",vtkPolyData*,""); BBTK_END_DESCRIBE_BLACK_BOX(CleanMeshWithPatch); //===== // 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 // __bbcreaVtkCleanMeshWithPatch_h_INCLUDED__