![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CT/Geometry/GeometryDataComponents.h>
Data component for cone-beam X-ray source parameters. More...
Inheritance diagram for SourceDataComponent:Data component for cone-beam X-ray source parameters.
Stores source position and properties for individual geometry frames.
Public Member Functions | |
| SourceDataComponent (const SourceDataComponent &)=default | |
| SourceDataComponent & | operator= (const SourceDataComponent &)=default |
| SourceDataComponent (SourceDataComponent &&)=default | |
| SourceDataComponent & | operator= (SourceDataComponent &&)=default |
| bool | operator== (const SourceDataComponent &other) const |
| std::string | id () const override |
| Returns a unique string identifier for this type of data component. | |
Public Member Functions inherited from DataComponent< SourceDataComponent > | |
| std::unique_ptr< DataComponentBase > | clone () const override |
| Creates a clone of this data component. | |
| std::unique_ptr< Subclass > | cloneDerived () const |
| bool | assign (const DataComponentBase &other) override |
| Assigns the content of other to this data component. | |
| bool | equals (const DataComponentBase &other) const override |
| Compares this data component to other for equality. | |
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 | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Static Public Member Functions | |
| static SourceDataComponent & | getOrCreate (SharedImageSet &sis, int frame) |
| Get or create the SourceDataComponent for a given frame in a SharedImageSet. | |
| static const SourceDataComponent * | get (const SharedImageSet &sis, int frame) |
| Get the SourceDataComponent for a given frame in a SharedImageSet. | |
| static SourceDataComponent * | get (SharedImageSet &sis, int frame) |
| Get the SourceDataComponent for a given frame in a SharedImageSet. | |
Public Attributes | |
| Parameter< vec3 > | p_locationSourceInDetectorSpace = {"locationSourceInDetectorSpace", vec3::Zero(), this} |
| The position of the source in the detector space (!), i.e. | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
Protected Member Functions inherited from DataComponentBase | |
| DataComponentBase (const DataComponentBase &)=default | |
| DataComponentBase & | operator= (const DataComponentBase &other)=default |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
static |
Get the SourceDataComponent for a given frame in a SharedImageSet.
|
overridevirtual |
Returns a unique string identifier for this type of data component.
Implements DataComponentBase.
| Parameter<vec3> p_locationSourceInDetectorSpace = {"locationSourceInDetectorSpace", vec3::Zero(), this} |
The position of the source in the detector space (!), i.e.
relative to the transformation given by the DetectorDataComponent. I.e. the source moves together with the detector (matrix in DetectorDataComponent) BUT NOT the image, i.e. the matrix of the individual images.