ImFusion C++ SDK 4.4.0
ImFusion::CT::RelativeTransformationConfig Struct Reference

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

Configuration structure for relative transformation setup. More...

Inheritance diagram for ImFusion::CT::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 ImFusion::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
Configurable & operator= (const Configurable &)
Configurable & operator= (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 ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.

Additional Inherited Members

Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Enumeration Documentation

◆ TransformationReference

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 ImFusion::CT::RelativeTransformationConfig::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 ImFusion::Configurable.

Reimplemented in ImFusion::CT::detail::RelativeTransformationSetupWrapperBase.

◆ configuration()

void ImFusion::CT::RelativeTransformationConfig::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 ImFusion::Configurable.

Reimplemented in ImFusion::CT::detail::RelativeTransformationSetupWrapperBase.

Member Data Documentation

◆ p_keepSourceFixedRelativeToDetector

Parameter<bool> ImFusion::CT::RelativeTransformationConfig::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

Parameter<TransformationReference> ImFusion::CT::RelativeTransformationConfig::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:
  • ImFusion/CT/Geometry/RelativeTransformationSetupWrapper.h
Search Tab / S to search, Esc to close