CBlobGetDistanceFromPoint Class Reference

#include <blob.h>

Inheritance diagram for CBlobGetDistanceFromPoint:

COperadorBlob List of all members.

Public Member Functions

 CBlobGetDistanceFromPoint ()
 Standard constructor (distance to point 0,0).
 CBlobGetDistanceFromPoint (const double x, const double y)
 Constructor (distance to point x,y).
double operator() (const CBlob &blob) const
const char * GetNom () const
 Obté el nom de l'operador.

Private Attributes

double m_x
double m_y

Detailed Description

Classe per calcular la distància entre el centre del blob i un punt donat Class to calculate the euclidean distance between the center of a blob and a given point

Definition at line 536 of file blob.h.


Constructor & Destructor Documentation

CBlobGetDistanceFromPoint::CBlobGetDistanceFromPoint (  )  [inline]

Standard constructor (distance to point 0,0).

Definition at line 540 of file blob.h.

References m_x, and m_y.

CBlobGetDistanceFromPoint::CBlobGetDistanceFromPoint ( const double  x,
const double  y 
) [inline]

Constructor (distance to point x,y).

Definition at line 545 of file blob.h.

References m_x, and m_y.


Member Function Documentation

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

Implements COperadorBlob.

Definition at line 941 of file blob.cpp.

References m_x, and m_y.

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

Obté el nom de l'operador.

Implements COperadorBlob.

Definition at line 552 of file blob.h.


Member Data Documentation

double CBlobGetDistanceFromPoint::m_x [private]

Definition at line 559 of file blob.h.

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

double CBlobGetDistanceFromPoint::m_y [private]

Definition at line 559 of file blob.h.

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


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