Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Typedefs | |
typedef ::map::core::RegistrationBase | RegistrationType |
typedef ::mitk::MAPRegistrationWrapper | MITKRegistrationType |
Functions | |
MITKMATCHPOINTREGISTRATION_EXPORT::map::core::continuous::Elements< 3 >::InternalPointSetType::Pointer | ConvertPointSetMITKtoMAP (const mitk::PointSet::DataType *mitkSet) |
MITKMATCHPOINTREGISTRATION_EXPORT::mitk::PointSet::Pointer | map (const ::mitk::PointSet *input, const RegistrationType *registration, int timeStep=-1, bool throwOnMappingError=true, const ::mitk::PointSet::PointDataType &errorPointValue=::mitk::PointSet::PointDataType()) |
MITKMATCHPOINTREGISTRATION_EXPORT::mitk::PointSet::Pointer | map (const ::mitk::PointSet *input, const MITKRegistrationType *registration, int timeStep=-1, bool throwOnMappingError=true, const ::mitk::PointSet::PointDataType &errorPointValue=::mitk::PointSet::PointDataType()) |
Definition at line 34 of file mitkPointSetMappingHelper.h.
typedef ::map::core::RegistrationBase mitk::PointSetMappingHelper::RegistrationType |
Definition at line 33 of file mitkPointSetMappingHelper.h.
map::core::continuous::Elements< 3 >::InternalPointSetType::Pointer mitk::PointSetMappingHelper::ConvertPointSetMITKtoMAP | ( | const mitk::PointSet::DataType * | mitkSet | ) |
Helper that converts the data of an mitk point set into the default point set type of matchpoint.
Definition at line 25 of file mitkPointSetMappingHelper.cpp.
References mitk::PointSet::PointDataType::id, and mitk::New().
Referenced by map(), and mitk::MITKAlgorithmHelper::SetData().
mitk::PointSet::Pointer mitk::PointSetMappingHelper::map | ( | const ::mitk::PointSet * | input, |
const RegistrationType * | registration, | ||
int | timeStep = -1 , |
||
bool | throwOnMappingError = true , |
||
const ::mitk::PointSet::PointDataType & | errorPointValue = ::mitk::PointSet::PointDataType() |
||
) |
Helper that maps a given input point set
input | Point set that should be mapped. |
registration | Pointer to the registration instance that should be used for mapping |
timeStep | Indicates which time step of the point set should be mapped (the rest will just be copied). -1 (default) indicates that all time steps should be mapped. |
throwOnMappingError | Indicates if mapping should fail with an exception (true), if the registration does not cover/support the whole requested region for mapping into the result image. if set to false, points that cause an mapping error will be transfered without mapping but get the passed errorPointValue as data to indicate unmappable points; |
errorPointValue | Indicates the point data that should be used if an mapping error occurs (and throwOnMappingError is false). |
Definition at line 52 of file mitkPointSetMappingHelper.cpp.
References ConvertPointSetMITKtoMAP(), mitkThrow, and mitk::New().
Referenced by QmitkMappingJob::run().
mitk::PointSet::Pointer mitk::PointSetMappingHelper::map | ( | const ::mitk::PointSet * | input, |
const MITKRegistrationType * | registration, | ||
int | timeStep = -1 , |
||
bool | throwOnMappingError = true , |
||
const ::mitk::PointSet::PointDataType & | errorPointValue = ::mitk::PointSet::PointDataType() |
||
) |
Helper that maps a given input point set This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 130 of file mitkPointSetMappingHelper.cpp.
References mitk::MAPRegistrationWrapper::GetRegistration(), mitk::ImageMappingHelper::map(), and mitkThrow.