<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif" size="-1">Of course this
example is broken, someone messes up the names of the render windows
and the interactor.</font><font face="Helvetica, Arial, sans-serif"><br>
<br>
<small>I have toyed around with the example and it is still displaying
nothing.<br>
So it is still broken, but&nbsp; not due to the basic errors which were made
before.<br>
<br>
I have found no reliable example and/or code snipped which would
display <b>my </b>streamlines (or any, actually)<br>
I'm sure this is because my vectors are defined on the structured grid
cell centers and not on the points.<br>
Is this so uncommon?!? I have played with vtkCellDataToPointData to
maybe transform the vectors to the points - with no result.<br>
<br>
So I'm still stuck. Hopefully Berk will post some usable streamTracer
example.<br>
See you.</small></font><br>
<br>
Am 24.03.2010 15:11, schrieb David Doria:
<blockquote
 cite="mid:c19fcadc1003240711u6e730f7m4b79dcc7d71d6ac2@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Wed, Mar 24, 2010 at 9:30 AM, Sebastian
Gatzka <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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-&gt;SetInput(gridCellCenters-&gt;GetOutput());<br>
streamTracer-&gt;SetStartPosition(0.5,0.5,0.5);<br>
streamTracer-&gt;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 moz-do-not-send="true"
 href="http://vtk.org/Wiki/VTK/Examples/StreamLines">http://vtk.org/Wiki/VTK/Examples/StreamLines</a></div>
  <div class="gmail_quote"><br clear="all">
Thanks,<br>
  <br>
David</div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
  </pre>
</blockquote>
</body>
</html>