[vtkusers] Points inside a Volume

Alex Southern mrapsouthern at gmail.com
Mon Aug 16 08:15:20 EDT 2010


  At the moment partly by hand and using MATLAB, in a VTK file, for the 
purposes of getting a reliable volume.

Does this make a difference?

Thanks
A.

# vtk DataFile Version 3.0
VTK L Box
ASCII
DATASET POLYDATA
POINTS 12 float
40.0 0.0 0.0
0.0 0.0 0.0
0.0 80.0 0.0
80.0 80.0 0.0
80.0 40.0 0.0
40.0 40.0 0.0
0.0 0.0 40.0
40.0 0.0 40.0
40.0 40.0 40.0
80.0 40.0 40.0
80.0 80.0 40.0
0.0 80.0 40.0
POLYGONS 20 80
3 3 1 2
3 1 3 5
3 5 3 4
3 0 1 5
3 7 11 6
3 11 7 8
3 11 8 10
3 10 8 9
3 7 1 0
3 1 7 6
3 11 1 6
3 1 11 2
3 11 3 2
3 3 11 10
3 3 9 4
3 9 3 10
3 9 5 4
3 5 9 8
3 5 7 0
3 7 5 8


On 16/08/2010 14:13, Bill Lorensen wrote:
> How is the closed volume of triangles created?
>
> On Sun, Aug 15, 2010 at 5:09 PM, Alex Southern<aps at tml.hut.fi>  wrote:
>>   The polydata comes from a closed volume of triangles.
>>
>> BR
>> A.
>>
>> On 16/08/2010 00:06, Bill Lorensen wrote:
>>> Is the polydata derived from a image/volume?
>>>
>>>
>>> On Sun, Aug 15, 2010 at 4:54 PM, Alex Southern<aps at tml.hut.fi>    wrote:
>>>>   Hi Bill,
>>>>
>>>> I've thought about it a bit and i'm not quite sure what your getting at,
>>>> is
>>>> the answer staring me in the face? :D
>>>>
>>>> A.
>>>>
>>>>
>>>>
>>>> On 15/08/2010 23:45, Bill Lorensen wrote:
>>>>> What is the source of the polydata?
>>>>>
>>>>> This is a trick question...
>>>>>
>>>>> Bill
>>>>>
>>>>> On Sat, Aug 14, 2010 at 7:28 AM, Alex Southern<aps at tml.hut.fi>      wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I've asked a similar question here before but Im going to ask it again
>>>>>> slightly differently.
>>>>>>
>>>>>> Using VTK, What is the fastest way to find all points in a grid, (or
>>>>>> all
>>>>>> cubes if you think of it a another way),  that fit inside an arbitrary
>>>>>> shaped volume of polydata?
>>>>>>
>>>>>> I tried vtkEnclosedPoints, it works but its very slow. Someone did
>>>>>> suggest
>>>>>> to me using templates does this ring any bells?
>>>>>>
>>>>>> Thanks
>>>>>> Alex
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com
>>>>>>
>>>>>> Visit other Kitware open-source projects at
>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>
>>>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list