Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
drwnDeformationCost Class Reference

Structure for holding dx, dy, dx^2 and dy^2 deformation costs. More...

Inheritance diagram for drwnDeformationCost:
drwnStdObjIface drwnWriteable drwnCloneable drwnTypeable

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"; })
 
drwnDeformationCostclone () 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
 
- Public Member Functions inherited from drwnWriteable
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
 

Detailed Description

Structure for holding dx, dy, dx^2 and dy^2 deformation costs.


The documentation for this class was generated from the following files: