CBlobGetMoment Class Reference

#include <blob.h>

Inheritance diagram for CBlobGetMoment:

COperadorBlob List of all members.

Public Member Functions

 CBlobGetMoment ()
 CBlobGetMoment (int p, int q)
double operator() (const CBlob &blob) const
const char * GetNom () const
 Obté el nom de l'operador.

Private Attributes

int m_p
 moment que volem calcular
int m_q

Detailed Description

Classe per calcular el moment PQ del blob Class to calculate the P,Q moment of a blob

Definition at line 350 of file blob.h.


Constructor & Destructor Documentation

CBlobGetMoment::CBlobGetMoment (  )  [inline]

Constructor estàndard Standard constructor (gets the 00 moment)

Definition at line 355 of file blob.h.

References m_p, and m_q.

CBlobGetMoment::CBlobGetMoment ( int  p,
int  q 
) [inline]

Constructor: indiquem el moment p,q a calcular Constructor: gets the PQ moment

Definition at line 361 of file blob.h.

References m_p, and m_q.


Member Function Documentation

double CBlobGetMoment::operator() ( const CBlob blob  )  const [virtual]

Implements COperadorBlob.

Definition at line 541 of file blob.cpp.

References CBlob::Area(), m_p, m_q, CBlob::SumX(), CBlob::SumXX(), CBlob::SumY(), and CBlob::SumYY().

const char* CBlobGetMoment::GetNom (  )  const [inline, virtual]

Obté el nom de l'operador.

Implements COperadorBlob.

Definition at line 367 of file blob.h.


Member Data Documentation

int CBlobGetMoment::m_p [private]

moment que volem calcular

Definition at line 374 of file blob.h.

Referenced by CBlobGetMoment(), and operator()().

int CBlobGetMoment::m_q [private]

Definition at line 374 of file blob.h.

Referenced by CBlobGetMoment(), and operator()().


Generated on Mon Nov 13 13:32:49 2006 for cvBlobsLib by  doxygen 1.5.1-p1