<div dir="ltr"><div><div><div><div>Sorry <br><br></div>I did not link the right code sorry.<br></div>Here is a updated example<br><a href="https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/Kitchen/">https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/Kitchen/</a><br><br></div>You can find lots of other examples here :<br><a href="https://lorensen.github.io/VTKExamples/site/Cxx/">https://lorensen.github.io/VTKExamples/site/Cxx/</a><br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 26, 2018 at 9:38 AM, 舞法舞天 <span dir="ltr"><<a href="mailto:278124177@qq.com" target="_blank">278124177@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've seen this example  and i use the vtk8.1 and can not find streamline.h , is there something wrong with my vtk ? thanks.<div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Mathieu Westphal"<<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@<wbr>kitware.com</a>>; </div><div><b>发送时间:</b> 2018年1月26日(星期五) 下午4:27</div><div><b>收件人:</b> "舞法舞天"<<a href="mailto:278124177@qq.com" target="_blank">278124177@qq.com</a>>; "vtkusers"<<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>>; </div><div><b>主题:</b> Re: [vtkusers] vtkStreamLineTracer</div></div><div class="HOEnZb"><div class="h5"><div><br></div><div dir="ltr"><div>Please find this example here :<br><a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/StreamLines" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Visualization/<wbr>StreamLines</a><br><br></div><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-6900806241630730317gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 26, 2018 at 9:18 AM, 舞法舞天 <span dir="ltr"><<a href="mailto:278124177@qq.com" target="_blank">278124177@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><div>the .vtk file is converted from.trk file   the .vtk file   can you give me an example to use the vtkstreamtracer please?</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Mathieu Westphal";<<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@ki<wbr>tware.com</a>>;</div><div><b>发送时间:</b> 2018年1月26日(星期五) 下午4:13</div><div><b>收件人:</b> "舞法舞天"<<a href="mailto:278124177@qq.com" target="_blank">278124177@qq.com</a>>;</div><div><b>抄送:</b> "vtkusers"<<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.or<wbr>g</a>>; </div><div><b>主题:</b> Re: [vtkusers] vtkStreamLineTracer</div></div><div><div class="m_-6900806241630730317h5"><div><br></div><div dir="ltr"><div><div>Hello<br><br></div>a .vtk file can be of any vtk datatype. To use the vtkStreamTracer, you need a volumic data with at least a vectoriel point or cell data on it.<br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-6900806241630730317m_302610314908276760gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 26, 2018 at 8:57 AM, 舞法舞天 <span dir="ltr"><<a href="mailto:278124177@qq.com" target="_blank">278124177@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a .vtk file , how can i use the vtkstreamTracer to create streamline form this file?<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listin<wbr>fo/vtkusers</a><br>
<br></blockquote></div><br></div></div></div></div></blockquote></div><br></div>

</div></div></blockquote></div><br></div>