![]() |
ImFusion SDK 4.3
|
#include <AnatomyPlugin/include/ImFusion/AnatomyPlugin/AnatomicalStructureRegistration.h>
Register two AnatomicalStructure instances by matching keypoints. More...
Inheritance diagram for PointsAndPlanes:Register two AnatomicalStructure instances by matching keypoints.
If there are planes with matching key-ids, the keypoints are only used to compute the translational part, and the planes are used to compute scaling/rotation.
Public Types | |
| enum class | Mode { OnlyTranslation , RotationWithoutPlanes , RotationWithPlanes } |
Public Types inherited from AnatomicalStructureRegistration | |
| enum class | RegistrationType { GlobalScaledE3 = 1 << 0 , LocalScaledE3 = 1 << 1 , Deformable = 1 << 2 } |
Public Member Functions | |
| PointsAndPlanes (Mode mode=Mode::RotationWithPlanes) | |
| std::optional< AnatomicalStructureDeformation > | computeRegistration (const AnatomicalStructure &fixed, AnatomicalStructure &moving, bool rigid=false, const AnatomicalStructureDeformation *init=nullptr) const override |
| bool | canRegister (const AnatomicalStructure &fixed, AnatomicalStructure &moving, bool rigid=false, const AnatomicalStructureDeformation *init=nullptr) const override |
| Returns true if the registration can be performed, i.e. the required data is available. | |
| RegistrationType | registrationType () const override |
| The maximum type of registration supported by this class. Should return either LocalScaledE3 or Deformable. | |
Public Member Functions inherited from Configurable | |
| virtual void | configure (const Properties *p) |
| Configure this object instance by de-serializing the given Properties. | |
| virtual void | configuration (Properties *p) const |
| Serialize the current object configuration into the given Properties object. | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Public Attributes | |
| Parameter< Mode > | p_mode = {"mode", Mode::RotationWithPlanes, this} |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Implements AnatomicalStructureRegistration.
|
overridevirtual |
Returns true if the registration can be performed, i.e. the required data is available.
Implements AnatomicalStructureRegistration.
|
inlineoverridevirtual |
The maximum type of registration supported by this class. Should return either LocalScaledE3 or Deformable.
Implements AnatomicalStructureRegistration.