Open N-Dekker opened 4 years ago
Update: only 10 places left now:
elastix\Core\ComponentBaseClasses\elxResamplerBase.hxx(200):const auto isElastixLibrary = BaseComponent::IsElastixLibrary();
elastix\Core\Configuration\elxConfiguration.cxx(110):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixBase.cxx(183):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixBase.cxx(316):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixBase.cxx(352):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixMain.cxx(273):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixMain.cxx(347):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixTemplate.hxx(389):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixTemplate.hxx(470):if (!BaseComponent::IsElastixLibrary())
elastix\Core\Kernel\elxElastixTemplate.hxx(744):if (BaseComponent::IsElastixLibrary())
Marius (@mstaring) proposed that we should reduce the behavior differences between the elastix library and the elastix executable.
The elastix source tree currently checks "if it is the elastix library" on 22 places: