Hi users,<br><br>I have got a very wierd problem .<br>the code segment ---------------<br> vtkSphereSource *Sphere= vtkSphereSource::New(); <br> Sphere->SetRadius(10);<br> Sphere->SetCenter(0,0,0);<br> vtkDoubleArray *pDouble = vtkDoubleArray::New();
<br> N=Sphere->GetOutput()->GetNumberOfPoints();<br> printf("%d,\n",N);<br><br>I expect N is a finite number of points of the polygonal data representing the sphere.<br>But i got N =0!<br>I really confused .can somebody help?
<br>thanks for your time ...<br><br>