The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::Image< T, C >::RowProxy Class Reference

Image row proxy. More...

#include <Image.h>

Public Member Functions

 RowProxy (T *pRow)
 Constructs proxy of the image row.
 
T * operator[] (int column)
 Index image pixel.
 
const T * operator[] (int column) const
 Index image pixel.
 

Detailed Description

template<typename T, size_t C>
class blo::Image< T, C >::RowProxy

Image row proxy.

Constructor & Destructor Documentation

◆ RowProxy()

template<typename T , size_t C>
blo::Image< T, C >::RowProxy::RowProxy ( T *  pRow)
explicit

Constructs proxy of the image row.

Parameters
pRowPointer to the row.

Member Function Documentation

◆ operator[]() [1/2]

template<typename T , size_t C>
T * blo::Image< T, C >::RowProxy::operator[] ( int  column)

Index image pixel.

Note
Index pixel channel using image[row][column][channel].
Parameters
columnColumn of the image.
Returns
Pointer to the pixel.

◆ operator[]() [2/2]

template<typename T , size_t C>
const T * blo::Image< T, C >::RowProxy::operator[] ( int  column) const

Index image pixel.

Note
Index pixel channel using image[row][column][channel].
Parameters
columnColumn of the image.
Returns
Pointer to the pixel.

The documentation for this class was generated from the following file: