Holds a 2D pixel viewport with methods for manipulation.
More...
#include <pixelViewport.h>
|
int32_t | x |
|
int32_t | y |
|
int32_t | w |
|
int32_t | h |
|
Holds a 2D pixel viewport with methods for manipulation.
Definition at line 34 of file pixelViewport.h.
eq::fabric::PixelViewport::PixelViewport |
( |
| ) |
|
|
inline |
eq::fabric::PixelViewport::PixelViewport |
( |
const int32_t |
x_, |
|
|
const int32_t |
y_, |
|
|
const int32_t |
w_, |
|
|
const int32_t |
h_ |
|
) |
| |
|
inlineexplicit |
Construct a new pixel viewport with default values.
- Version
- 1.0
Definition at line 43 of file pixelViewport.h.
eq::fabric::PixelViewport::PixelViewport |
( |
const int32_t |
pvp[4] | ) |
|
|
inlineexplicit |
Construct a new pixel viewport with default values.
- Version
- 1.1.6
Definition at line 48 of file pixelViewport.h.
void eq::fabric::PixelViewport::convertFromPlugin |
( |
const uint64_t |
dims[4] | ) |
|
|
inline |
Convert from a lunchbox::Plugin format.
- Version
- 1.5.2
Definition at line 174 of file pixelViewport.h.
void eq::fabric::PixelViewport::convertToPlugin |
( |
uint64_t |
dims[4] | ) |
const |
|
inline |
Convert into a lunchbox::Plugin usable format.
- Version
- 1.5.2
Definition at line 165 of file pixelViewport.h.
uint32_t eq::fabric::PixelViewport::getArea |
( |
| ) |
const |
|
inline |
int32_t eq::fabric::PixelViewport::getXEnd |
( |
| ) |
const |
|
inline |
int32_t eq::fabric::PixelViewport::getYEnd |
( |
| ) |
const |
|
inline |
bool eq::fabric::PixelViewport::hasArea |
( |
| ) |
const |
|
inline |
void eq::fabric::PixelViewport::intersect |
( |
const PixelViewport & |
rhs | ) |
|
|
inline |
void eq::fabric::PixelViewport::invalidate |
( |
| ) |
|
|
inline |
bool eq::fabric::PixelViewport::isInside |
( |
const int32_t |
pX, |
|
|
const int32_t |
pY |
|
) |
| const |
|
inline |
- Returns
- true if the given point is inside the pixel viewport.
- Version
- 1.0
Definition at line 78 of file pixelViewport.h.
bool eq::fabric::PixelViewport::isValid |
( |
| ) |
const |
|
inline |
- Returns
- true if the pixel viewport has a non-negative, but potentially empty, size.
- Version
- 1.0
Definition at line 62 of file pixelViewport.h.
Referenced by intersect().
void eq::fabric::PixelViewport::merge |
( |
const PixelViewport & |
rhs | ) |
|
|
inline |
Create a pixel viewport that includes both viewports (union).
- Version
- 1.0
Definition at line 250 of file pixelViewport.h.
References hasArea().
bool eq::fabric::PixelViewport::operator!= |
( |
const PixelViewport & |
rhs | ) |
const |
|
inline |
- Returns
- true if the two pixel viewports are not identical.
- Version
- 1.0
Definition at line 241 of file pixelViewport.h.
- Returns
- this pvp minus an offset.
- Version
- 1.3.0
Definition at line 208 of file pixelViewport.h.
bool eq::fabric::PixelViewport::operator== |
( |
const PixelViewport & |
rhs | ) |
const |
|
inline |
- Returns
- true if the two pixel viewports are identical.
- Version
- 1.0
Definition at line 232 of file pixelViewport.h.
void eq::fabric::PixelViewport::unapply |
( |
const Pixel & |
pixel | ) |
|
|
inline |
Perform the inverse operation of applying a pixel decomposition to this pixel viewport.
- Version
- 1.0
Definition at line 220 of file pixelViewport.h.
The documentation for this class was generated from the following file: