Lookup Table object interface.
More...
#include <ILut.h>
|
virtual | ~ILut ()=default |
| Default virtual destructor. More...
|
|
virtual size_t | num_elements () const =0 |
| Returns the total number of elements in the LUT. More...
|
|
virtual uint32_t | index_offset () const =0 |
| Indicates the offset that needs to be applied to the raw index before performing a lookup in the LUT. More...
|
|
virtual size_t | size_in_bytes () const =0 |
| Returns the total size in bytes of the LUT. More...
|
|
virtual DataType | type () const =0 |
| Returns the type of the LUT. More...
|
|
virtual uint8_t * | buffer () const =0 |
| Returns a pointer to the start of the LUT. More...
|
|
virtual void | clear ()=0 |
| Clears the LUT by setting every element to zero. More...
|
|
Lookup Table object interface.
Definition at line 34 of file ILut.h.
Default virtual destructor.
virtual uint8_t* buffer |
( |
| ) |
const |
|
pure virtual |
Clears the LUT by setting every element to zero.
Implemented in CLLut, and Lut.
virtual uint32_t index_offset |
( |
| ) |
const |
|
pure virtual |
Indicates the offset that needs to be applied to the raw index before performing a lookup in the LUT.
- Returns
- The normalization offset.
Implemented in CLLut, and Lut.
Referenced by LutAccessor< T >::operator[]().
virtual size_t num_elements |
( |
| ) |
const |
|
pure virtual |
virtual size_t size_in_bytes |
( |
| ) |
const |
|
pure virtual |
Returns the total size in bytes of the LUT.
- Returns
- Total size of the LUT in bytes.
Implemented in CLLut, and Lut.
Returns the type of the LUT.
- Returns
- The type of the LUT.
Implemented in CLLut, and Lut.
The documentation for this class was generated from the following file: