[vtkusers] vtkStripper does not order the polylines properly

ahmedmaalej ahmed.supcom at hotmail.com
Tue Mar 1 09:33:08 EST 2011


I Run vtkStripper on the output of vtkCutter. But it does not order the
polylines properly. 
I use a plane to cut a 3D surface but when I use a striipper I get disturbed
polylines and not sorted points.
Attached here the result.
http://vtk.1045678.n5.nabble.com/file/n3405011/cut.bmp 
Could some one help me in this.
here is the code
*********************
*
*

  vtkCutter  *cutter1 =  vtkCutter::New();
    cutter1->SetInput(Crop1->GetOutput());
    cutter1->SetCutFunction(plane1);
   cutter1->Update();
   stripper1->SetInput(cutter1->GetOutput());   
   stripper1->Update();
  spline1->SetInput(stripper1->GetOutput());
   spline1->Update(); 
*
*
*
*************************
        

Thanks

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/vtkStripper-does-not-order-the-polylines-properly-tp3405011p3405011.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list