[vtkusers] Changing vtkStructuredPoints scalar type

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Thu Apr 4 16:16:08 EST 2002


vtkImageCast ?

----- Original Message -----
From: "Robb Brown" <brownr at ucalgary.ca>
To: "VTK Mailing list" <vtkusers at public.kitware.com>
Sent: Thursday, April 04, 2002 5:45 PM
Subject: [vtkusers] Changing vtkStructuredPoints scalar type


>
> 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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list