[vtk-developers] Re: significant slow-down (6x) ofvtkPiecewiseFunction::GetValue() with new pipeline

Charl P. Botha cpbotha at gmail.com
Tue Nov 30 07:37:13 EST 2004


On Sun, 28 Nov 2004 14:10:20 -0500, Brad King <brad.king at kitware.com> wrote:
> Dean Inglis wrote:
> > this is also the likely root of the slowdown seen with tests and
> > examples using vtkSplineWidget, that I noted in a previous post:
> > http://public.kitware.com/pipermail/vtk-developers/2004-October/002936.html
> >
> > vtkSpline relies on vtkPiecewiseFunction for most of its work.
> > Hopefully someone working on the new pipeline can sort this out soon....
> 
> You are correct, it is the root of the problem.  I have been aware of
> this problem for some time now.  It is on my new pipeline to-do list.  I
> will get to it when I can.

Brad, is it alright if I implement and checkin an "unsafe" GetValue()
as Lisa suggested, e.g. something like UnsafeGetValue() or
FastGetValue() that doesn't call update (because the user has), or
does this conflict with the changes that you plan on making?

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtk-developers mailing list