#include <BoundingRectangle.h>
Public Member Functions | |
BoundingRectangle (const QPointF &minimum=QPointF(0.0, 0.0), const QPointF &maximum=QPointF(-1.0,-1.0)) | |
BoundingRectangle (const QRectF &rectangle) | |
BoundingRectangle (const BoundingRectangle &src) | |
void | clear () |
bool | contains (const QPointF &point) const |
QPointF & | getMaximum () |
const QPointF & | getMaximum () const |
QPointF & | getMinimum () |
const QPointF & | getMinimum () const |
QRectF | getRectangle () const |
void | initialize (const QPointF &point) |
bool | isEmpty () const |
bool | isValid () const |
bool | operator!= (const BoundingRectangle &rectangle) const |
BoundingRectangle & | operator+= (const QPointF &point) |
BoundingRectangle & | operator+= (const BoundingRectangle &rectangle) |
bool | operator== (const BoundingRectangle &rectangle) const |
void | setMaximum (const QPointF &maximum) |
void | setMinimum (const QPointF &minimum) |
~BoundingRectangle () | |
Private Attributes | |
QPointF | maximum_ |
QPointF | minimum_ |
Definition at line 27 of file BoundingRectangle.h.
rqt_multiplot::BoundingRectangle::BoundingRectangle | ( | const QPointF & | minimum = QPointF(0.0, 0.0) , |
const QPointF & | maximum = QPointF(-1.0, -1.0) |
||
) |
Definition at line 27 of file BoundingRectangle.cpp.
rqt_multiplot::BoundingRectangle::BoundingRectangle | ( | const QRectF & | rectangle | ) |
Definition at line 33 of file BoundingRectangle.cpp.
Definition at line 38 of file BoundingRectangle.cpp.
Definition at line 43 of file BoundingRectangle.cpp.
Definition at line 100 of file BoundingRectangle.cpp.
bool rqt_multiplot::BoundingRectangle::contains | ( | const QPointF & | point | ) | const |
Definition at line 86 of file BoundingRectangle.cpp.
QPointF & rqt_multiplot::BoundingRectangle::getMaximum | ( | ) |
Definition at line 66 of file BoundingRectangle.cpp.
const QPointF & rqt_multiplot::BoundingRectangle::getMaximum | ( | ) | const |
Definition at line 70 of file BoundingRectangle.cpp.
QPointF & rqt_multiplot::BoundingRectangle::getMinimum | ( | ) |
Definition at line 54 of file BoundingRectangle.cpp.
const QPointF & rqt_multiplot::BoundingRectangle::getMinimum | ( | ) | const |
Definition at line 58 of file BoundingRectangle.cpp.
QRectF rqt_multiplot::BoundingRectangle::getRectangle | ( | ) | const |
Definition at line 74 of file BoundingRectangle.cpp.
void rqt_multiplot::BoundingRectangle::initialize | ( | const QPointF & | point | ) |
Definition at line 95 of file BoundingRectangle.cpp.
bool rqt_multiplot::BoundingRectangle::isEmpty | ( | ) | const |
Definition at line 82 of file BoundingRectangle.cpp.
bool rqt_multiplot::BoundingRectangle::isValid | ( | ) | const |
Definition at line 78 of file BoundingRectangle.cpp.
bool rqt_multiplot::BoundingRectangle::operator!= | ( | const BoundingRectangle & | rectangle | ) | const |
Definition at line 113 of file BoundingRectangle.cpp.
BoundingRectangle & rqt_multiplot::BoundingRectangle::operator+= | ( | const QPointF & | point | ) |
Definition at line 117 of file BoundingRectangle.cpp.
BoundingRectangle & rqt_multiplot::BoundingRectangle::operator+= | ( | const BoundingRectangle & | rectangle | ) |
Definition at line 139 of file BoundingRectangle.cpp.
bool rqt_multiplot::BoundingRectangle::operator== | ( | const BoundingRectangle & | rectangle | ) | const |
Definition at line 109 of file BoundingRectangle.cpp.
void rqt_multiplot::BoundingRectangle::setMaximum | ( | const QPointF & | maximum | ) |
Definition at line 62 of file BoundingRectangle.cpp.
void rqt_multiplot::BoundingRectangle::setMinimum | ( | const QPointF & | minimum | ) |
Definition at line 50 of file BoundingRectangle.cpp.
QPointF rqt_multiplot::BoundingRectangle::maximum_ [private] |
Definition at line 57 of file BoundingRectangle.h.
QPointF rqt_multiplot::BoundingRectangle::minimum_ [private] |
Definition at line 56 of file BoundingRectangle.h.