3#include "../global.hpp"
4#include "../point_2d.hpp"
21 template <
class DERIVED>
35 const Type &
Value(
int x,
int y)
const noexcept
37 return *
reinterpret_cast<Type *
>((*
static_cast<DERIVED *
>(
this))(x, y));
35 const Type &
Value(
int x,
int y)
const noexcept {
…}
50 Type &
Value(
int x,
int y)
noexcept
52 return *
reinterpret_cast<Type *
>((*
static_cast<DERIVED *
>(
this))(x, y));
50 Type &
Value(
int x,
int y)
noexcept {
…}
Multi-purpose 2D vector class.
Definition point_2d.hpp:20
Common base class for access traits, providing typed Value access to planes.
Definition decl_access_base.hpp:23
const Type & Value(Point2D< int > position) const noexcept
Gets a pixel value at a given position.
Definition decl_access_base.hpp:64
Type & Value(int x, int y) noexcept
Gets a settable pixel value at a given position.
Definition decl_access_base.hpp:50
Type & Value(Point2D< int > position) noexcept
Gets a settable pixel value at a given position.
Definition decl_access_base.hpp:78
const Type & Value(int x, int y) const noexcept
Gets a pixel value at a given position.
Definition decl_access_base.hpp:35
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17