[vtkusers] polydata possible bug

Theodore Papatheodorou tp500 at doc.ic.ac.uk
Tue Nov 16 11:47:59 EST 2004


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?

Brad King wrote:

> Theodore Papatheodorou wrote:
>
>> Hi all,
>> I have noticed something lately which I think it is a bug. I am 
>> creating some 4D polydata structures. If I query one of the points it 
>> returns the correct coordinates. However when I try to save the 
>> polydata it treats it as a 3D dataset and saves only up to a certain 
>> point. So for example:
>> Instead of saving the data as:
>> x y z a,  x y z a, x y z a,.....
>> it saves it as:
>> x y z, a x y, z a x,....
>> Anybody encountered this before? Any solutions?
>
>
> VTK does not support 4D points.  Points are always specified in 3D, 
> even in a 2D data set.
>
> -Brad
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: <http://www.vtk.org/Wiki/VTK_FAQ>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list