This provides functionalities to efficiently return values for piecewise linear function. More...
#include <piecewise_linear_function.h>
Public Member Functions | |
std::vector< float > & | getDataPoints () |
Get the list of known data points. | |
float | getValue (float point) const |
Get the value of the function at the given point. | |
PiecewiseLinearFunction (float factor, float offset) | |
Constructor. | |
Protected Attributes | |
std::vector< float > | data_points_ |
float | factor_ |
float | offset_ |
This provides functionalities to efficiently return values for piecewise linear function.
Definition at line 48 of file piecewise_linear_function.h.
pcl::PiecewiseLinearFunction::PiecewiseLinearFunction | ( | float | factor, | |
float | offset | |||
) |
Constructor.
Definition at line 41 of file piecewise_linear_function.hpp.
std::vector<float>& pcl::PiecewiseLinearFunction::getDataPoints | ( | ) | [inline] |
Get the list of known data points.
Definition at line 57 of file piecewise_linear_function.h.
float pcl::PiecewiseLinearFunction::getValue | ( | float | point | ) | const [inline] |
Get the value of the function at the given point.
Definition at line 45 of file piecewise_linear_function.hpp.
std::vector<float> pcl::PiecewiseLinearFunction::data_points_ [protected] |
Definition at line 66 of file piecewise_linear_function.h.
float pcl::PiecewiseLinearFunction::factor_ [protected] |
Definition at line 67 of file piecewise_linear_function.h.
float pcl::PiecewiseLinearFunction::offset_ [protected] |
Definition at line 68 of file piecewise_linear_function.h.