Public Types |
typedef Eigen::Matrix< float,
2 *Degree+1, 2 *Degree+1 > | MatrixU1D |
typedef Eigen::Matrix< float,
2 *Degree+1, 1 > | VectorU1D |
Public Member Functions |
bool | check_tangent (const Param< Degree > ¶, const float thr) const |
void | get () |
float | get_max_gradient (const Param< Degree > ¶) const |
Eigen::Vector3f | getLinear () const |
| get 3 parameters for linear model
|
void | getLinear2 () |
| convert model to linear parameter setting
|
Eigen::Vector3f | getNormal (const float x, const float y) const |
| normalized normal at point (x,y)
|
Eigen::Vector3f | getNormal_ (const float x, const float y) const |
| not normalized normal at point (x,y)
|
float | intersect (const float mx, const float my) const |
| ray cast surface with ray $z = (mx my 1)$ --> null points of polynomial equation (=roots)
|
bool | isLinearAndTo () |
| Model () |
| Model (const Param< Degree > &pa) |
float | model (const float x, const float y) const |
void | operator+= (const Model &m) |
| add model without update (call therefore get)
|
void | operator+= (const Param< Degree > &m) |
| add node without update (call therefore get)
|
VectorU1D | transformation_1D (const Eigen::Vector2f &dir, const Eigen::Vector2f &off, const Eigen::Vector3f &at) |
| transform parameters from 2D input f(x,y) to 1D input f(t) (from origin 0/0)
|
float | x () const |
| gets averaged x of current model (center point)
|
float | y () const |
| gets averaged y of current model (center point)
|
float | z () const |
| gets averaged z of current model (center point)
|
Public Attributes |
Param< Degree >::VectorU | p |
Param< Degree > | param |
template<int Degree>
struct Model< Degree >
Model contains data for regression calculations and parameters
Definition at line 117 of file model.h.