Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkAlgorithmHelper.h>
Classes | |
struct | CheckError |
Public Member Functions | |
MITKAlgorithmHelper (map::algorithm::RegistrationAlgorithmBase *algorithm) | |
void | SetData (const mitk::BaseData *moving, const mitk::BaseData *target) |
void | SetAllowImageCasting (bool allowCasting) |
bool | GetAllowImageCasting () const |
bool | CheckData (const mitk::BaseData *moving, const mitk::BaseData *target, CheckError::Type &error) const |
map::core::RegistrationBase::Pointer | GetRegistration () const |
mitk::MAPRegistrationWrapper::Pointer | GetMITKRegistrationWrapper () const |
~MITKAlgorithmHelper () | |
Static Public Member Functions | |
static bool | HasImageAlgorithmInterface (const map::algorithm::RegistrationAlgorithmBase *algorithm) |
static bool | HasPointSetAlgorithmInterface (const map::algorithm::RegistrationAlgorithmBase *algorithm) |
Definition at line 37 of file mitkAlgorithmHelper.h.
mitk::MITKAlgorithmHelper::MITKAlgorithmHelper | ( | map::algorithm::RegistrationAlgorithmBase * | algorithm | ) |
Definition at line 32 of file mitkAlgorithmHelper.cpp.
|
inline |
Definition at line 70 of file mitkAlgorithmHelper.h.
References mitk::GenerateIdentityRegistration3D(), and MITKMATCHPOINTREGISTRATION_EXPORT.
bool mitk::MITKAlgorithmHelper::CheckData | ( | const mitk::BaseData * | moving, |
const mitk::BaseData * | target, | ||
CheckError::Type & | error | ||
) | const |
Definition at line 129 of file mitkAlgorithmHelper.cpp.
References AccessTwoImagesFixedDimensionByItk, mitk::GetDataAsImage(), mitk::GetDataAsPointSet(), mitk::MITKAlgorithmHelper::CheckError::none, mitk::MITKAlgorithmHelper::CheckError::onlyByCasting, mitk::MITKAlgorithmHelper::CheckError::unsupportedDataType, and mitk::MITKAlgorithmHelper::CheckError::wrongDimension.
Referenced by mitk::GetDataAsPointSet().
bool mitk::MITKAlgorithmHelper::GetAllowImageCasting | ( | ) | const |
Definition at line 209 of file mitkAlgorithmHelper.cpp.
mitk::MAPRegistrationWrapper::Pointer mitk::MITKAlgorithmHelper::GetMITKRegistrationWrapper | ( | ) | const |
Definition at line 108 of file mitkAlgorithmHelper.cpp.
References GetRegistration(), and mitk::MAPRegistrationWrapper::New().
Referenced by GetRegistration().
map::core::RegistrationBase::Pointer mitk::MITKAlgorithmHelper::GetRegistration | ( | ) | const |
Definition at line 66 of file mitkAlgorithmHelper.cpp.
References GetMITKRegistrationWrapper().
Referenced by mitk::TimeFramesRegistrationHelper::DoFrameRegistration(), GetMITKRegistrationWrapper(), HasPointSetAlgorithmInterface(), main(), and QmitkRegistrationJob::run().
|
static |
Definition at line 38 of file mitkAlgorithmHelper.cpp.
|
static |
Definition at line 55 of file mitkAlgorithmHelper.cpp.
References GetRegistration().
void mitk::MITKAlgorithmHelper::SetAllowImageCasting | ( | bool | allowCasting | ) |
Definition at line 204 of file mitkAlgorithmHelper.cpp.
Referenced by mitk::TimeFramesRegistrationHelper::DoFrameRegistration().
void mitk::MITKAlgorithmHelper::SetData | ( | const mitk::BaseData * | moving, |
const mitk::BaseData * | target | ||
) |
Definition at line 214 of file mitkAlgorithmHelper.cpp.
References AccessTwoImagesFixedDimensionByItk, mitk::PointSetMappingHelper::ConvertPointSetMITKtoMAP(), mitk::GetDataAsImage(), mitk::GetDataAsPointSet(), mitk::mapGenerateAlgorithmUIDPolicyMacro(), mitk::MITKAlgorithmHelper::CheckError::none, mitk::MITKAlgorithmHelper::CheckError::onlyByCasting, and mitk::MITKAlgorithmHelper::CheckError::unsupportedDataType.
Referenced by mitk::TimeFramesRegistrationHelper::DoFrameRegistration(), main(), and QmitkRegistrationJob::run().