ACT-CV - Machine Vision for Cognitive Modeling
|
a strait line with polar coordinates and end points More...
#include <linien.h>
Public Member Functions | |
Linie (double l=0, double o=0, double r=0, double u=0) | |
template<class _point1 , class _point2 > | |
Linie (const _point1 &p1, const _point2 &p2) | |
template<class _t > | |
Linie (const Pos< 2, _t > &p1, const Pos< 2, _t > &p2) | |
Linie (const DMatrix< 2, 1 > &p1, const DMatrix< 2, 1 > &p2) | |
double | GetLen () const |
the length of the line More... | |
double | GetOben () const |
double | GetLinks () const |
double | GetUnten () const |
double | GetRechts () const |
double | abstand (const Linie &l) const |
a heuristic distance metric More... | |
double | abstand (const PolLinie &l) const |
a heuristic distance metric More... | |
template<class _point > | |
double | abstand (const _point p) const |
distance metric: euclidian More... | |
Pos< 2, double > | SchnittPunktAufStrecke (const PolLinie &l2) const |
bool | IstAufStrecke (const Pos< 2, double > &p) const |
bool | IstAufStrecke (const DMatrix< 2, 1 > &p) const |
Public Member Functions inherited from PolLinie | |
PolLinie (double w=0, double p=0) | |
double | GetWinkel () const |
angle of the line More... | |
double | GetPolAbs () const |
distance between the line an the origin More... | |
template<class _point > | |
double | abstand (const _point &p) const |
distance metric: euclidian More... | |
template<class _point > | |
double | wert (const _point &p) const |
the value of the line function More... | |
double | wert (const Pos< 2, double > &p) const |
double | wert (const DMatrix< 2, 1 > &p) const |
Pos< 2, double > | SchnittPunkt (const PolLinie &l2) const |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Protected Member Functions | |
void | ComputePolardarstellung () |
compute the polar line function from the end points More... | |
Protected Attributes | |
double | oben |
double | links |
double | unten |
double | rechts |
Protected Attributes inherited from PolLinie | |
double | winkel |
double | polAbs |
Linie::Linie | ( | double | l = 0 , |
double | o = 0 , |
||
double | r = 0 , |
||
double | u = 0 |
||
) |
Definition at line 125 of file linien.h.
References ComputePolardarstellung().
Linie::Linie | ( | const _point1 & | p1, |
const _point2 & | p2 | ||
) |
Definition at line 131 of file linien.h.
References ComputePolardarstellung().
Definition at line 137 of file linien.h.
References ComputePolardarstellung().
Definition at line 142 of file linien.h.
References ComputePolardarstellung().
double Linie::abstand | ( | const Linie & | l) | const |
a heuristic distance metric
Definition at line 168 of file linien.h.
References _PI, PolLinie::abstand(), GetLinks(), GetOben(), GetRechts(), GetUnten(), and PolLinie::GetWinkel().
double Linie::abstand | ( | const PolLinie & | l) | const |
a heuristic distance metric
Definition at line 189 of file linien.h.
References PolLinie::abstand(), GetLinks(), GetOben(), GetRechts(), and GetUnten().
double Linie::abstand | ( | const _point | p) | const |
distance metric: euclidian
|
protected |
compute the polar line function from the end points
Definition at line 110 of file linien.h.
References GetLen(), links, oben, PolLinie::polAbs, rechts, unten, and PolLinie::winkel.
Referenced by Linie().
double Linie::GetLen | ( | ) | const |
the length of the line
Definition at line 148 of file linien.h.
References links, oben, rechts, and unten.
Referenced by ComputePolardarstellung(), OpticalFlow::GetWinkel(), PrintArrow(), and OpticalFlow::PrintFlowField().
double Linie::GetLinks | ( | ) | const |
Definition at line 157 of file linien.h.
References links.
Referenced by abstand(), operator<<(), PrintArrow(), and PrintLine().
double Linie::GetOben | ( | ) | const |
Definition at line 154 of file linien.h.
References oben.
Referenced by abstand(), operator<<(), PrintArrow(), and PrintLine().
double Linie::GetRechts | ( | ) | const |
Definition at line 163 of file linien.h.
References rechts.
Referenced by abstand(), operator<<(), PrintArrow(), and PrintLine().
double Linie::GetUnten | ( | ) | const |
Definition at line 160 of file linien.h.
References unten.
Referenced by abstand(), operator<<(), PrintArrow(), and PrintLine().
bool Linie::IstAufStrecke | ( | const Pos< 2, double > & | p) | const |
bool Linie::IstAufStrecke | ( | const DMatrix< 2, 1 > & | p) | const |
|
protected |
Definition at line 107 of file linien.h.
Referenced by ComputePolardarstellung(), GetLen(), GetLinks(), IstAufStrecke(), and SchnittPunktAufStrecke().
|
protected |
Definition at line 107 of file linien.h.
Referenced by ComputePolardarstellung(), GetLen(), GetOben(), IstAufStrecke(), and SchnittPunktAufStrecke().
|
protected |
Definition at line 107 of file linien.h.
Referenced by ComputePolardarstellung(), GetLen(), GetRechts(), IstAufStrecke(), and SchnittPunktAufStrecke().
|
protected |
Definition at line 107 of file linien.h.
Referenced by ComputePolardarstellung(), GetLen(), GetUnten(), IstAufStrecke(), and SchnittPunktAufStrecke().