This provides functionalities to efficiently return values for piecewise linear function. More...
#include <pcl/common/piecewise_linear_function.h>
Public Member Functions | |
| PiecewiseLinearFunction (float factor, float offset) | |
| Constructor. More... |
|
| std::vector< float > & | getDataPoints () |
| Get the list of known data points. More... |
|
| float | getValue (float point) const |
| Get the value of the function at the given point. More... |
|
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 49 of file piecewise_linear_function.hpp.
| inline |
Get the list of known data points.
Definition at line 58 of file piecewise_linear_function.h.
References data_points_.
| inline |
Get the value of the function at the given point.
Definition at line 53 of file piecewise_linear_function.hpp.
References data_points_, factor_, and offset_.
| protected |
Definition at line 71 of file piecewise_linear_function.h.
Referenced by getDataPoints(), and getValue().
| protected |
Definition at line 72 of file piecewise_linear_function.h.
Referenced by getValue().
| protected |
Definition at line 73 of file piecewise_linear_function.h.
Referenced by getValue().
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_piecewise_linear_function.html