38 #ifndef _vpMomentDatabase_h_
39 #define _vpMomentDatabase_h_
41 #include <visp3/core/vpImage.h>
135 #ifndef DOXYGEN_SHOULD_SKIP_THIS
138 bool operator()(
const std::string &a,
const std::string &b)
const {
return std::strcmp(a.c_str(), b.c_str()) < 0; }
141 std::map<const std::string, vpMoment *, vpCmpStr_t> moments;
142 void add(
vpMoment &moment,
const std::string &name);
150 const vpMoment &get(
const std::string &moment_name,
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)