<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi<br>
    <br>
    "vtkPolygon-&gt;PointInPolygon()"<br>
    <br>
    Interesting, does this just work for a 2D plane, or will it work for
    a whole volume of polygons?<br>
    <br>
    Thanks<br>
    Alex <br>
    <br>
    On 16/08/2010 14:15, Jothy wrote:
    <blockquote
      cite="mid:AANLkTimKQ5ssr-1drgKPi5MC-FopV1W-C_iGWGMNaFEq@mail.gmail.com"
      type="cite">
      <div dir="ltr">Can't vtkPolygon-&gt;PointInPolygon() do this?<br>
        <br>
        Thanks<br>
        <br>
        Jothy<br>
        <br>
        <div class="gmail_quote">On Mon, Aug 16, 2010 at 12:13 PM, Bill
          Lorensen <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">How is the closed volume of triangles
            created?<br>
            <br>
            On Sun, Aug 15, 2010 at 5:09 PM, Alex Southern &lt;<a
              moz-do-not-send="true" href="mailto:aps@tml.hut.fi">aps@tml.hut.fi</a>&gt;
            wrote:<br>
            &gt; &nbsp;The polydata comes from a closed volume of triangles.<br>
            &gt;<br>
            &gt; BR<br>
            &gt; A.<br>
            &gt;<br>
            &gt; On 16/08/2010 00:06, Bill Lorensen wrote:<br>
            &gt;&gt;<br>
            &gt;&gt; Is the polydata derived from a image/volume?<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; On Sun, Aug 15, 2010 at 4:54 PM, Alex Southern&lt;<a
              moz-do-not-send="true" href="mailto:aps@tml.hut.fi">aps@tml.hut.fi</a>&gt;
            &nbsp;wrote:<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; &nbsp;Hi Bill,<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; I've thought about it a bit and i'm not quite
            sure what your getting at,<br>
            &gt;&gt;&gt; is<br>
            &gt;&gt;&gt; the answer staring me in the face? :D<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; A.<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; On 15/08/2010 23:45, Bill Lorensen wrote:<br>
            &gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; What is the source of the polydata?<br>
            &gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; This is a trick question...<br>
            &gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; Bill<br>
            &gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; On Sat, Aug 14, 2010 at 7:28 AM, Alex
            Southern&lt;<a moz-do-not-send="true"
              href="mailto:aps@tml.hut.fi">aps@tml.hut.fi</a>&gt; &nbsp;
            &nbsp;wrote:<br>
            &gt;&gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt;&gt; Hi,<br>
            &gt;&gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt;&gt; I've asked a similar question here
            before but Im going to ask it again<br>
            &gt;&gt;&gt;&gt;&gt; slightly differently.<br>
            &gt;&gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt;&gt; Using VTK, What is the fastest way to
            find all points in a grid, (or<br>
            &gt;&gt;&gt;&gt;&gt; all<br>
            &gt;&gt;&gt;&gt;&gt; cubes if you think of it a another
            way), &nbsp;that fit inside an arbitrary<br>
            &gt;&gt;&gt;&gt;&gt; shaped volume of polydata?<br>
            &gt;&gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt;&gt; I tried vtkEnclosedPoints, it works but
            its very slow. Someone did<br>
            &gt;&gt;&gt;&gt;&gt; suggest<br>
            &gt;&gt;&gt;&gt;&gt; to me using templates does this ring
            any bells?<br>
            &gt;&gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt;&gt; Thanks<br>
            &gt;&gt;&gt;&gt;&gt; Alex<br>
            <div>
              <div class="h5">&gt;&gt;&gt;&gt;&gt;
                _______________________________________________<br>
                &gt;&gt;&gt;&gt;&gt; Powered by <a
                  moz-do-not-send="true" href="http://www.kitware.com"
                  target="_blank">www.kitware.com</a><br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source
                projects at<br>
                &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.kitware.com/opensource/opensource.html"
                  target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and
                check the VTK FAQ at:<br>
                &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt; Follow this link to
                subscribe/unsubscribe:<br>
                &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.vtk.org/mailman/listinfo/vtkusers"
                  target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;
                _______________________________________________<br>
                &gt;&gt;&gt; Powered by <a moz-do-not-send="true"
                  href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; Visit other Kitware open-source projects at<br>
                &gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.kitware.com/opensource/opensource.html"
                  target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; Please keep messages on-topic and check the
                VTK FAQ at:<br>
                &gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
                &gt;&gt;&gt; <a moz-do-not-send="true"
                  href="http://www.vtk.org/mailman/listinfo/vtkusers"
                  target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
                &gt;&gt;&gt;<br>
                &gt;<br>
                &gt;<br>
                _______________________________________________<br>
                Powered by <a moz-do-not-send="true"
                  href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
                <br>
                Visit other Kitware open-source projects at <a
                  moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  href="http://www.vtk.org/mailman/listinfo/vtkusers"
                  target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>