[vtkusers] polydata possible bug

Brad King brad.king at kitware.com
Tue Nov 16 13:07:09 EST 2004


Theodore Papatheodorou wrote:
> Thanks for your reply Brad. I am surprised about VTK not supporting 4D 
> points... yes it is true about the 2D but I noticed that you can have 
> vtkpoints->SetNumberOfComponents(int) and there you can set how many 
> dimensions you have. what is the point of that if you can't save data?

There is no SetNumberOfComponents on vtkPoints.  You can do

   points->GetData()->SetNumberOfComponents(...)

but only because vtkPoints is implemented using a vtkDataArray.  This is 
not supported.

-Brad



More information about the vtkusers mailing list