Skip to content
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

STYLE: Spelling Trasform->Transform fixes. #4591

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Documentation/docs/releases/4.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Bill Lorensen (4):

Bradley Lowekamp (57):

`     ENH: Add registered TrasformIO's to exception`\
`     ENH: Add registered TransformIO's to exception`\
`     ENH: Use template or constant for loop stop condition`\
`     ENH: Updating SWIG version to 3.0.9`\
`     COMP: Address VS9 ambiguous std::abs call in Haung calculator`\
Expand Down Expand Up @@ -206,7 +206,7 @@ Bradley Lowekamp (57):
`     ENH: Mark HDF5 CMake options as internal`\
`     COMP: Add template export declaration for ParametricPath`\
`     COMP: Correct TEMPLATE_EXPLICIT definition in Path module`\
`     ENH: Factor out common code in the TrasformFactoryBase registration`\
`     ENH: Factor out common code in the TransformFactoryBase registration`\
`     ENH: Add CMake variable for max transform dimension, defaults 4`\
`     ENH: Create CMake module to check for private RTTI compatibility`\
`     ENH: Improving setting of default ITK_TEMPATE_VISIBILITY_DEFAULT`\
Expand Down
12 changes: 6 additions & 6 deletions Modules/Core/Common/test/itkImageTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ itkImageTest(int, char *[])
volume->SetRegions(cuboid);

using ProjectionTransformType = TestTransform<Image3D::ImageDimension>;
ProjectionTransformType * projectionTrasform = new ProjectionTransformType;
ProjectionTransformType * projectionTransform = new ProjectionTransformType;

Image::RegionType rectangleRegion = itk::ImageAlgorithm::EnlargeRegionOverBox(
volume->GetLargestPossibleRegion(), volume.GetPointer(), imageRef.GetPointer(), projectionTrasform);
volume->GetLargestPossibleRegion(), volume.GetPointer(), imageRef.GetPointer(), projectionTransform);

delete projectionTrasform;
delete projectionTransform;
Image::IndexType correctRectangleIndex;
correctRectangleIndex.Fill(0);
Image::SizeType correctRectangleSize;
Expand All @@ -209,12 +209,12 @@ itkImageTest(int, char *[])
}

using TestIdentityTransformType = TestTransform<Image::ImageDimension>;
TestIdentityTransformType * testIdentityTrasform = new TestIdentityTransformType;
TestIdentityTransformType * testIdentityTransform = new TestIdentityTransformType;

Image::RegionType tesBoxRegion = itk::ImageAlgorithm::EnlargeRegionOverBox(
image->GetLargestPossibleRegion(), image.GetPointer(), imageRef.GetPointer(), testIdentityTrasform);
image->GetLargestPossibleRegion(), image.GetPointer(), imageRef.GetPointer(), testIdentityTransform);

delete testIdentityTrasform;
delete testIdentityTransform;

if (!(tesBoxRegion.GetIndex() == correctIndex) || !(tesBoxRegion.GetSize() == correctSize))
{
Expand Down