[vtkusers] Streamlines

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Wed Mar 24 09:30:09 EDT 2010


Hello World.

What is essential to create streamlines with vtkStreamTracer?
I haven't found an example so far.

*I have vector data stored on _structured grid cell centers_.*

Any idea how I can input those to the stream tracer?

Minimal code like this is obviously not correct:

vtkStreamTracer *streamTracer = vtkStreamTracer::New();
streamTracer->SetInput(gridCellCenters->GetOutput());
streamTracer->SetStartPosition(0.5,0.5,0.5);
streamTracer->Update();

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100324/07d1fef9/attachment.htm>


More information about the vtkusers mailing list