Since the output of the probe filter is polydata, just provide a mapper and actor. <br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 7:35 PM, Matheus Viana <span dir="ltr"><<a href="mailto:vianamp@gmail.com" target="_blank">vianamp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Bill, I'm trying to use vtkProbeFilter, but I'm not sure about next step. For now I have something like that:<div>
<br></div><div><div><span style="white-space:pre-wrap">                </span>vtkPolyData *Plane = PlaneSource -> GetOutput();</div>
<div><br></div><div><span style="white-space:pre-wrap">                </span>vtkProbeFilter *Probe = vtkProbeFilter::New();</div><div><span style="white-space:pre-wrap">                </span>Probe -> SetInput(Plane);</div>
<div><span style="white-space:pre-wrap">                </span>Probe -> SetSource(ImageData);</div><div><span style="white-space:pre-wrap">                </span>Probe -> SpatialMatchOn();</div><div><span style="white-space:pre-wrap">                </span>Probe -> Update();</div>
</div><div><br></div><div>Now, what should I do with "Probe" in order to get the image of the orthogonal cross-section?</div><div><br></div><div>Thanks in advance,<br clear="all"><div><div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>Matheus Viana</b></span></font></div>
<div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>Postdoctoral Research Employee</b></span></font></div><div><b><span style="color:rgb(85,85,85);line-height:16px;font-family:Helvetica,Arial,sans-serif;font-size:13px">Developmental and Cell Biology</span></b></div>
<div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>University of California Irvine</b></span></font></div><div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b><br>
</b></span></font><b><i><br></i></b></div></div><div><div class="h5"><br>
<br><br><div class="gmail_quote">2012/8/3 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you can define the plane (vtkPlaneSource) you want, use vtkProbeFilter.<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 2:42 PM, matheus_viana <span dir="ltr"><<a href="mailto:vianamp@gmail.com" target="_blank">vianamp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys.<br>
<br>
I've a binary ImageData that is used to produce a 3D skeletons by using a<br>
thinning<br>
algorithm. Now, I would like to navigate along this skeleton and extract the<br>
ortogonal<br>
cross-section at each point of this skeleton. The idea can be seen in the<br>
attached<br>
figure. Does anyone have an idea about how to do it?<br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n5715098/section.jpg" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5715098/section.jpg</a><br>
<br>
<br><span><font color="#888888">
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Ortogonal-cross-section-along-skeletons-tp5715098.html" target="_blank">http://vtk.1045678.n5.nabble.com/Ortogonal-cross-section-along-skeletons-tp5715098.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>