Skip to content

Commit

Permalink
BUG: Register ComposeScaleSkewVersor3DTransform transform
Browse files Browse the repository at this point in the history
This is required to read and write the transform.
  • Loading branch information
blowekamp committed Apr 15, 2021
1 parent 3f8b14b commit 8c7784d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "itkScaleLogarithmicTransform.h"
#include "itkScaleVersor3DTransform.h"
#include "itkScaleSkewVersor3DTransform.h"
#include "itkComposeScaleSkewVersor3DTransform.h"
#include "itkSimilarity2DTransform.h"
#include "itkSimilarity3DTransform.h"
#include "itkTranslationTransform.h"
Expand Down Expand Up @@ -147,6 +148,7 @@ TransformFactoryBase::RegisterTransformFactory()
TransformFactory<ScalableAffineTransform<TParameterType, 3>>::RegisterTransform();
TransformFactory<ScaleLogarithmicTransform<TParameterType, 3>>::RegisterTransform();
TransformFactory<ScaleSkewVersor3DTransform<TParameterType>>::RegisterTransform();
TransformFactory<ComposeScaleSkewVersor3DTransform<TParameterType>>::RegisterTransform();
TransformFactory<ScaleTransform<TParameterType, 2>>::RegisterTransform();
TransformFactory<ScaleTransform<TParameterType, 3>>::RegisterTransform();
TransformFactory<ScaleTransform<TParameterType, 4>>::RegisterTransform();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ itkTransformFactoryBaseTest(int, char *[])
itkPushIfTransformDim("ScalableAffineTransform_double_3_3", 3);
itkPushIfTransformDim("ScaleLogarithmicTransform_double_3_3", 3);
itkPushIfTransformDim("ScaleSkewVersor3DTransform_double_3_3", 3);
itkPushIfTransformDim("ComposeScaleSkewVersor3DTransform_double_3_3", 3);
itkPushIfTransformDim("ScaleTransform_double_2_2", 2);
itkPushIfTransformDim("ScaleTransform_double_3_3", 3);
itkPushIfTransformDim("ScaleTransform_double_4_4", 4);
Expand Down

0 comments on commit 8c7784d

Please sign in to comment.