Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpFixedTemporalWeighting Class Reference

#include <vpTemporalWeighting.h>

Inheritance diagram for vpFixedTemporalWeighting:

Public Member Functions

 vpFixedTemporalWeighting (double weight)
double weight (const double) const VP_OVERRIDE
double getWeight () const
void setWeight (double weight)

Static Public Member Functions

static std::shared_ptr< vpTemporalWeightingparseTemporalWeighting (const nlohmann::json &j)
static std::shared_ptr< vpTemporalWeightingparseTemporalWeightingRawJson (const std::string &j)

Detailed Description

Definition at line 54 of file vpTemporalWeighting.h.

Constructor & Destructor Documentation

◆ vpFixedTemporalWeighting()

vpFixedTemporalWeighting::vpFixedTemporalWeighting ( double weight)
inline

Definition at line 57 of file vpTemporalWeighting.h.

References weight().

Member Function Documentation

◆ getWeight()

double vpFixedTemporalWeighting::getWeight ( ) const
inline

Definition at line 61 of file vpTemporalWeighting.h.

◆ parseTemporalWeighting()

BEGIN_VISP_NAMESPACE std::shared_ptr< vpTemporalWeighting > vpTemporalWeighting::parseTemporalWeighting ( const nlohmann::json & j)
staticinherited

◆ parseTemporalWeightingRawJson()

std::shared_ptr< vpTemporalWeighting > vpTemporalWeighting::parseTemporalWeightingRawJson ( const std::string & j)
staticinherited

Definition at line 65 of file vpTemporalWeighting.cpp.

References parseTemporalWeighting().

Referenced by ~vpTemporalWeighting().

◆ setWeight()

void vpFixedTemporalWeighting::setWeight ( double weight)
inline

Definition at line 62 of file vpTemporalWeighting.h.

References weight().

◆ weight()

double vpFixedTemporalWeighting::weight ( const double ) const
virtual

Implements vpTemporalWeighting.

Definition at line 73 of file vpTemporalWeighting.cpp.

Referenced by setWeight(), and vpFixedTemporalWeighting().