45 #ifndef __MOMENTDATABASE_H__
46 #define __MOMENTDATABASE_H__
48 #include <visp/vpImage.h>
129 #ifndef DOXYGEN_SHOULD_SKIP_THIS
131 bool operator()(
char const *a,
char const *b)
const{
132 return std::strcmp(a, b) < 0;
136 std::map<const char*,vpMoment*,cmp_str> moments;
137 void add(
vpMoment& moment,
const char* name);
141 vpMoment&
get(
const char* type,
bool& found);
150 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()