<div class="gmail_quote">On Wed, Mar 24, 2010 at 9:30 AM, Sebastian Gatzka <span dir="ltr"><<a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hello World.<br>
<br>
What is essential to create streamlines with vtkStreamTracer?<br>
I haven't found an example so far.<br>
<br>
<font color="#ff0000"><b>I have vector data stored on <u>structured
grid cell centers</u>.</b></font><br>
<br>
Any idea how I can input those to the stream tracer?<br>
<br>
Minimal code like this is obviously not correct:<br>
<br>
<font face="Courier New, Courier, monospace">vtkStreamTracer
*streamTracer = vtkStreamTracer::New();<br>
streamTracer->SetInput(gridCellCenters->GetOutput());<br>
streamTracer->SetStartPosition(0.5,0.5,0.5);<br>
streamTracer->Update();</font><br>
<br>
Sebastian<br>
</font></font>
</div><div bgcolor="#ffffff" text="#000000"><font size="-1"><font face="Helvetica, Arial, sans-serif"><br></font></font></div></blockquote><div><br></div><div>Here's a good place for an example if anyone knows how to do this:</div>
<a href="http://vtk.org/Wiki/VTK/Examples/StreamLines">http://vtk.org/Wiki/VTK/Examples/StreamLines</a></div><div class="gmail_quote"><a href="http://vtk.org/Wiki/VTK/Examples/StreamLines"></a><br clear="all">Thanks,<br><br>
David</div>