ImFusion C++ SDK 4.4.0
ImFusion::FakeTrackingStream::ConstantDevice Struct Reference
Inheritance diagram for ImFusion::FakeTrackingStream::ConstantDevice:

Public Member Functions

 ConstantDevice (vec3 center={0.0, 0.0, 0.0})
ConstantDevice * clone () const override
double quality (double dt) const override
mat4 matrix (double dt) const override
std::string deviceTypeName () const override
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.
Public Member Functions inherited from ImFusion::FakeTrackingStream::Device
 Device (double speed)
Public Member Functions inherited from ImFusion::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

vec3 center = {0.0, 0.0, 0.0}
double constantQuality = 1.0
Public Attributes inherited from ImFusion::FakeTrackingStream::Device
Parameter< double > p_speed {"speed", 5.0, 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 Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ clone()

ConstantDevice * ImFusion::FakeTrackingStream::ConstantDevice::clone ( ) const
overridevirtual

Implements ImFusion::Clonable.

◆ quality()

double ImFusion::FakeTrackingStream::ConstantDevice::quality ( double dt) const
overridevirtual

◆ matrix()

mat4 ImFusion::FakeTrackingStream::ConstantDevice::matrix ( double dt) const
overridevirtual

◆ deviceTypeName()

std::string ImFusion::FakeTrackingStream::ConstantDevice::deviceTypeName ( ) const
overridevirtual

◆ configure()

void ImFusion::FakeTrackingStream::ConstantDevice::configure ( const Properties * p)
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.

See also
configuration() for the inverse functionality

Reimplemented from ImFusion::Configurable.

◆ configuration()

void ImFusion::FakeTrackingStream::ConstantDevice::configuration ( Properties * p) const
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.

See also
configure() for the inverse functionality

Reimplemented from ImFusion::Configurable.


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