![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/CT/Geometry/GeometryGenerator.h>
Base class for X-ray geometry generators. More...
Base class for X-ray geometry generators.
Generators compute and apply geometric parameters to cone-beam projection data.
Generators have two main tasks:
Full geometry includes source/detector positions and world-to-detector transforms.
Public Member Functions | |
| GeometryGenerator (const SharedImageSet &sis) | |
| void | configuration (Properties *p) const override |
| Serialize the current object configuration into the given Properties object. | |
| std::vector< GeometryUtils::FullGeometryRepresentation > | computeFullGeometryRepresentation (const SharedImageSet &sis) const |
| Compute the full geometry representation for all frames in the SharedImageSet. | |
| GeometryUtils::FullGeometryRepresentation | computeFullGeometryRepresentation (const SharedImageSet &sis, int frame) const |
| Compute the full geometry representation for a single frame in the SharedImageSet. | |
| virtual std::unique_ptr< GeometryGenerator > | clone () const =0 |
| Factory method to create a clone of the generator. | |
| virtual std::string | id () const =0 |
| Provides a unique identifier for the generator. | |
| std::unique_ptr< ParameterWrapperBase > | createParameterWrapper (SharedImageSet &sis) const |
| Generates a ParameterWrapperBase for the generator. | |
| bool | operator== (const GeometryGenerator &other) |
| Compares members for equality. | |
| Public Member Functions inherited from ImFusion::Configurable | |
| virtual void | configure (const Properties *p) |
| Configure this object instance by de-serializing the given Properties. | |
| 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 |
Additional Inherited Members | |
| Public Attributes inherited from ImFusion::Configurable | |
| Signal | signalParametersChanged |
| Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
| Protected Attributes inherited from ImFusion::Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
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.
Reimplemented from ImFusion::Configurable.
Reimplemented in ImFusion::CT::detail::PerFrameTransformationGeneratorBase, ImFusion::CT::MotionModelGenerator, and ImFusion::CT::SnapshotGenerator.
| std::vector< GeometryUtils::FullGeometryRepresentation > ImFusion::CT::GeometryGenerator::computeFullGeometryRepresentation | ( | const SharedImageSet & | sis | ) | const |
Compute the full geometry representation for all frames in the SharedImageSet.
| sis | The SharedImageSet to compute the geometry for. |
| GeometryUtils::FullGeometryRepresentation ImFusion::CT::GeometryGenerator::computeFullGeometryRepresentation | ( | const SharedImageSet & | sis, |
| int | frame ) const |
Compute the full geometry representation for a single frame in the SharedImageSet.
| sis | The SharedImageSet to compute the geometry for. |
| frame | The frame to compute the geometry for. |
|
pure virtual |
Factory method to create a clone of the generator.
Implemented in ImFusion::CT::MotionModelGenerator, ImFusion::CT::ParametricGeometryGenerator, ImFusion::CT::RelativeGlobalTransformationGenerator, ImFusion::CT::RelativePerFrameTransformationGenerator, and ImFusion::CT::SnapshotGenerator.
|
pure virtual |
Provides a unique identifier for the generator.
Implemented in ImFusion::CT::MotionModelGenerator, ImFusion::CT::ParametricGeometryGenerator, ImFusion::CT::RelativeGlobalTransformationGenerator, ImFusion::CT::RelativePerFrameTransformationGenerator, and ImFusion::CT::SnapshotGenerator.
| std::unique_ptr< ParameterWrapperBase > ImFusion::CT::GeometryGenerator::createParameterWrapper | ( | SharedImageSet & | sis | ) | const |
Generates a ParameterWrapperBase for the generator.