ImFusion SDK 4.3
DeformableMesh Class Reference

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

Register two AnatomicalStructure instances by computing a deformable mesh registration over meshes contained in the Anatomical structure. More...

+ Inheritance diagram for DeformableMesh:

Detailed Description

Register two AnatomicalStructure instances by computing a deformable mesh registration over meshes contained in the Anatomical structure.

Public Member Functions

std::optional< AnatomicalStructureDeformationcomputeRegistration (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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Public Attributes

Parameter< double > p_spacingMultiplier = {"spacingMultiplier", 1.0, this}
 A parameter allowing to increase the spacing used for the registration to reduce the runtime with a potential trade-off in accuracy.
 
Parameter< size_t > p_memoryLimitMB = {"memoryLimitMB", 300, this}
 A parameter to limit the memory used by the registration.
 
Parameter< std::optional< double > > p_distCutoff = {"distCutoff", std::nullopt, this}
 A parameter to set the distance cutoff for the distance field, if not set, it is determined based on the spacing and spacing multiplier.
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Public Types inherited from AnatomicalStructureRegistration
enum class  RegistrationType { GlobalScaledE3 = 1 << 0 , LocalScaledE3 = 1 << 1 , Deformable = 1 << 2 }
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ computeRegistration()

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

◆ 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.

◆ registrationType()

RegistrationType registrationType ( ) const
inlineoverridevirtual

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