41 #ifndef __MOMENTDATABASE_H__
42 #define __MOMENTDATABASE_H__
44 #include <visp3/core/vpImage.h>
125 #ifndef DOXYGEN_SHOULD_SKIP_THIS
127 bool operator()(
char const *a,
char const *b)
const{
128 return std::strcmp(a, b) < 0;
132 std::map<const char*,vpMoment*,cmp_str> moments;
133 void add(
vpMoment& moment,
const char* name);
138 const vpMoment&
get(
const char* type,
bool& found)
const;
147 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMomentDatabase& v);
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()