![]() |
Visual Servoing Platform
version 3.3.0
|
#include <vpMomentGravityCenterNormalized.h>
Inheritance diagram for vpMomentGravityCenterNormalized:Public Member Functions | |
| vpMomentGravityCenterNormalized () | |
| virtual | ~vpMomentGravityCenterNormalized () |
| void | compute () |
| const char * | name () const |
| void | printDependencies (std::ostream &os) const |
Inherited functionalities from vpMomentGravityCenter | |
| const std::vector< double > & | get () const |
| double | getXg () const |
| double | getYg () const |
Inherited functionalities from vpMoment | |
| const vpMomentObject & | getObject () const |
| void | linkTo (vpMomentDatabase &moments) |
| void | update (vpMomentObject &object) |
Protected Member Functions | |
| vpMomentDatabase & | getMoments () const |
Protected Attributes | |
| std::vector< double > | values |
Friends | |
| VISP_EXPORT std::ostream & | operator<< (std::ostream &os, const vpMomentGravityCenterNormalized &v) |
Class describing 2D normalized gravity center moment.
Centered and normalized gravity center moment is defined as follows:
where
and
.
vpMomentGravityCenterNormalized depends on vpMomentAreaNormalized to get access to
and on vpMomentGravityCenter to get access to
.
Definition at line 64 of file vpMomentGravityCenterNormalized.h.
| vpMomentGravityCenterNormalized::vpMomentGravityCenterNormalized | ( | ) |
Default constructor.
Definition at line 73 of file vpMomentGravityCenterNormalized.cpp.
|
inlinevirtual |
Definition at line 68 of file vpMomentGravityCenterNormalized.h.
|
virtual |
Computes normalized gravity center moment. Depends on vpMomentAreaNormalized and on vpMomentGravityCenter.
Reimplemented from vpMomentGravityCenter.
Definition at line 48 of file vpMomentGravityCenterNormalized.cpp.
|
inherited |
Returns a vector of the two gravity center coordinates.
. Definition at line 59 of file vpMomentGravityCenter.cpp.
|
inlineprotectedinherited |
Returns the linked moment database.
Definition at line 122 of file vpMoment.h.
|
inlineinherited |
Definition at line 149 of file vpMoment.h.
|
inlineinherited |
Shortcut function to retrieve
.
Definition at line 126 of file vpMomentGravityCenter.h.
|
inlineinherited |
Shortcut function to retrieve
.
Definition at line 131 of file vpMomentGravityCenter.h.
|
inherited |
Links the moment to a database of moment primitives. If the moment depends on other moments, these moments must be linked to the same database.
| data_base | : database of moment primitives. |
Definition at line 97 of file vpMoment.cpp.
|
inlinevirtual |
Moment name.
Reimplemented from vpMomentGravityCenter.
Definition at line 71 of file vpMomentGravityCenterNormalized.h.
|
virtual |
Prints the dependent moments,
Reimplemented from vpMomentGravityCenter.
Definition at line 90 of file vpMomentGravityCenterNormalized.cpp.
|
inherited |
Updates the moment with the current object. This does not compute any values.
| moment_object | : object descriptor of the current camera vision. |
Definition at line 114 of file vpMoment.cpp.
|
friend |
Outputs the moment's values to a stream.
Definition at line 78 of file vpMomentGravityCenterNormalized.cpp.
|
protectedinherited |
Definition at line 117 of file vpMoment.h.