[vtkusers] How to transfer

xx_zx xuanaux at gmail.com
Sun Nov 16 15:10:36 EST 2008

Hi, Denis. Thanks a lot! I took your suggestion and it works!:-D

However, I still have some troubles.
Some structures do not have closed surface. For example, in one of my
dataset, heart is reconstructed more like a bowl than a closed ellipsoid.
But the volume calculated by GetVolume() in vtkMassProperties does have
value and seems right. In this case, is the volume calculated by GetVolume()

Some reconstructed surfaces are not smooth and have holes and irregular
serrated border. Is there any method to smooth surface and remove holes to
get a better result?

Denis Barbier-5 wrote:
> On 2008/11/16 xx_zx wrote:
>> I am trying to calculate the volume, surface, centriod of the structures
>> from
>> DICOM RT files. Because the input of vtkMassProperties can only be
>> triangles, I tried to convert structures(discrete points stored in
>> vtkPoints) to triangles using vtkDelaunay3D and vtkTriangleFilter.
>> However,
>> the output of vtkDelaunay3D is vtkUnstructuredGrid while the input of
>> vtkTriangleFilter is vtkPolyData. Can anyone know how to transfer
>> vtkUnstructuredGrid to vtkPolyData?
> If you want to compute the volume and surface of your data, I guess that
> your discrete points represent a closed surface.  You then need to
> reconstruct this surface from your dataset in order to apply
> vtkTriangleFilter
> and vtkMassProperties.  See Examples/Modelling/Tcl/reconstructSurface.tcl,
> you can plug 'reverse' output into vtkTriangleFilter.
> Denis
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

View this message in context: http://www.nabble.com/How-to-transfer-vtkUnstructuredGrid-to-vtkPolydata-tp20521283p20529438.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list