Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Clarify estimation ray position
RayCastInterpolateImageFunction
`RayCastInterpolateImageFunction::Evaluate` did specify the ray position by `point - origin`, which appears somewhat unclear, because `point - origin` yields a `Vector`, not a `Point`. This commit explicitly declares the ray position as `Point`. It also declares a `spacing` variable, to avoid redundant repetitive calls to `TInputImage::GetSpacing()`.
- Loading branch information