[vtkusers] Real-time polydata filtering

Nil Goyette nil.goyette at imeka.ca
Thu Aug 30 09:10:49 EDT 2018

Hi Francois,

I haven't tested the standard vtk tools because:
- I already have a working and fast filtering class. I got the indices, 
now I want to see the change on the screen!
- I'm working with big files (500k to 2 millions lines, sometimes more) 
so I strongly doubt that real-time is possible if I keep creating data. 
The output can easily reach thousands lines or more. I don't see how 
this could be done 20+ times per second.

That's why the first thing I try is playing with the mapper. I'm not 
creating anything, I'm simply hiding things.

Thanks for the links, I'll try what you suggest when I run out of ideas.

Nil Goyette

Le 2018-08-30 à 04:26, Fcs a écrit :
> Hi there,
> Why don't you try building a pipeline using vtkClipPolyData with a vtkBox
> implicit function, and start optimizing from there?  You'll keep the
> original polydata, and only render the output of the clipper.
> Have a look at the following examples for inspiration:
> https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ImplicitDataSetClipping/
> https://lorensen.github.io/VTKExamples/site/Cxx/ImageData/IntersectLine/
> https://lorensen.github.io/VTKExamples/site/Cxx/Filtering/ImplicitBooleanDemo/
> Kind regards,
> Francois.

More information about the vtkusers mailing list