[vtkusers] stripper issue (sorry for last mail)

Sebastien MARAUX maraux at ondim.fr
Mon Mar 17 13:20:33 EST 2003


hello, 

here is a byte of code :

 cout <<"nb points in 1 : " <<mp_External->GetNumberOfPoints() <<endl;

 vtkStripper *stripper = vtkStripper::New();
 stripper->SetInput(mp_External);
 stripper->Update();

 mp_External->SetPoints(stripper->GetOutput()->GetPoints());
 mp_External->DeepCopy(stripper->GetOutput());

 cout <<"nb points in 2 : " <<mp_External->GetNumberOfPoints() <<endl;

in 1, there is 28 points, 
in 2 there is 0.
I thought stripper should pass vertices from input to output ?
What should I do to fix this ?

Sebastien MARAUX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030317/a0d5ac0f/attachment.htm>


More information about the vtkusers mailing list