#include <GLViewer_Geom.h>
Class GLViewer_Rect Substitution of QRect for OpenGL
GLViewer_Rect::GLViewer_Rect |
( |
| ) |
|
|
inline |
GLViewer_Rect::GLViewer_Rect |
( |
float |
theLeft, |
|
|
float |
theRight, |
|
|
float |
theTop, |
|
|
float |
theBottom |
|
) |
| |
|
inline |
GLViewer_Rect::GLViewer_Rect |
( |
QRect |
theRect | ) |
|
|
inline |
float GLViewer_Rect::bottom |
( |
| ) |
const |
|
inline |
float GLViewer_Rect::height |
( |
| ) |
const |
|
inline |
bool GLViewer_Rect::isEmpty |
( |
| ) |
const |
|
inline |
bool GLViewer_Rect::isNull |
( |
| ) |
const |
|
inline |
bool GLViewer_Rect::isValid |
( |
| ) |
const |
|
inline |
float GLViewer_Rect::left |
( |
| ) |
const |
|
inline |
void GLViewer_Rect::move |
( |
const float |
x, |
|
|
const float |
y |
|
) |
| |
|
inline |
float GLViewer_Rect::right |
( |
| ) |
const |
|
inline |
void GLViewer_Rect::setBottom |
( |
float |
theBottom | ) |
|
|
inline |
void GLViewer_Rect::setCoords |
( |
float |
theLeft, |
|
|
float |
theRight, |
|
|
float |
theBottom, |
|
|
float |
theTop |
|
) |
| |
|
inline |
void GLViewer_Rect::setIsEmpty |
( |
bool |
on | ) |
|
|
inline |
void GLViewer_Rect::setLeft |
( |
float |
theLeft | ) |
|
|
inline |
void GLViewer_Rect::setRight |
( |
float |
theRight | ) |
|
|
inline |
void GLViewer_Rect::setTop |
( |
float |
theTop | ) |
|
|
inline |
float GLViewer_Rect::top |
( |
| ) |
const |
|
inline |
QRect GLViewer_Rect::toQRect |
( |
| ) |
|
|
inline |
- Warning
- This method translate only rect format
float GLViewer_Rect::width |
( |
| ) |
const |
|
inline |
float GLViewer_Rect::myBottom |
|
protected |
bool GLViewer_Rect::myIsEmpty |
|
protected |
float GLViewer_Rect::myLeft |
|
protected |
float GLViewer_Rect::myRight |
|
protected |
float GLViewer_Rect::myTop |
|
protected |
The documentation for this class was generated from the following file: