[vtkusers] Help for using of cone source

David Doria daviddoria at gmail.com
Thu May 10 12:07:55 EDT 2012


On Thu, May 10, 2012 at 11:59 AM, Rong Xu <xurong1981 at gmail.com> wrote:
> Dear David Doria & Bill Lorensen;
>
> I am sorry, I made a mistake. The number of points with
> vtkLinearSubdivisionFilter has been about 3 times compared with the number
> of points without vtkLinearSubdivisionFilter for a cone source. Also I
> displayed point cloud of a cone source which has been subdivided by
> vtkLinearSubdivisionFilter in Img-01.png (Img-00.png shows the point cloud
> of a cone source without subdivision).
>
> My new problem is that I want to much more points than one subdivision by
> vtkLinearSubdivisionFilter. I know I can use vtkLinearSubdivisionFilter for
> many times to realize this purpose, for example I use
> vtkLinearSubdivisionFilter 10 times to obtain much more points, but is there
> any simple method to realize the same purpose ?
>
> Thank you!

I think you should just use the SetNumberOfSubdivisions function:
http://www.vtk.org/doc/nightly/html/classvtkInterpolatingSubdivisionFilter.html#a92c18b4ab0d539c7f56043a8f782393a

David



More information about the vtkusers mailing list