45 #ifndef __MOMENTOBJECT_H__
46 #define __MOMENTOBJECT_H__
48 #include <visp/vpImage.h>
49 #include <visp/vpMoment.h>
50 #include <visp/vpPoint.h>
219 DENSE_FULL_OBJECT = 0,
225 void fromVector(std::vector<vpPoint>& points);
226 std::vector<double>&
get();
227 double get(
unsigned int i,
unsigned int j)
const;
242 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMomentObject& v);
247 std::vector<double> values;
248 void cacheValues(std::vector<double>& cache,
double x,
double y);
249 double calc_mom_polygon(
unsigned int p,
unsigned int q,
const std::vector<vpPoint>& points);
Class for generic objects.
void setType(vpObjectType type)
Generic class defining intrinsic camera parameters.
vpObjectType getType() const
unsigned int getOrder() const