[vtkusers] set scalars into vtkImageData

flin at enders.tch.harvard.edu flin at enders.tch.harvard.edu
Tue Apr 25 15:40:09 EDT 2006


Dear all,

If the size of scalars(e.g. vtkUnsignedCharArray) does not match the
dimensions of vtkImageData, what will be contained in the tmpImgData after
the following:

tmpImgData->GetPointData()->SetScalars(newscalars);

Many thanks.

/faith







More information about the vtkusers mailing list