Darwin
1.10(beta)
|
Structure for holding dx, dy, dx^2 and dy^2 deformation costs. More...
Public Member Functions | |
drwnDeformationCost (double a, double b, double c, double d) | |
drwnDeformationCost (const drwnDeformationCost &c) | |
const char * | type () const |
returns object type as a string (e.g., Foo::type() { return "Foo"; }) | |
drwnDeformationCost * | clone () const |
returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); } | |
bool | save (drwnXMLNode &xml) const |
write object to XML node (see also write) | |
bool | load (drwnXMLNode &xml) |
read object from XML node (see also read) | |
double | cost (const cv::Point &p, const cv::Point &q) const |
![]() | |
bool | write (const char *filename) const |
write object to file (calls save) | |
bool | read (const char *filename) |
read object from file (calls load) | |
void | dump () const |
print object's current state to standard output (for debugging) | |
Public Attributes | |
double | dx |
double | dy |
double | dx2 |
double | dy2 |
Structure for holding dx, dy, dx^2 and dy^2 deformation costs.