[vtkusers] is vtkClipPolyData slow?

Sam Raby rabysam28 at gmail.com
Wed Jun 25 03:53:29 EDT 2014

Hi -

I have the following codes to clip a model, but when I update the Plane to
generate the new clipped surface it is very slow. Is there a way to make
this faster? or is there another vtk class to perform faster?

vtkSmartPointer<vtkPlane> clipPlane =  vtkSmartPointer<vtkPlane>::New();
clipPlane->SetNormal(1, 1, 0);
clipPlane->SetOrigin(0.0, -10.0, 0.0 );

vtkSmartPointer<vtkClipPolyData> clipper =
clipper->SetInputData( reader->GetOutput() );
clipper->SetClipFunction( clipPlane );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140625/fb1bcb56/attachment.html>

More information about the vtkusers mailing list