37 #ifndef _vpMomentDatabase_h_
38 #define _vpMomentDatabase_h_
40 #include <visp3/core/vpImage.h>
129 #ifndef DOXYGEN_SHOULD_SKIP_THIS
131 bool operator()(
char const *a,
char const *b)
const {
return std::strcmp(a, b) < 0; }
134 std::map<const char *, vpMoment *, vpCmpStr_t> moments;
135 void add(
vpMoment &moment,
const char *name);
143 const vpMoment &get(
const char *type,
bool &found)
const;
This class allows to register all vpMoments so they can access each other according to their dependen...
virtual ~vpMomentDatabase()
Class for generic objects.
This class defines shared methods/attributes for 2D moments.
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpMoment &m)