Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
OverviewOutlinesTool::Rect Class Reference

class to represent a single rectangle More...

#include <OverviewOutlinesTool.h>

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 More...
 
void center (double &x, double &y)
 get the center of the rectangle More...
 

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.

References val.

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.

References val.

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]

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