ImFusion C++ SDK 4.4.0
ImFusion::StereoCalibrationDataComponent Class Reference

#include <ImFusion/Vision/StereoCalibrationDataComponent.h>

A data component storing the registration matrix between the left and right camera of a stereo camera pair. More...

Inheritance diagram for ImFusion::StereoCalibrationDataComponent:

Detailed Description

A data component storing the registration matrix between the left and right camera of a stereo camera pair.

Public Member Functions

 StereoCalibrationDataComponent (const mat4 &registration)
bool operator== (const StereoCalibrationDataComponent &other) const
bool save (const Filesystem::Path &file) const
bool load (const Filesystem::Path &file)
std::string id () const override
 Returns a unique string identifier for this type of data component.
Public Member Functions inherited from ImFusion::DataComponent< StereoCalibrationDataComponent >
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 ImFusion::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

Public Attributes

Parameter< mat4 > p_leftToRightRegistration = {"leftToRightRegistration", mat4::Zero(), this}
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 Member Functions inherited from ImFusion::DataComponentBase
 DataComponentBase (const DataComponentBase &)=default
DataComponentBase & operator= (const DataComponentBase &other)=default
Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ id()

std::string ImFusion::StereoCalibrationDataComponent::id ( ) const
inlineoverridevirtual

Returns a unique string identifier for this type of data component.

Note
To avoid conflicts make sure to include potential plugin names into this ID. Due to the modular architecture of the ImFusion library, uniqueness of IDs cannot be checked at compile time. However, DataComponentFactory will check the uniqueness of the ID during registration.

Implements ImFusion::DataComponentBase.


The documentation for this class was generated from the following file:
  • ImFusion/Vision/StereoCalibrationDataComponent.h
Search Tab / S to search, Esc to close