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

#include <vpTemporalWeighting.h>

Inheritance diagram for vpSigmoidTemporalWeighting:

Public Member Functions

 vpSigmoidTemporalWeighting (double minWeight, double maxWeight, double location, double power)
double getLocation () const
void setLocation (double location)
double weight (const double progress) const VP_OVERRIDE
double getSlopePower () const
void setSlopePower (double power)
double getMinimumWeight () const
void setMinimumWeight (double w)
double getMaximumWeight () const
void setMaximumWeight (double w)

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 67 of file vpTemporalWeighting.h.

Constructor & Destructor Documentation

◆ vpSigmoidTemporalWeighting()

vpSigmoidTemporalWeighting::vpSigmoidTemporalWeighting ( double minWeight,
double maxWeight,
double location,
double power )
inline

Member Function Documentation

◆ getLocation()

double vpSigmoidTemporalWeighting::getLocation ( ) const
inline

Definition at line 82 of file vpTemporalWeighting.h.

◆ getMaximumWeight()

double vpSigmoidTemporalWeighting::getMaximumWeight ( ) const
inline

Definition at line 99 of file vpTemporalWeighting.h.

◆ getMinimumWeight()

double vpSigmoidTemporalWeighting::getMinimumWeight ( ) const
inline

Definition at line 96 of file vpTemporalWeighting.h.

◆ getSlopePower()

double vpSigmoidTemporalWeighting::getSlopePower ( ) const
inline

Definition at line 93 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().

◆ setLocation()

void vpSigmoidTemporalWeighting::setLocation ( double location)
inline

Definition at line 83 of file vpTemporalWeighting.h.

References vpException::badValue.

Referenced by vpSigmoidTemporalWeighting().

◆ setMaximumWeight()

void vpSigmoidTemporalWeighting::setMaximumWeight ( double w)
inline

Definition at line 100 of file vpTemporalWeighting.h.

Referenced by vpSigmoidTemporalWeighting().

◆ setMinimumWeight()

void vpSigmoidTemporalWeighting::setMinimumWeight ( double w)
inline

Definition at line 97 of file vpTemporalWeighting.h.

Referenced by vpSigmoidTemporalWeighting().

◆ setSlopePower()

void vpSigmoidTemporalWeighting::setSlopePower ( double power)
inline

Definition at line 94 of file vpTemporalWeighting.h.

Referenced by vpSigmoidTemporalWeighting().

◆ weight()

double vpSigmoidTemporalWeighting::weight ( const double progress) const
virtual

Implements vpTemporalWeighting.

Definition at line 78 of file vpTemporalWeighting.cpp.