Size class of the ICL.
More...
#include <Size.h>
◆ Size() [1/5]
icl::utils::Size::Size |
( |
| ) |
|
|
inline |
◆ Size() [2/5]
icl::utils::Size::Size |
( |
const Size & |
s | ) |
|
|
inline |
deep copy of another Size
◆ Size() [3/5]
icl::utils::Size::Size |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ Size() [4/5]
icl::utils::Size::Size |
( |
const std::string & |
name | ) |
|
|
explicit |
creates a size from given string (e.g. VGA, CIF, or 1024x768)
◆ Size() [5/5]
icl::utils::Size::Size |
( |
const Size32f & |
other | ) |
|
creates a size from given float precision size (values are rounded)
◆ getDim()
int icl::utils::Size::getDim |
( |
| ) |
const |
|
inline |
◆ isNull()
bool icl::utils::Size::isNull |
( |
| ) |
const |
|
inline |
checks wether the object instance is null, i.e. all elements are zero
◆ operator *()
Size icl::utils::Size::operator * |
( |
double |
d | ) |
const |
|
inline |
scales the size by a scalar value
◆ operator *=()
Size& icl::utils::Size::operator *= |
( |
double |
d | ) |
|
|
inline |
scales the size parameters inplace by a scalar
◆ operator!=()
bool icl::utils::Size::operator!= |
( |
const Size & |
s | ) |
const |
|
inline |
checks if two size are not equal
◆ operator+()
Size icl::utils::Size::operator+ |
( |
const Size & |
s | ) |
const |
|
inline |
add a size to another size
◆ operator+=()
Size& icl::utils::Size::operator+= |
( |
const Size & |
s | ) |
|
|
inline |
adds another size inplace
◆ operator-()
Size icl::utils::Size::operator- |
( |
const Size & |
s | ) |
const |
|
inline |
substracts a size from another size
◆ operator-=()
Size& icl::utils::Size::operator-= |
( |
const Size & |
s | ) |
|
|
inline |
substracst another size inplace
◆ operator/()
Size icl::utils::Size::operator/ |
( |
double |
d | ) |
const |
|
inline |
scales the size by a scalar value
◆ operator/=()
Size& icl::utils::Size::operator/= |
( |
double |
d | ) |
|
|
inline |
scales the size parameters inplace by a scalar
◆ operator==()
bool icl::utils::Size::operator== |
( |
const Size & |
s | ) |
const |
|
inline |
checks if two sizes are equal
◆ CGA
const Size icl::utils::Size::CGA |
|
static |
Color Graphics Adapter res. 320x200.
◆ CIF
const Size icl::utils::Size::CIF |
|
static |
Common Intermediate Format res. 352x288.
◆ DSVGA
const Size icl::utils::Size::DSVGA |
|
static |
Double Super VGA res. 1200x800.
◆ DVGA
const Size icl::utils::Size::DVGA |
|
static |
◆ EGA
const Size icl::utils::Size::EGA |
|
static |
Enhanced Graphics Adapter res. 640x350.
◆ HD1080
const Size icl::utils::Size::HD1080 |
|
static |
High definition res. 1920x1080.
◆ HD720
const Size icl::utils::Size::HD720 |
|
static |
Half Definition res. 1280x720.
◆ HVGA
const Size icl::utils::Size::HVGA |
|
static |
◆ NTSC
const Size icl::utils::Size::NTSC |
|
static |
National Television System Commitee res. 640x480 (many other formats are known as NTSC)
◆ null
const Size icl::utils::Size::null |
|
static |
◆ PAL
const Size icl::utils::Size::PAL |
|
static |
Phase alternating Line res. 768x576 (many other formats are known as PAL)
◆ QCIF
const Size icl::utils::Size::QCIF |
|
static |
◆ QHD
const Size icl::utils::Size::QHD |
|
static |
◆ QQVGA
const Size icl::utils::Size::QQVGA |
|
static |
Quater QVGA res. 160x120.
◆ QVGA
const Size icl::utils::Size::QVGA |
|
static |
◆ SIF
const Size icl::utils::Size::SIF |
|
static |
Source Imput Format res. 360x240.
◆ SQCIF
const Size icl::utils::Size::SQCIF |
|
static |
Semi Quater CIF res. 128x96.
◆ SVGA
const Size icl::utils::Size::SVGA |
|
static |
◆ SXGA
const Size icl::utils::Size::SXGA |
|
static |
Super XGA res. 1280x1024.
◆ SXGAP
const Size icl::utils::Size::SXGAP |
|
static |
Super XGA Plus res. 1400x1050.
◆ SXVGA
const Size icl::utils::Size::SXVGA |
|
static |
◆ UD
const Size icl::utils::Size::UD |
|
static |
Ultra Definietion res. 3840x2160.
◆ UXGA
const Size icl::utils::Size::UXGA |
|
static |
Ultra XGA res. 1600x1200.
◆ VGA
const Size icl::utils::Size::VGA |
|
static |
Video Graphics Array res. 640x480.
◆ WSXGA
const Size icl::utils::Size::WSXGA |
|
static |
Wide Super XGA res. 1600x900.
◆ WSXGAP
const Size icl::utils::Size::WSXGAP |
|
static |
Wide Super XGA Plus res. 1600x1050.
◆ WUXGA
const Size icl::utils::Size::WUXGA |
|
static |
Wide UXGA res. 1920x1080.
◆ WVGA
const Size icl::utils::Size::WVGA |
|
static |
◆ WXGA
const Size icl::utils::Size::WXGA |
|
static |
◆ WXGAP
const Size icl::utils::Size::WXGAP |
|
static |
Wide XGA Plus res. 1440x900.
◆ XGA
const Size icl::utils::Size::XGA |
|
static |
Extended Graphics Array res. 1024x768 (also known as EVGA)
◆ XGAP
const Size icl::utils::Size::XGAP |
|
static |
XGA Plus res. 1152 x 864.
The documentation for this class was generated from the following file:
- /Users/alneuman/vm/icl/ICLUtils/src/ICLUtils/Size.h