ImFusion SDK 4.3
AutomaticRegistration Class Reference

#include <AnatomyPlugin/include/ImFusion/AnatomyPlugin/AnatomicalStructureRegistration.h>

Try various types of registration and run the "best" one. More...

+ Inheritance diagram for AutomaticRegistration:

Detailed Description

Try various types of registration and run the "best" one.

Public Member Functions

 AutomaticRegistration (const ASCRegistration *reg=nullptr)
 Uses the configuration from reg (in particular p_registrationType) to select an appropriate registration.
 
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.
 
std::optional< AnatomicalStructureDeformationcomputeRegistration (const AnatomicalStructure &fixed, AnatomicalStructure &moving, bool rigid=false, const AnatomicalStructureDeformation *init=nullptr) const override
 
virtual RegistrationType registrationType () const override
 The maximum type of registration supported by this class. Should return either LocalScaledE3 or Deformable.
 
void setReg (const ASCRegistration *reg)
 
void setFallbackRegistrationType (RegistrationType type)
 
- 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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Protected Member Functions

AnatomicalStructureRegistrationselectRegistrationMethod (const AnatomicalStructure &fixed, AnatomicalStructure &moving, const AnatomicalStructureDeformation *init) const
 
- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 

Additional Inherited Members

- Public Types inherited from AnatomicalStructureRegistration
enum class  RegistrationType { GlobalScaledE3 = 1 << 0 , LocalScaledE3 = 1 << 1 , Deformable = 1 << 2 }
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ canRegister()

bool canRegister ( const AnatomicalStructure & fixed,
AnatomicalStructure & moving,
bool rigid = false,
const AnatomicalStructureDeformation * init = nullptr ) const
overridevirtual

Returns true if the registration can be performed, i.e. the required data is available.

Implements AnatomicalStructureRegistration.

◆ computeRegistration()

std::optional< AnatomicalStructureDeformation > computeRegistration ( const AnatomicalStructure & fixed,
AnatomicalStructure & moving,
bool rigid = false,
const AnatomicalStructureDeformation * init = nullptr ) const
overridevirtual

◆ registrationType()

virtual RegistrationType registrationType ( ) const
overridevirtual

The maximum type of registration supported by this class. Should return either LocalScaledE3 or Deformable.

Implements AnatomicalStructureRegistration.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close