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. | |
ScatterAccess< K > | NewMoved (const Cvb::Rect< int > newAoi) const noexcept |
Creates a new, moved scatter access object. | |
bool | Valid () const noexcept |
Gets whether the aggregated access objects are all valid. | |
operator bool () const noexcept | |
Gets whether the aggregated access objects are all valid. | |
std::array< const void *, K > | operator() (int x, int y) const noexcept |
Coordinate pixel access operator. | |
std::array< void *, K > | operator() (int x, int y) noexcept |
Coordinate pixel access operator. | |
std::array< const void *, K > | operator[] (int idx) const noexcept |
Index pixel access operator. | |
std::array< void *, K > | operator[] (int idx) noexcept |
Index pixel access operator. | |
Row | RowAt (int y) const |
Gets the Row at line y. | |
Column | ColumnAt (int x) const |
Gets the Column at x. | |
Static Public Member Functions | |
template<class... ACCESSES> | |
static ScatterAccess< K > | FromAccess (ACCESSES &&...planeAccesses) |
Creates a ScatterAccess from the given access planes. | |
Related Symbols | |
(Note that these are not member symbols.) | |
template<class... ACCESSES> | |
auto | MakeStaticScatterAccess (ACCESSES &&...planeAccesses) -> ScatterAccess< sizeof...(ACCESSES)> |
Creates a static scatter access with the given planes. | |
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. |
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.