![]() |
ImFusion SDK 4.3
|
#include <ImFusion/ML/DataComponents/PaddingDoneDataComponent.h>
Data component for keeping track of the original location of a patch in the original image. More...
Inheritance diagram for PaddingDoneDataComponent:Data component for keeping track of the original location of a patch in the original image.
This is used in the Padding and UndoPadding operations as a convenient way to serialize/deserialize the contextProperties in the InversionComponent. This is used to implement the inversion mechanism of the Padding operations. See PadDimsOperation, PadDimsToNextMultipleOperation, UndoPaddingOperation for more details.
Public Member Functions | |
| PaddingDoneDataComponent (std::vector< PaddingDoneInfo > infos) | |
| bool | operator== (const PaddingDoneDataComponent &) const |
| bool | operator!= (const PaddingDoneDataComponent &) const |
| void | add (PaddingDoneInfo info) |
| void | add (const std::vector< PaddingDoneInfo > &infos) |
| const std::vector< PaddingDoneInfo > & | paddingInfos () const |
| std::string | id () const override |
| Returns a unique string identifier for this type of data component. | |
| void | configure (const Properties *) 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. | |
Public Member Functions inherited from DataComponent< PaddingDoneDataComponent > | |
| 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 | 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 Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
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. | |
|
inlineoverridevirtual |
Returns a unique string identifier for this type of data component.
Implements DataComponentBase.
|
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 Configurable.