-
Notifications
You must be signed in to change notification settings - Fork 161
STYLE: Change vector to point when possible #841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
SimonRit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also add a note to the transition page
| Corner2[2] = this->GetInput(0)->GetOrigin()[2] + | ||
| this->GetInput(0)->GetLargestPossibleRegion().GetSize()[2] * this->GetInput(0)->GetSpacing()[2]; | ||
| itk::Point<double, 3> Corner1, Corner2; | ||
| Corner1 = itk::MakePoint( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not seem necessary?
|
@acoussat Can you please check that this does not break your wrapping of |
|
According to the CI, |
|
I guess not, thanks! |
|
We should document the change of API in migration guide. |
ca3c6df to
498fc59
Compare
| { | ||
| typename InputRegionIterator::PointType pixelPosition = itIn->GetPixelPosition(); | ||
| typename InputRegionIterator::PointType dirVox = -itIn->GetSourceToPixel(); | ||
| stepMM.Fill(0.); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to fix the failing test that occurred because of pixelPosition that was corrected to stepMM line 422
Close #820