Access trait for multiple, possibly scattered planes. More...
#include <cvb/vpat.hpp>
Classes | |
class | Column |
A single column. More... | |
class | Row |
A single row. More... | |
Public Member Functions | |
constexpr size_t | PlanesCount () const |
Gets the number of planes stored. More... | |
ScatterAccess< K > | NewMoved (const Cvb::Rect< int > newAoi) const noexcept |
Creates a new, moved scatter access object. More... | |
bool | Valid () const noexcept |
Gets whether the aggregated access objects are all valid. More... | |
operator bool () const noexcept | |
Gets whether the aggregated access objects are all valid. More... | |
std::array< const void *, K > | operator() (int x, int y) const noexcept |
Coordinate pixel access operator. More... | |
std::array< void *, K > | operator() (int x, int y) noexcept |
Coordinate pixel access operator. More... | |
std::array< const void *, K > | operator[] (int idx) const noexcept |
Index pixel access operator. More... | |
std::array< void *, K > | operator[] (int idx) noexcept |
Index pixel access operator. More... | |
Row | RowAt (int y) const |
Gets the Row at line y. More... | |
Column | ColumnAt (int x) const |
Gets the Column at x. More... | |
Static Public Member Functions | |
template<class... ACCESSES> | |
static ScatterAccess< K > | FromAccess (ACCESSES &&... planeAccesses) |
Creates a ScatterAccess from the given access planes. More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<class... ACCESSES> | |
auto | MakeStaticScatterAccess (ACCESSES &&... planeAccesses) -> ScatterAccess< sizeof...(ACCESSES)> |
Creates a static scatter access with the given planes. More... | |
Access trait for multiple, possibly scattered planes.
K | Number of planes to aggregate; Dynamic for runtime variable number of planes. |
|
inline |
|
inlinestatic |
Creates a ScatterAccess from the given access planes.
K
.[in] | planeAccesses | Plane access objects. |
|
inlinenoexcept |
Creates a new, moved scatter access object.
[in] | newAoi | Offset and new size in pixels to move this scatter access to. |
|
inlineexplicitnoexcept |
Gets whether the aggregated access objects are all valid.
|
inlinenoexcept |
Coordinate pixel access operator.
[in] | x | X coordinate coefficient in pixels. |
[in] | y | Y coordinate coefficient in pixels. |
|
inlinenoexcept |
Coordinate pixel access operator.
[in] | x | X coordinate coefficient in pixels. |
[in] | y | Y coordinate coefficient in pixels. |
|
inlinenoexcept |
Index pixel access operator.
[in] | idx | Pixel index. |
|
inlinenoexcept |
Index pixel access operator.
[in] | idx | Pixel index. |
|
inlineconstexpr |
Gets the number of planes stored.
K
.
|
inline |
|
inlinenoexcept |
Gets whether the aggregated access objects are all valid.
|
related |
Creates a static scatter access with the given planes.
[in] | planeAccesses | Planes to make scatter access of. |