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