A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FBasicLowPassFilter< filterType > Class Template Reference

#include <VRBPDatatypes.h>

Inheritance diagram for FBasicLowPassFilter< filterType >:
[legend]

Public Member Functions

 FBasicLowPassFilter (filterType EmptyValueSet)
 
const filterType CalculateAlpha (const filterType &InCutoff, const double InDeltaTime)
 
const float CalculateAlphaTau (const float InCutoff, const double InDeltaTime)
 
const filterType CalculateCutoff (const filterType &InValue, float &MinCutoff, float &CutoffSlope)
 
filterType Filter (const filterType &InValue, const filterType &InAlpha)
 

Public Attributes

bool bFirstTime
 
filterType EmptyValue
 
filterType Previous
 
filterType PreviousRaw
 

Detailed Description

template<class filterType>
class FBasicLowPassFilter< filterType >

Definition at line 207 of file VRBPDatatypes.h.

Constructor & Destructor Documentation

◆ FBasicLowPassFilter()

template<class filterType >
FBasicLowPassFilter< filterType >::FBasicLowPassFilter ( filterType EmptyValueSet)
inline

Default constructor

Definition at line 212 of file VRBPDatatypes.h.

Member Function Documentation

◆ CalculateAlpha()

template<class filterType >
const filterType FBasicLowPassFilter< filterType >::CalculateAlpha ( const filterType & InCutoff,
const double InDeltaTime )
inline

Definition at line 264 of file VRBPDatatypes.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateAlphaTau()

template<class filterType >
const float FBasicLowPassFilter< filterType >::CalculateAlphaTau ( const float InCutoff,
const double InDeltaTime )
inline

Definition at line 275 of file VRBPDatatypes.h.

Here is the caller graph for this function:

◆ CalculateCutoff()

template<class filterType >
const filterType FBasicLowPassFilter< filterType >::CalculateCutoff ( const filterType & InValue,
float & MinCutoff,
float & CutoffSlope )
inline

Definition at line 253 of file VRBPDatatypes.h.

Here is the caller graph for this function:

◆ Filter()

template<class filterType >
filterType FBasicLowPassFilter< filterType >::Filter ( const filterType & InValue,
const filterType & InAlpha )
inline

Calculate

Definition at line 221 of file VRBPDatatypes.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bFirstTime

template<class filterType >
bool FBasicLowPassFilter< filterType >::bFirstTime

If this is the first time doing a filter

Definition at line 249 of file VRBPDatatypes.h.

◆ EmptyValue

template<class filterType >
filterType FBasicLowPassFilter< filterType >::EmptyValue

Definition at line 240 of file VRBPDatatypes.h.

◆ Previous

template<class filterType >
filterType FBasicLowPassFilter< filterType >::Previous

The previous filtered value

Definition at line 243 of file VRBPDatatypes.h.

◆ PreviousRaw

template<class filterType >
filterType FBasicLowPassFilter< filterType >::PreviousRaw

The previous raw value

Definition at line 246 of file VRBPDatatypes.h.


The documentation for this class was generated from the following file: