<div dir="ltr">Hie Dean.<div><br></div><div>I´m actually looking at this example</div><div><br></div><div><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Widgets/Testing/Cxx/TestImageTracerWidget.cxx?root=VTK&amp;content-type=text/plain">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Widgets/Testing/Cxx/TestImageTracerWidget.cxx?root=VTK&amp;content-type=text/plain</a><br>
</div><div><br></div><div>I think here is how to use the classes you told me. I hope this works.</div><div><br></div><div>Thanks for your response.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 15, 2013 at 8:38 AM, Dean Inglis <span dir="ltr">&lt;<a href="mailto:inglis.dl@gmail.com" target="_blank">inglis.dl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Fabian,<br> <br>have a look at classes inheriting from vtkImageStencilAlgorithm that generate vtkImageStencilData.<br>
</div>You can use the vtkImageStencilData with vtkImageStencil to do inside/outside masking.<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Dean<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Aug 14, 2013 at 6:31 PM, Fabian Torres <span dir="ltr">&lt;<a href="mailto:dae.wong@gmail.com" target="_blank">dae.wong@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry the name is vtkInteractorStyleImage.<div>vtkTracerInteractorStyleImage is the name of my class.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 4:08 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you sure you typed the class name correctly?<br>
&#39;vtkTracerInteractorStyleImage&#39; is not a class in VTK as far as I can<br>
tell: <a href="http://www.vtk.org/doc/nightly/html/classes.html" target="_blank">http://www.vtk.org/doc/nightly/html/classes.html</a><br>
<br>
David<br>
<div><div><br>
<br>
On Wed, Aug 14, 2013 at 12:32 PM, Fabian Torres &lt;<a href="mailto:dae.wong@gmail.com" target="_blank">dae.wong@gmail.com</a>&gt; wrote:<br>
&gt; Hi all.<br>
&gt;<br>
&gt; I have a class that inherits from vtkTracerInteractorStyleImage. This class allows the user to draw closed lines in an image and extract the vtkPath and vtkPoints every time the class catches a tracerEvent.<br>
&gt;<br>
&gt; My problem is that I want to extract the value of every pixel inside the drew region. How can I do this using the information from the obtained vtkPath or vtkPoints.<br>
&gt;<br>
&gt; Thnanks all<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Fabián Torres Robles<br>Maestria en Ciencias en Ingeniería Electrónica<br>Ingeniería en Sistemas Electrónicos<br>
tel. 58081280, 0445534661338<br>e-mail <a href="mailto:fabian.trobles@gmail.com" target="_blank">fabian.trobles@gmail.com</a>, <a href="mailto:dae.wong@gmail.com" target="_blank">dae.wong@gmail.com</a>  <div style="line-height:130%;text-align:left;font-size:10px;overflow:hidden;margin-left:0px;word-wrap:break-word;margin-top:0px;padding:0px">


</div>
</font></span></div>
<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>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Fabián Torres Robles<br>Maestria en Ciencias en Ingeniería Electrónica<br>Ingeniería en Sistemas Electrónicos<br>tel. 58081280, 0445534661338<br>e-mail <a href="mailto:fabian.trobles@gmail.com" target="_blank">fabian.trobles@gmail.com</a>, <a href="mailto:dae.wong@gmail.com" target="_blank">dae.wong@gmail.com</a>  <div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
</div>