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
77786d9d
Commit
77786d9d
authored
Feb 02, 2017
by
Floris Berendsen
Browse files
ENH: added some constness
parent
6c597022
Changes
3
Hide whitespace changes
Inline
Side-by-side
Modules/Core/ComponentInterface/include/selxNetworkBuilder.h
View file @
77786d9d
...
...
@@ -62,7 +62,7 @@ public:
NetworkBuilder
();
virtual
~
NetworkBuilder
()
{};
virtual
bool
AddBlueprint
(
std
::
shared_ptr
<
Blueprint
>
blueprint
);
virtual
bool
AddBlueprint
(
const
std
::
shared_ptr
<
Blueprint
>
&
blueprint
);
/** Read configuration at the blueprints nodes and edges and return true if all components could be uniquely selected*/
virtual
bool
Configure
();
...
...
Modules/Core/ComponentInterface/include/selxNetworkBuilder.hxx
View file @
77786d9d
...
...
@@ -31,9 +31,9 @@ NetworkBuilder<ComponentList>::NetworkBuilder() : m_isConfigured(false)
template
<
typename
ComponentList
>
bool
NetworkBuilder
<
ComponentList
>::
AddBlueprint
(
std
::
shared_ptr
<
Blueprint
>
blueprint
)
NetworkBuilder
<
ComponentList
>::
AddBlueprint
(
const
std
::
shared_ptr
<
Blueprint
>
&
blueprint
)
{
m_Blueprint
=
blueprint
;
m_Blueprint
=
std
::
make_shared
<
Blueprint
>
(
*
blueprint
)
;
return
true
;
}
...
...
Modules/Core/ComponentInterface/include/selxNetworkBuilderBase.h
View file @
77786d9d
...
...
@@ -64,7 +64,7 @@ public:
virtual
~
NetworkBuilderBase
()
{};
virtual
bool
AddBlueprint
(
std
::
shared_ptr
<
Blueprint
>
blueprint
)
=
0
;
virtual
bool
AddBlueprint
(
const
std
::
shared_ptr
<
Blueprint
>
&
blueprint
)
=
0
;
/** Read configuration at the blueprints nodes and edges and return true if all components could be uniquely selected*/
virtual
bool
Configure
()
=
0
;
...
...
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