#include <vgl_algo_fwd.h>
Public Member Functions | |
| vgl_fit_plane_3d ()=default | |
| vgl_fit_plane_3d (std::vector< vgl_homg_point_3d< T > > points) | |
| ~vgl_fit_plane_3d ()=default | |
| void | add_point (vgl_homg_point_3d< T > const &p) |
| add a point to point set. More... | |
| void | add_point (const T x, const T y, const T z) |
| void | clear () |
| clear internal data. More... | |
| bool | fit (const T error_marg, std::ostream *outstream=nullptr) |
| fits a plane to the stored points. More... | |
| T | fit (std::ostream *outstream=nullptr) |
| fits a plane returning the smallest singular value. More... | |
| std::vector< vgl_homg_point_3d< T > > & | get_points () |
| vgl_homg_plane_3d< T > & | get_plane () |
| first fit() should be called to get the plane computed. More... | |
Protected Attributes | |
| std::vector< vgl_homg_point_3d< T > > | points_ |
| vgl_homg_plane_3d< T > | plane_ |
Definition at line 6 of file vgl_algo_fwd.h.
|
default |
| vgl_fit_plane_3d< T >::vgl_fit_plane_3d | ( | std::vector< vgl_homg_point_3d< T > > | points | ) |
Definition at line 18 of file vgl_fit_plane_3d.hxx.
|
default |
| void vgl_fit_plane_3d< T >::add_point | ( | vgl_homg_point_3d< T > const & | p | ) |
add a point to point set.
Definition at line 24 of file vgl_fit_plane_3d.hxx.
| void vgl_fit_plane_3d< T >::add_point | ( | const T | x, |
| const T | y, | ||
| const T | z | ||
| ) |
Definition at line 30 of file vgl_fit_plane_3d.hxx.
| void vgl_fit_plane_3d< T >::clear | ( | ) |
clear internal data.
Definition at line 36 of file vgl_fit_plane_3d.hxx.
| bool vgl_fit_plane_3d< T >::fit | ( | const T | error_marg, |
| std::ostream * | outstream = nullptr |
||
| ) |
fits a plane to the stored points.
report issues over an ostream if declared
Definition at line 42 of file vgl_fit_plane_3d.hxx.
| T vgl_fit_plane_3d< T >::fit | ( | std::ostream * | outstream = nullptr | ) |
fits a plane returning the smallest singular value.
of the data scatter matrix decomposition, a measure.of variance in the direction of the plane normal.
Definition at line 55 of file vgl_fit_plane_3d.hxx.
|
inline |
first fit() should be called to get the plane computed.
Definition at line 69 of file vgl_fit_plane_3d.h.
|
inline |
Definition at line 66 of file vgl_fit_plane_3d.h.
|
protected |
Definition at line 32 of file vgl_fit_plane_3d.h.
|
protected |
Definition at line 31 of file vgl_fit_plane_3d.h.
1.8.15