X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkCreateMeshFromPoints.h;h=f92f3428c5a8affa6d31268d41d79025bb7e9c98;hb=d59326dc256aa89dd33ca55cfa4b0a37fcae095c;hp=f67c312e61cd365e1610672f5e63d8055604a1d9;hpb=14c778f3e67bad3258fc976eaa66ab8953bdb78e;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.h b/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.h index f67c312..f92f342 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.h @@ -30,7 +30,6 @@ class bbcreaVtk_EXPORT CreateMeshFromPoints BBTK_DECLARE_INPUT(LstY,std::vector); BBTK_DECLARE_INPUT(LstZ,std::vector); BBTK_DECLARE_INPUT(LstIndexs,std::vector); - BBTK_DECLARE_INPUT(OpenClose, bool); BBTK_DECLARE_INPUT(CloseSurface, bool); BBTK_DECLARE_OUTPUT(Out,vtkPolyData*); BBTK_PROCESS(Process); @@ -46,7 +45,7 @@ class bbcreaVtk_EXPORT CreateMeshFromPoints bool CheckLinePointOrder(); bool isPointingCorrectly( int firstPointId, int secPointId, double(¢roid)[3], int contrPointId); void CloseContourBottom(bool uPointOrder); - void CloseContourSides(std::vector lstIndexs, bool uPointOrder); + void CloseContourSides(std::vector lstIndexs, bool uPointOrder, bool isClosedCont); void CloseOpenContourSurface(std::vector lstIndexs); //===== @@ -64,7 +63,6 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(CreateMeshFromPoints,bbtk::AtomicBlackBox); BBTK_INPUT(CreateMeshFromPoints,LstY,"List Y point",std::vector,""); BBTK_INPUT(CreateMeshFromPoints,LstZ,"List Z point",std::vector,""); BBTK_INPUT(CreateMeshFromPoints,LstIndexs,"Number of points by segment",std::vector,""); - BBTK_INPUT(CreateMeshFromPoints,OpenClose,"(default false) Type of Contour: false=Open, true=Close",bool,""); BBTK_INPUT(CreateMeshFromPoints,CloseSurface,"(default false) Add the caps to close the surface",bool,""); BBTK_OUTPUT(CreateMeshFromPoints,Out,"vtkPolyData",vtkPolyData*,"");