![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CT/Geometry/SnapshotGenerator.h>
Geometry generator for capturing current geometric state. More...
Inheritance diagram for SnapshotGenerator:Geometry generator for capturing current geometric state.
Provides snapshot functionality for preserving geometry configurations.
Public Member Functions | |
| SnapshotGenerator (const SharedImageSet &sis) | |
| std::unique_ptr< GeometryGenerator > | clone () const override |
| Factory method to create a clone of the generator. | |
| std::string | id () const override |
| Provides a unique identifier for the generator. | |
| void | configure (const Properties *p) override |
| Configure this object instance by de-serializing the given Properties. | |
| 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. | |
Public Member Functions inherited from GeometryGenerator | |
| GeometryGenerator (const SharedImageSet &sis) | |
| 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. | |
| 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 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 | |
| std::vector< SubProperty< FullGeometryRepresentationWrapper > > | p_storedGeometries |
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< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Factory method to create a clone of the generator.
Implements GeometryGenerator.
|
inlineoverridevirtual |
Provides a unique identifier for the generator.
Implements GeometryGenerator.
|
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.
Reimplemented from Configurable.
|
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 GeometryGenerator.
| std::vector< GeometryUtils::FullGeometryRepresentation > 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 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. |