CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::JitterFilter Class Reference

#include <cxCameraStyleForView.h>

Public Member Functions

 JitterFilter ()
 
double newValue (double value)
 

Detailed Description

Reduce jitter during zooming.

Input a suggested zoom value, output the smoothed value.

  • Maintain a interval where the value can move inside without changing the smoothed value.
  • If the value moves outside interval, the interval will move along, and the smoothed value will be set to the input value.

Definition at line 51 of file cxCameraStyleForView.h.

Constructor & Destructor Documentation

cx::JitterFilter::JitterFilter ( )

-----------------------------------------------------—


Definition at line 466 of file cxCameraStyleForView.cpp.

Member Function Documentation

double cx::JitterFilter::newValue ( double  value)

Definition at line 472 of file cxCameraStyleForView.cpp.


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