[vtkusers] Changing vtkStructuredPoints scalar type

Robb Brown brownr at ucalgary.ca
Thu Apr 4 11:45:23 EST 2002


I have a vtkStructuredPoints file with ScalarType set to unsigned 
char.  I want to convert this file so that ScalarType is short.  How 
would I do this?  I tried reading it, using SetScalarTypeToShort() 
then writing it and I do get a larger file but upon reading the file 
again GetScalarTypeAsString still reports unsigned char.

Thanks,

Robb
-- 
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada



More information about the vtkusers mailing list