|
My Project
|
Public Types | |
| enum | Location { INSIDE, ABOVE_LEFT, ABOVE, ABOVE_RIGHT, RIGHT, BELOW_RIGHT, BELOW, BELOW_LEFT, LEFT } |
Public Member Functions | |
| double | shortestDistanceFrom (unsigned ix, unsigned iy) |
| Location | locationOf (unsigned ix, unsigned iy) |
| void | rectifyCoords (unsigned &ixmin, unsigned &iymin, unsigned &ixmax, unsigned &iymax) |
| Box () | |
| Box (unsigned ixmin, unsigned ixmax, unsigned iymin, unsigned iymax, bool inc) | |
| Box (const Box &box) | |
| Box (Box &box) | |
| void | operator= (const Box &box) |
| void | operator= (Box &box) |
Public Attributes | |
| unsigned | ixmin_ |
| unsigned | ixmax_ |
| unsigned | iymin_ |
| unsigned | iymax_ |
| bool | inc_ |
| ImageHandler::Box::Box | ( | ) |
....................................................................... Constructor for Box
| ImageHandler::Box::Box | ( | unsigned | ixmin, |
| unsigned | iymin, | ||
| unsigned | ixmax, | ||
| unsigned | iymax, | ||
| bool | inc | ||
| ) |
.......................................................................w Constructor with assignment
| ImageHandler::Box::Box | ( | const Box & | box | ) |
....................................................................... Copy constructors
| ImageHandler::Box::Location ImageHandler::Box::locationOf | ( | unsigned | ix, |
| unsigned | iy | ||
| ) |
....................................................................... Return the orientation of a pixel wrt to this box
| void ImageHandler::Box::operator= | ( | const Box & | box | ) |
....................................................................... Assignment operators
| double ImageHandler::Box::shortestDistanceFrom | ( | unsigned | ix, |
| unsigned | iy | ||
| ) |
....................................................................... Return the shortest distance from this box