Skip to content

Conversation

@axel-grc
Copy link
Collaborator

@axel-grc axel-grc commented Oct 28, 2025

Close #820

Copy link
Collaborator

@SimonRit SimonRit left a 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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not seem necessary?

@SimonRit SimonRit requested a review from acoussat November 7, 2025 08:52
@SimonRit
Copy link
Collaborator

SimonRit commented Nov 7, 2025

@acoussat Can you please check that this does not break your wrapping of ConvexShape?

@acoussat
Copy link
Collaborator

According to the CI, test/rtkOutputArgumentWrapping.py::test_IsIntersectedByRay succeeds so it seems that the wrapping still works. Should I do more extensive testing, or is it enough?

@SimonRit
Copy link
Collaborator

I guess not, thanks!

@axel-grc
Copy link
Collaborator Author

We should document the change of API in migration guide.

@axel-grc axel-grc force-pushed the PointType branch 2 times, most recently from ca3c6df to 498fc59 Compare December 18, 2025 15:21
{
typename InputRegionIterator::PointType pixelPosition = itIn->GetPixelPosition();
typename InputRegionIterator::PointType dirVox = -itIn->GetSourceToPixel();
stepMM.Fill(0.);
Copy link
Collaborator Author

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

@SimonRit SimonRit added this to the RTK 3.0 milestone Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PointType in ConvexShape should not be a Vector but a Point

3 participants