My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::ImageHandler::Box Class Reference

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_
 

Constructor & Destructor Documentation

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

Member Function Documentation

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


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