<div dir="ltr">It will work for 3D meshes, since it uses ray tracing it works well for even concave meshes.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 9:43 PM, Alex Southern <span dir="ltr"><<a href="mailto:aps@tml.hut.fi">aps@tml.hut.fi</a>></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;">
<div bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
"vtkPolygon->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 type="cite">
<div dir="ltr">Can't vtkPolygon->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"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></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 <<a href="mailto:aps@tml.hut.fi" target="_blank">aps@tml.hut.fi</a>>
wrote:<br>
> The polydata comes from a closed volume of triangles.<br>
><br>
> BR<br>
> A.<br>
><br>
> On 16/08/2010 00:06, Bill Lorensen wrote:<br>
>><br>
>> Is the polydata derived from a image/volume?<br>
>><br>
>><br>
>> On Sun, Aug 15, 2010 at 4:54 PM, Alex Southern<<a href="mailto:aps@tml.hut.fi" target="_blank">aps@tml.hut.fi</a>>
wrote:<br>
>>><br>
>>> Hi Bill,<br>
>>><br>
>>> I've thought about it a bit and i'm not quite
sure what your getting at,<br>
>>> is<br>
>>> the answer staring me in the face? :D<br>
>>><br>
>>> A.<br>
>>><br>
>>><br>
>>><br>
>>> On 15/08/2010 23:45, Bill Lorensen wrote:<br>
>>>><br>
>>>> What is the source of the polydata?<br>
>>>><br>
>>>> This is a trick question...<br>
>>>><br>
>>>> Bill<br>
>>>><br>
>>>> On Sat, Aug 14, 2010 at 7:28 AM, Alex
Southern<<a href="mailto:aps@tml.hut.fi" target="_blank">aps@tml.hut.fi</a>>
wrote:<br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>> I've asked a similar question here
before but Im going to ask it again<br>
>>>>> slightly differently.<br>
>>>>><br>
>>>>> Using VTK, What is the fastest way to
find all points in a grid, (or<br>
>>>>> all<br>
>>>>> cubes if you think of it a another
way), that fit inside an arbitrary<br>
>>>>> shaped volume of polydata?<br>
>>>>><br>
>>>>> I tried vtkEnclosedPoints, it works but
its very slow. Someone did<br>
>>>>> suggest<br>
>>>>> to me using templates does this ring
any bells?<br>
>>>>><br>
>>>>> Thanks<br>
>>>>> Alex<br>
<div>
<div>>>>>>
_______________________________________________<div class="im"><br>
>>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>><br>
>>>>> Visit other Kitware open-source
projects at<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>><br></div>
>>>>> Please keep messages on-topic and
check the VTK FAQ at:<br>
>>>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><div class="im"><br>
>>>>><br>
>>>>> Follow this link to
subscribe/unsubscribe:<br></div>
>>>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>>>><br>
>>>
_______________________________________________<div class="im"><br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br></div>
>>> Please keep messages on-topic and check the
VTK FAQ at:<br>
>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><div class="im"><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br></div>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>><br>
><br>
><br>
_______________________________________________<div class="im"><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></div>
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><div class="im"><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</div><a 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>
</div>
</blockquote></div><br></div>