ImFusion SDK 4.3
RelativeTransformationConfig Struct Reference

#include <ImFusion/CT/Geometry/RelativeTransformationSetupWrapper.h>

Configuration structure for relative transformation setup. More...

+ Inheritance diagram for RelativeTransformationConfig:

Detailed Description

Configuration structure for relative transformation setup.

Defines transformation parameters and reference coordinate systems.

Public Types

enum class  TransformationReference { World , Detector }
 

Public Member Functions

void configure (const ImFusion::Properties *p) override
 Configure this object instance by de-serializing the given Properties.
 
void configuration (ImFusion::Properties *p) const override
 Serialize the current object configuration into the given Properties object.
 
- Public Member Functions inherited from Configurable
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< bool > p_keepSourceFixedRelativeToDetector
 Keep the source fixed relatively to the detector. If set to false the world position of the source stays fixed.
 
Parameter< TransformationReferencep_reference
 Reference coordinate system for the transformation.
 
- 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< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Enumeration Documentation

◆ TransformationReference

enum class TransformationReference
strong
Enumerator
World 

The transformation is relative to the world coordinate system.

Detector 

The transformation is relative to the detector coordinate system.

Member Function Documentation

◆ configure()

void configure ( const ImFusion::Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from Configurable.

Reimplemented in RelativeTransformationSetupWrapperBase.

◆ configuration()

void configuration ( ImFusion::Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from Configurable.

Reimplemented in RelativeTransformationSetupWrapperBase.

Member Data Documentation

◆ p_keepSourceFixedRelativeToDetector

Parameter<bool> p_keepSourceFixedRelativeToDetector
Initial value:
= {
"keepSourceFixedRelativeToDetector",
true,
this}

Keep the source fixed relatively to the detector. If set to false the world position of the source stays fixed.

◆ p_reference

Initial value:
= {"reference",
this}
@ World
The transformation is relative to the world coordinate system.
Definition RelativeTransformationSetupWrapper.h:23

Reference coordinate system for the transformation.


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