------------------------------------------------------------------------------ Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called.
| 750 | // If you want the output scalar type to have a different value, set it |
| 751 | // after this method is called. |
| 752 | void vtkImageReader2::SetDataScalarType(int type) |
| 753 | { |
| 754 | if (type == this->DataScalarType) |
| 755 | { |
| 756 | return; |
| 757 | } |
| 758 | |
| 759 | this->Modified(); |
| 760 | this->DataScalarType = type; |
| 761 | // Set the default output scalar type |
| 762 | vtkImageData::SetScalarType(this->DataScalarType, this->GetOutputInformation(0)); |
| 763 | } |
| 764 | |
| 765 | //---------------------------------------------------------------------------- |
| 766 | vtkMTimeType vtkImageReader2::GetMTime() |
no test coverage detected