[vtkusers] vtkStreamer and vtkFunctionSet

Berk Geveci berk.geveci at kitware.com
Thu Jun 20 07:48:25 EDT 2002

You are absolutely right. That was the real reason I changed
the streamer to use separate integrators and function sets
in the first place. However, since no one (including me) ever
created or at least mentioned that they created a different
function set, I didn't bother to provide a way for setting it
from outside. Did you write or will you write a different
function set ?


On Thu, 2002-06-20 at 03:26, Luca Antiga wrote:
> Dear users,
> I was looking into the source code of vtkStreamer and I noticed that an 
> instance of vtkInterpolatedVelocityField (subclass of vtkFunctionSet) is 
> created each time ThreadedIntegrate is called.
> At the same time, if one uses 
> vtkStreamer::SetIntegrator(vtkInitialValueProblemSolver* ) and then 
> vtkInitialValueProblemSolver::SetFunctionSet(vtkFunctionSet* ), apparently 
> he could use an integrator with another subclass of vtkFunctionSet in the 
> streamer, but this is not actually the case.
> Thus, if one wants to implement a subclass of vtkFunctionSet and use it to 
> compute streamlines, he basically has to write another vtkStreamer class.
> I think it would be better, if possible, to use a generic vtkFunctionSet in 
> vtkStreamer.
> Thanks
> Luca
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list