[vtkusers] Streamlines

David Doria daviddoria+vtk at gmail.com
Wed Mar 24 10:11:52 EDT 2010


On Wed, Mar 24, 2010 at 9:30 AM, Sebastian Gatzka <
sebastian.gatzka at stud.tu-darmstadt.de> wrote:

>  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
>
>
Here's a good place for an example if anyone knows how to do this:
http://vtk.org/Wiki/VTK/Examples/StreamLines
<http://vtk.org/Wiki/VTK/Examples/StreamLines>
Thanks,

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


More information about the vtkusers mailing list