------------------------------------------------------------------------------ This Method returns an index to a location in the vtkImageData. Coordinates are in pixel units and are relative to the whole image origin.
| 974 | // Coordinates are in pixel units and are relative to the whole |
| 975 | // image origin. |
| 976 | vtkIdType vtkImageData::GetScalarIndex(int x, int y, int z) |
| 977 | { |
| 978 | return this->GetTupleIndex(this->GetPointData()->GetScalars(), x, y, z); |
| 979 | } |
| 980 | |
| 981 | //------------------------------------------------------------------------------ |
| 982 | // This Method returns an index to a location in the vtkImageData. |
no test coverage detected