fast::ImageAccess class

Public types

using pointer = std::unique_ptr<ImageAccess>

Constructors, destructors, conversion operators

ImageAccess(void* data, std::shared_ptr<Image> image)
~ImageAccess()

Public functions

auto get() -> void*
template<class T>
auto getScalarFast(uint position, uchar channel = 0) const -> T noexcept
template<class T>
auto getScalarFast(VectorXi, uchar channel = 0) const -> T noexcept
template<class T>
auto getScalarFast2D(Vector2i, uchar channel = 0) const -> T noexcept
template<class T>
auto getScalarFast3D(Vector3i, uchar channel = 0) const -> T noexcept
auto getScalar(uint position, uchar channel = 0) const -> float
auto getScalar(VectorXi position, uchar channel = 0) const -> float
auto getVector(VectorXi position) const -> Vector4f
template<class T>
void setScalarFast(uint position, T value, uchar channel = 0) noexcept
template<class T>
void setScalarFast(VectorXi position, T value, uchar channel = 0) noexcept
template<class T>
void setScalarFast2D(Vector2i position, T value, uchar channel = 0) noexcept
template<class T>
void setScalarFast3D(Vector3i position, T value, uchar channel = 0) noexcept
void setScalar(uint position, float value, uchar channel = 0)
void setScalar(VectorXi position, float value, uchar channel = 0)
void setVector(uint position, Vector4f value)
void setVector(VectorXi position, Vector4f value)
void release()