Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
SuperElastix
Commits
41d8c803
Commit
41d8c803
authored
Jan 10, 2017
by
Floris Berendsen
Browse files
COMP: SuperElastix/SuperElastix#24 compiles
parent
ecee078e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Modules/Components/Niftyreg/test/selxNiftyregComponentTest.cxx
View file @
41d8c803
...
...
@@ -19,6 +19,7 @@
#include
"selxSuperElastixFilter.h"
#include
"selxRegisterComponentFactoriesByTypeList.h"
#include
"selxDefaultComponents.h"
#include
"selxRegistrationController.h"
#include
"selxNiftyregReadImageComponent.h"
...
...
Modules/Core/ComponentRegistration/include/selxRegisterComponentFactoriesByTypeList.h
View file @
41d8c803
...
...
@@ -17,11 +17,12 @@
*
*=========================================================================*/
#include
"selxTypeList.h"
#ifndef RegisterByTypeList_h
#define RegisterByTypeList_h
#include
"selxTypeList.h"
#include
"selxComponentFactory.h"
namespace
selx
{
template
<
typename
>
...
...
Modules/Core/Filter/src/selxSuperElastixFilter.cxx
View file @
41d8c803
...
...
@@ -75,7 +75,7 @@ SuperElastixFilter
itkExceptionMacro
(
<<
"Setting a Blueprint is required first."
)
}
this
->
m_NetworkBuilder
=
NetworkBuilder
Pointer
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_NetworkBuilder
=
std
::
unique_ptr
<
NetworkBuilder
>
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_AllUniqueComponents
=
this
->
m_NetworkBuilder
->
Configure
();
}
else
if
(
this
->
m_BlueprintConnectionModified
==
true
)
...
...
@@ -211,7 +211,7 @@ SuperElastixFilter
{
itkExceptionMacro
(
<<
"Setting a Blueprint is required first."
)
}
this
->
m_NetworkBuilder
=
NetworkBuilder
Pointer
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_NetworkBuilder
=
std
::
unique_ptr
<
NetworkBuilder
>
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_AllUniqueComponents
=
this
->
m_NetworkBuilder
->
Configure
();
}
if
(
!
this
->
m_AllUniqueComponents
)
...
...
@@ -235,7 +235,7 @@ SuperElastixFilter
itkExceptionMacro
(
<<
"Setting a Blueprint is required first."
)
}
this
->
m_NetworkBuilder
=
NetworkBuilder
Pointer
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_NetworkBuilder
=
std
::
unique_ptr
<
NetworkBuilder
>
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_AllUniqueComponents
=
this
->
m_NetworkBuilder
->
Configure
();
}
if
(
!
this
->
m_AllUniqueComponents
)
...
...
@@ -274,7 +274,7 @@ SuperElastixFilter::OutputDataType
itkExceptionMacro
(
<<
"Setting a Blueprint is required first."
)
}
this
->
m_NetworkBuilder
=
NetworkBuilder
Pointer
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_NetworkBuilder
=
std
::
unique_ptr
<
NetworkBuilder
>
(
new
NetworkBuilder
(
this
->
m_Blueprint
->
Get
()));
this
->
m_AllUniqueComponents
=
this
->
m_NetworkBuilder
->
Configure
();
this
->
m_BlueprintConnectionModified
=
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment