[vtkusers] Why GetNumberOfCells return 0

Guido Ioele g.ioele at mail-arts.sssup.it
Fri Sep 1 05:59:46 EDT 2000


Hi all,
could you give me an aswer for this:
......
vtkConeSource *cone = vtkConeSource::New();
    cone->SetResolution(16);
    cone->SetRadius(3.0);
    cone->SetHeight(7.0);
int cells;
cells=cone->GetOutput()->GetNumberOfCells();
cout<<cells;
...........
Why I retrieve cells=0 ?

Thanks in advance
Guido

--
**********************************
Guido Ioele
Electronic Engineer

Centro INAIL RTR
Via della Vetraia 7
55049 Viareggio (LU)
Italy

Voice: +39-0584-385371
Fax:   +39-0584-385359
E-mail: g.ioele at mail-arts.sssup.it
**********************************






More information about the vtkusers mailing list