OverviewOutlinesTool::Rect Class Reference

class to represent a single rectangle More...

#include <OverviewOutlinesTool.h>

List of all members.

Public Member Functions

 Rect (double left, double top, double right, double bottom)
Rect transformImgCoord (HuginBase::PTools::Transform *trans)
 transform the rectangle's coordinates with a certain transform
void center (double &x, double &y)
 get the center of the rectangle

Public Attributes

double val [4][2]


Detailed Description

class to represent a single rectangle

Definition at line 56 of file OverviewOutlinesTool.h.


Constructor & Destructor Documentation

OverviewOutlinesTool::Rect::Rect double  left,
double  top,
double  right,
double  bottom
[inline]
 

Definition at line 58 of file OverviewOutlinesTool.h.


Member Function Documentation

void OverviewOutlinesTool::Rect::center double &  x,
double &  y
[inline]
 

get the center of the rectangle

Definition at line 81 of file OverviewOutlinesTool.h.

Rect OverviewOutlinesTool::Rect::transformImgCoord HuginBase::PTools::Transform trans  )  [inline]
 

transform the rectangle's coordinates with a certain transform

Returns:
the transformed rectangle

Definition at line 68 of file OverviewOutlinesTool.h.

References OverviewOutlinesTool::res, HuginBase::PTools::Transform::transformImgCoord(), and val.

Referenced by OverviewOutlinesTool::DrawRect().


Member Data Documentation

double OverviewOutlinesTool::Rect::val[4][2]
 

Definition at line 85 of file OverviewOutlinesTool.h.

Referenced by OverviewOutlinesTool::DrawRect(), and transformImgCoord().


The documentation for this class was generated from the following file:
Generated on Sat Apr 19 01:25:49 2014 for Hugintrunk by  doxygen 1.3.9.1