Linear access properties. More...
#include <cvb/spectral/linear_access_data.hpp>
Public Member Functions | |
LinearAccessData () noexcept=default | |
Create a default linear access data set. More... | |
std::uintptr_t | BasePtr () const noexcept |
Linear access base pointer. More... | |
std::intptr_t | SampleInc () const noexcept |
Sample-increment for linear access. More... | |
std::intptr_t | LineInc () const noexcept |
Line-increment for linear access. More... | |
std::intptr_t | BandInc () const noexcept |
Band-increment for linear access. More... | |
template<class Type > | |
const Type & | Value (int sample, int line, int band) const noexcept |
Gets a pixel value at a given position. More... | |
template<class Type > | |
Type & | Value (int sample, int line, int band) noexcept |
Gets a settable pixel value at a given position. More... | |
Linear access properties.
This object enables a fast pixel access to cubes
|
defaultnoexcept |
Create a default linear access data set.
Does | not throw any exception. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Gets a pixel value at a given position.
[in] | sample | |
[in] | line | |
[in] | band |
Does | not throw any exception. |
This method is for convenience not for performance.
|
inlinenoexcept |
Gets a settable pixel value at a given position.
[in] | sample | |
[in] | line | |
[in] | band |
Does | not throw any exception. |
This method is for convenience not for performance.