Commit 9b0c75f1 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

COMP: Use space between double right angled brackets

parent 78776fb4
...@@ -40,7 +40,7 @@ class MonolithicElastixComponent : ...@@ -40,7 +40,7 @@ class MonolithicElastixComponent :
itkImageMovingInterface< Dimensionality, TPixel > itkImageMovingInterface< Dimensionality, TPixel >
>, >,
Providing< Providing<
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality >>, elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality > >,
itkImageInterface< Dimensionality, TPixel >, itkImageInterface< Dimensionality, TPixel >,
RunRegistrationInterface RunRegistrationInterface
> >
...@@ -72,7 +72,7 @@ public: ...@@ -72,7 +72,7 @@ public:
typedef elxParameterObjectType::Pointer elxParameterObjectPointer; typedef elxParameterObjectType::Pointer elxParameterObjectPointer;
typedef typename elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, typedef typename elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >,
itk::Image< TPixel, Dimensionality >>::elastixTransformParameterObject elastixTransformParameterObject; itk::Image< TPixel, Dimensionality > >::elastixTransformParameterObject elastixTransformParameterObject;
// Accepting Interfaces: // Accepting Interfaces:
virtual int Set( itkImageFixedInterface< Dimensionality, TPixel > * ) override; virtual int Set( itkImageFixedInterface< Dimensionality, TPixel > * ) override;
......
...@@ -38,7 +38,7 @@ class MonolithicTransformixComponent : ...@@ -38,7 +38,7 @@ class MonolithicTransformixComponent :
Accepting< Accepting<
itkImageDomainFixedInterface< Dimensionality >, itkImageDomainFixedInterface< Dimensionality >,
itkImageMovingInterface< Dimensionality, TPixel >, itkImageMovingInterface< Dimensionality, TPixel >,
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality >> elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality > >
>, >,
Providing< Providing<
itkImageInterface< Dimensionality, TPixel >, itkImageInterface< Dimensionality, TPixel >,
...@@ -68,7 +68,7 @@ public: ...@@ -68,7 +68,7 @@ public:
typedef elastix::TransformixFilter< MovingImageType > TransformixFilterType; typedef elastix::TransformixFilter< MovingImageType > TransformixFilterType;
typedef elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, typedef elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >,
itk::Image< TPixel, Dimensionality >> elastixTransformParameterObjectInterfaceType; itk::Image< TPixel, Dimensionality > > elastixTransformParameterObjectInterfaceType;
// Accepting Interfaces: // Accepting Interfaces:
virtual int Set( itkImageDomainFixedInterface< Dimensionality > * ) override; virtual int Set( itkImageDomainFixedInterface< Dimensionality > * ) override;
......
...@@ -34,7 +34,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::MonolithicTransformixC ...@@ -34,7 +34,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::MonolithicTransformixC
//TODO m_elastixFilter returns a nullptr GetTransformParameterObject instead of a valid object. However, we need this object to satisfy the input conditions of m_transformixFilter //TODO m_elastixFilter returns a nullptr GetTransformParameterObject instead of a valid object. However, we need this object to satisfy the input conditions of m_transformixFilter
elxParameterObjectPointer trxParameterObject = elxParameterObjectType::New(); elxParameterObjectPointer trxParameterObject = elxParameterObjectType::New();
//typename elxParameterObjectType::ParameterMapType defaultParameters = elxParameterObject->GetDefaultParameterMap("rigid"); //typename elxParameterObjectType::ParameterMapType defaultParameters = elxParameterObject->Get ParameterMap("rigid");
//elxParameterObject->SetParameterMap(defaultParameters); //elxParameterObject->SetParameterMap(defaultParameters);
//m_transformixFilter->SetTransformParameterObject(m_elastixFilter->GetTransformParameterObject()); //m_transformixFilter->SetTransformParameterObject(m_elastixFilter->GetTransformParameterObject());
m_transformixFilter->SetTransformParameterObject( trxParameterObject ); // supply a dummy object m_transformixFilter->SetTransformParameterObject( trxParameterObject ); // supply a dummy object
...@@ -108,7 +108,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::Set( itkImageMovingInt ...@@ -108,7 +108,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::Set( itkImageMovingInt
{ {
auto movingImage = component->GetItkImageMoving(); auto movingImage = component->GetItkImageMoving();
// connect the itk pipeline // connect the itk pipeline
this->m_transformixFilter->SetInput( movingImage ); this->m_transformixFilter->SetMovingImage( movingImage );
return 0; return 0;
} }
......
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
ItkImageSourceMovingComponent< 2, float >, ItkImageSourceMovingComponent< 2, float >,
ItkImageSourceFixedComponent< 3, double >, ItkImageSourceFixedComponent< 3, double >,
ItkImageSourceMovingComponent< 3, double >, ItkImageSourceMovingComponent< 3, double >,
RegistrationControllerComponent< >> RegisterComponents; RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType; typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
...@@ -31,8 +31,8 @@ namespace selx ...@@ -31,8 +31,8 @@ namespace selx
template< int Dimensionality, class TPixel > template< int Dimensionality, class TPixel >
class ItkSmoothingRecursiveGaussianImageFilterComponent : class ItkSmoothingRecursiveGaussianImageFilterComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< itkImageInterface< Dimensionality, TPixel >>, Accepting< itkImageInterface< Dimensionality, TPixel > >,
Providing< itkImageInterface< Dimensionality, TPixel >> Providing< itkImageInterface< Dimensionality, TPixel > >
> >
{ {
public: public:
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
typedef TPixel PixelType; typedef TPixel PixelType;
typedef itk::SmoothingRecursiveGaussianImageFilter< itk::Image< PixelType, Dimensionality >, typedef itk::SmoothingRecursiveGaussianImageFilter< itk::Image< PixelType, Dimensionality >,
itk::Image< PixelType, Dimensionality >> TheItkFilterType; itk::Image< PixelType, Dimensionality > > TheItkFilterType;
typedef itk::Image< PixelType, Dimensionality > ItkImageType; typedef itk::Image< PixelType, Dimensionality > ItkImageType;
typedef typename ItkImageType::Pointer typedef typename ItkImageType::Pointer
ItkImagePointer; ItkImagePointer;
......
...@@ -33,7 +33,7 @@ namespace selx ...@@ -33,7 +33,7 @@ namespace selx
template< int Dimensionality, class TPixel > template< int Dimensionality, class TPixel >
class DisplacementFieldItkImageFilterSinkComponent : class DisplacementFieldItkImageFilterSinkComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< DisplacementFieldItkImageSourceInterface< Dimensionality, TPixel >>, Accepting< DisplacementFieldItkImageSourceInterface< Dimensionality, TPixel > >,
Providing< SinkInterface > Providing< SinkInterface >
> >
{ {
......
...@@ -34,7 +34,7 @@ namespace selx ...@@ -34,7 +34,7 @@ namespace selx
template< int Dimensionality, class TPixel > template< int Dimensionality, class TPixel >
class ItkImageSinkComponent : class ItkImageSinkComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< itkImageInterface< Dimensionality, TPixel >>, Accepting< itkImageInterface< Dimensionality, TPixel > >,
Providing< SinkInterface > Providing< SinkInterface >
> >
{ {
......
...@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel > ...@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel >
class ItkImageSourceComponent : class ItkImageSourceComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< SourceInterface, itkImageInterface< Dimensionality, TPixel >> Providing< SourceInterface, itkImageInterface< Dimensionality, TPixel > >
> >
{ {
public: public:
......
...@@ -35,7 +35,7 @@ class ItkImageSourceFixedComponent : ...@@ -35,7 +35,7 @@ class ItkImageSourceFixedComponent :
Accepting< >, Accepting< >,
Providing< SourceInterface, Providing< SourceInterface,
itkImageFixedInterface< Dimensionality, TPixel >, itkImageFixedInterface< Dimensionality, TPixel >,
itkImageDomainFixedInterface< Dimensionality >> itkImageDomainFixedInterface< Dimensionality > >
> >
{ {
public: public:
......
...@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel > ...@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel >
class ItkImageSourceMovingComponent : class ItkImageSourceMovingComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< SourceInterface, itkImageMovingInterface< Dimensionality, TPixel >> Providing< SourceInterface, itkImageMovingInterface< Dimensionality, TPixel > >
> >
{ {
public: public:
......
...@@ -33,7 +33,7 @@ namespace selx ...@@ -33,7 +33,7 @@ namespace selx
template< int Dimensionality, class TPixel > template< int Dimensionality, class TPixel >
class ItkMeshSinkComponent : class ItkMeshSinkComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< itkMeshInterface< Dimensionality, TPixel >>, Accepting< itkMeshInterface< Dimensionality, TPixel > >,
Providing< SinkInterface, AfterRegistrationInterface > Providing< SinkInterface, AfterRegistrationInterface >
> >
{ {
......
...@@ -34,7 +34,7 @@ template< int Dimensionality, class TPixel > ...@@ -34,7 +34,7 @@ template< int Dimensionality, class TPixel >
class ItkMeshSourceComponent : class ItkMeshSourceComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< SourceInterface, itkMeshInterface< Dimensionality, TPixel >> Providing< SourceInterface, itkMeshInterface< Dimensionality, TPixel > >
> >
{ {
public: public:
......
...@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel > ...@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component : class ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< itkMetricv4Interface< Dimensionality, TPixel >> Providing< itkMetricv4Interface< Dimensionality, TPixel > >
> >
{ {
public: public:
......
...@@ -31,7 +31,7 @@ template< class InternalComputationValueType, int Dimensionality > ...@@ -31,7 +31,7 @@ template< class InternalComputationValueType, int Dimensionality >
class ItkAffineTransformComponent : class ItkAffineTransformComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< itkTransformInterface< InternalComputationValueType, Dimensionality >> Providing< itkTransformInterface< InternalComputationValueType, Dimensionality > >
> >
{ {
public: public:
......
...@@ -30,7 +30,7 @@ namespace selx ...@@ -30,7 +30,7 @@ namespace selx
template< class InternalComputationValueType, int Dimensionality > template< class InternalComputationValueType, int Dimensionality >
class ItkGaussianExponentialDiffeomorphicTransformComponent : class ItkGaussianExponentialDiffeomorphicTransformComponent :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< itkImageDomainFixedInterface< Dimensionality >>, Accepting< itkImageDomainFixedInterface< Dimensionality > >,
Providing< itkTransformInterface< InternalComputationValueType, Dimensionality >, Providing< itkTransformInterface< InternalComputationValueType, Dimensionality >,
RunRegistrationInterface > RunRegistrationInterface >
> >
......
...@@ -31,7 +31,7 @@ template< class InternalComputationValueType > ...@@ -31,7 +31,7 @@ template< class InternalComputationValueType >
class ItkGradientDescentOptimizerv4Component : class ItkGradientDescentOptimizerv4Component :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< itkOptimizerv4Interface< InternalComputationValueType >> Providing< itkOptimizerv4Interface< InternalComputationValueType > >
> >
{ {
public: public:
......
...@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel > ...@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class ItkMeanSquaresImageToImageMetricv4Component : class ItkMeanSquaresImageToImageMetricv4Component :
public SuperElastixComponent< public SuperElastixComponent<
Accepting< >, Accepting< >,
Providing< itkMetricv4Interface< Dimensionality, TPixel >> Providing< itkMetricv4Interface< Dimensionality, TPixel > >
> >
{ {
public: public:
......
...@@ -99,7 +99,7 @@ public: ...@@ -99,7 +99,7 @@ public:
ItkTransformDisplacementFilterComponent< 3, double, double >, ItkTransformDisplacementFilterComponent< 3, double, double >,
ItkResampleFilterComponent< 2, float, double >, ItkResampleFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 3, double, double >, ItkResampleFilterComponent< 3, double, double >,
RegistrationControllerComponent< >> RegisterComponents; RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType; typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
...@@ -76,7 +76,7 @@ public: ...@@ -76,7 +76,7 @@ public:
ItkGaussianExponentialDiffeomorphicTransformComponent< double, 2 >, ItkGaussianExponentialDiffeomorphicTransformComponent< double, 2 >,
ItkTransformDisplacementFilterComponent< 2, float, double >, ItkTransformDisplacementFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 2, float, double >, ItkResampleFilterComponent< 2, float, double >,
RegistrationControllerComponent< >> RegisterComponents; RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType; typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
ItkTransformDisplacementFilterComponent< 3, double, double >, ItkTransformDisplacementFilterComponent< 3, double, double >,
ItkResampleFilterComponent< 2, float, double >, ItkResampleFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 3, double, double >, ItkResampleFilterComponent< 3, double, double >,
RegistrationControllerComponent< >> RegisterComponents; RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType; typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment