FotoSHOCK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
FotoSHOCKcore::ROIinfo Class Reference

Class representating a rectangle. More...

#include <ROIinfo.hpp>

Public Member Functions

 ROIinfo ()
 Default constructor.
 
 ROIinfo (unsigned int setX, unsigned int setY, unsigned int setSizeX, unsigned int setSizeY, int setMipmapLevel)
 A constructor. More...
 

Public Attributes

unsigned int x
 x coordinate of the upper left corner.
 
unsigned int y
 y coordinate of the upper left corner.
 
unsigned int sizeX
 The length of the horizontal side of the ROI.
 
unsigned int sizeY
 The length of the vertical side of the ROI.
 
int mipmapLevel
 The mipmap level for which the ROI applies. More...
 

Detailed Description

Class representating a rectangle.

The class represents a 2D rectangle whose sides are parallel to the axes.

Examples:
graph/example.cpp.

Constructor & Destructor Documentation

FotoSHOCKcore::ROIinfo::ROIinfo ( unsigned int  setX,
unsigned int  setY,
unsigned int  setSizeX,
unsigned int  setSizeY,
int  setMipmapLevel 
)
inline

A constructor.

Parameters
setXx coordinate of the upper left corner (origin)
setYy coordinate of the upper left corner
setSizeXlength of the x edge
setSizeYlegth of the y edge
setMipmapLevelmipmap level for which the ROIinfo is applied

Member Data Documentation

int FotoSHOCKcore::ROIinfo::mipmapLevel

The mipmap level for which the ROI applies.

The numbering starts from 0, where 0 is the full resolution image and higher numbers represent smaller versions of the image.


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