[vtkusers] vtkMarchingCubes to point cloud
Murat Aydın
murat.aydin at netcad.com.tr
Fri Sep 18 04:14:57 EDT 2009
Right, Bill. I am trying to create surface from point clouds with no convex
hull.
I am trying different approaches (vtkSurfaceReconstruction,
vtkMarchingCubes,vtkContourFilter etc..)
vtkRecursiveDividingCubes didnt give any result too (numberOfCells = 0,
numberOfPoints=0).
I think these filters work well with dense points. MarchingCubes filters are
working with
image data.
I have 8 points in a vtkPolyData. I tried
vtkVoxelModeller,vtkPolyDataToImageStencil (polydata should contain polygons
for this filter, i have only points)
and other approaches i found in mail list archive,but no result.
vtkVoxelModeller produces vtkImageData with 8000 points and 6556 cells. I
put output of voxel modeller to marching filters' input and again
numberOfCells = 0, numberOfPoints = 0.
Thanks.
murat
----- Original Message -----
From: "Bill Lorensen" <bill.lorensen at gmail.com>
To: "Harvey Cline" <harvey.cline at kitware.com>
Cc: "Murat Aydın" <murat.aydin at netcad.com.tr>; <vtkusers at vtk.org>
Sent: Thursday, September 17, 2009 8:18 PM
Subject: Re: [vtkusers] vtkMarchingCubes to point cloud
Harv,
murat wants to go from points to a surface even though the subject
says otherwise.
Bill
2009/9/17 Harvey Cline <harvey.cline at kitware.com>:
> Hi murat
>
> The vtkRecursiveDividingCubes will create a dense point cloud in place
> of vtkMarchingCubes;however, there are several tricky parameters that
> are needed to be set to control the point density
>
> SetValue
> SetDistance
> SetIncrement
>
> An easy Example to try it is Medical1 in Medical in Examples in VTK
>
> Hope this works for you
> Harvey
>
> 2009/9/17 Murat Aydın <murat.aydin at netcad.com.tr>:
>> Hi,
>> How can i use vtkMarchingCubes for creating surfaces from a point cloud.
>> vtksurfacereconstructionFilter doesnt work reasonable because points are
>> not
>> close enough.
>> I couldnt apply vtkMarchingCubes to polyData or unstructuredGrid. Thanks.
>>
>> murat
>> _______________________________________________
>> 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