[vtkusers] Help for using of cone source

Rong Xu xurong1981 at gmail.com
Thu May 10 11:59:49 EDT 2012


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!

2012/5/11 Bill Lorensen <bill.lorensen at gmail.com>

> Rong,
>
> I believe that David is correct. Subdivision only works on triangles,
> so add a vtkTriangleFilter before the subdivision filter.
>
> Bill
>
> On Thu, May 10, 2012 at 11:08 AM, David Doria <daviddoria at gmail.com>
> wrote:
> >> I tried subdivision on above link, but the number of points is not
> changed
> >> on vtkConeSource. Moreover, I used subdivision on vtkSphereSource, the
> >> number of points on sphere is increased. So I do not know why there is
> no
> >> effect on vtkConeSource?
> >
> > Please send some compilable code that shows that the number of points
> > is not changing. The only thing I could suggest is to use the
> > vtkTriangleFilter on the vtkConeSource before using a subdivision
> > filter.
> >
> > David
> > _______________________________________________
> > 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
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 

---------------------
Best Regards!

===============================================
Rong Xu,  Ph.D Student
Ohya Lab
Graduate School of Global Information and Telecommunication
Studies (GITS), Waseda University
1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (¨“169-8050)

Tel:          +81-80-4208-1207
E-mail:     xurong1981 at gmail.com
               xurong at fuji.waseda.jp
===============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120511/0169ba27/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img-00.png
Type: image/png
Size: 955 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120511/0169ba27/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img-01.png
Type: image/png
Size: 1859 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120511/0169ba27/attachment-0001.png>


More information about the vtkusers mailing list