X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkCreateMeshFromPoints.cxx;h=671b2645d49df41b4253a31fa6315bfd42168602;hb=4d71ce834efd16b6e7c23ee82134cb421defe8d0;hp=4c444dd8fb467c9c9139eb7b60350973b668046c;hpb=1b751726e6e277dc63258520d3c243f705d1b929;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.cxx index 4c444dd..671b264 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkCreateMeshFromPoints.cxx @@ -31,16 +31,11 @@ void CreateMeshFromPoints::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " < lstX = bbGetInputLstX(); std::vector lstY = bbGetInputLstY(); std::vector lstZ = bbGetInputLstZ(); std::vector lstIndexs = bbGetInputLstIndexs(); - - printf("CreateMeshFromPoints::Process: sizeX %d \n", lstX.size() ); - printf("CreateMeshFromPoints::Process: sizeY %d \n", lstY.size() ); - printf("CreateMeshFromPoints::Process: sizeZ %d \n", lstZ.size() ); - printf("CreateMeshFromPoints::Process: lstIndexs %d \n", lstIndexs.size() ); - if ( (lstIndexs.size()<=1) || (lstX.size()==0) || (lstX.size()!=lstY.size()) || (lstY.size()!=lstZ.size()) ) { printf("Warnning! CreateMeshFromPoints::Process: List of points X Y Z and LstIndexes is not correct\n"); @@ -87,7 +82,7 @@ void CreateMeshFromPoints::Process() } // for ii iGeneral=iGeneral+sizeSegment1; cells->InsertNextCell(triangleStrip); - } //for LstIndexs + } //for LstIndexs // vtkPolyData *polydata = vtkPolyData::New(); if (polydata!=NULL) polydata->Delete(); polydata = vtkPolyData::New(); @@ -106,6 +101,7 @@ void CreateMeshFromPoints::Process() bbSetOutputOut( clean->GetOutput() ); }// if listXYZ size } + //===== // 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) //=====