The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MPIBox Struct Reference

#include <mpisearchthread.h>

List of all members.

Public Member Functions

int getHeight ()
int getMidX ()
int getMidY ()
int getWidth ()
 MPIBox ()

Public Attributes

int bottom
int left
int right
int top


Constructor & Destructor Documentation

MPIBox  )  [inline]
 

Definition at line 43 of file mpisearchthread.h.

00043 : left(0), top(0), right(0), bottom(0) {};


Member Function Documentation

int getHeight  )  [inline]
 

Definition at line 39 of file mpisearchthread.h.

00039 {return bottom-top;};

int getMidX  )  [inline]
 

Definition at line 41 of file mpisearchthread.h.

00041 {return (int) ((bottom-top)/2);};

int getMidY  )  [inline]
 

Definition at line 42 of file mpisearchthread.h.

00042 {return (int) ((right-left)/2);};

int getWidth  )  [inline]
 

Definition at line 40 of file mpisearchthread.h.

00040 {return right-left;};


Member Data Documentation

int bottom
 

Definition at line 38 of file mpisearchthread.h.

int left
 

Definition at line 35 of file mpisearchthread.h.

int right
 

Definition at line 37 of file mpisearchthread.h.

int top
 

Definition at line 36 of file mpisearchthread.h.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 8 17:08:36 2004 for MPT by  doxygen 1.3.9.1