[vtkusers] Scalar type changing unexpectedly in

David Gobbi david.gobbi at gmail.com
Fri Apr 18 13:08:40 EDT 2014


Call changer->Update() before calling changer->GetOutput().

On Fri, Apr 18, 2014 at 10:53 AM, jmerkow <jmerkow at gmail.com> wrote:
> Hello,
>
> I am working on a project that utilizes vtk extensively. For one of the
> functions I need to change the origin and spacing, to do this I am using the
> vtkChangeInformation class.  My problem is that this filter is producing a
> an image that has a different scalar type then the input.  I have tried to
> change it using SetScalarType but its not working.  The input scalar type to
> the filter is short, but its outputting double.


More information about the vtkusers mailing list