------------------------------------------------------------------------------ This Method returns an index to a location in the vtkImageData. Coordinates are in pixel units and are relative to the whole image origin.
| 983 | // Coordinates are in pixel units and are relative to the whole |
| 984 | // image origin. |
| 985 | vtkIdType vtkImageData::GetScalarIndexForExtent(int extent[6]) |
| 986 | { |
| 987 | return this->GetTupleIndexForExtent(this->GetPointData()->GetScalars(), extent); |
| 988 | } |
| 989 | |
| 990 | //------------------------------------------------------------------------------ |
| 991 | vtkIdType vtkImageData::GetScalarIndex(int coordinate[3]) |
nothing calls this directly
no test coverage detected