[vtkusers] Streamlines

Berk Geveci berk.geveci at kitware.com
Wed Mar 24 20:05:53 EDT 2010


Can you send me an example dataset that I can use to write the example
on the wiki? I can find one but I am bored of the datasets that I
have. Please keep in mind that the dataset will be public.

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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list