[vtkusers] stream tracer / stream lines

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Thu Mar 25 08:12:18 EDT 2010


Of course this example is broken, someone messes up the names of the 
render windows and the interactor.

I have toyed around with the example and it is still displaying nothing.
So it is still broken, but  not due to the basic errors which were made 
before.

I have found no reliable example and/or code snipped which would display 
*my *streamlines (or any, actually)
I'm sure this is because my vectors are defined on the structured grid 
cell centers and not on the points.
Is this so uncommon?!? I have played with vtkCellDataToPointData to 
maybe transform the vectors to the points - with no result.

So I'm still stuck. Hopefully Berk will post some usable streamTracer 
example.
See you.

Am 24.03.2010 15:11, schrieb David Doria:
> On Wed, Mar 24, 2010 at 9:30 AM, Sebastian Gatzka 
> <sebastian.gatzka at stud.tu-darmstadt.de 
> <mailto: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
>
> Thanks,
>
> David
>
>
> _______________________________________________
> 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
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100325/895970ca/attachment.htm>


More information about the vtkusers mailing list