#include "ImageStruct.hpp"
Go to the source code of this file.
Functions | |
template<typename returnT , typename dataT > | |
returnT | getPix (void *imdata, size_t idx) |
Function to cast the data type to float. More... | |
Variables | |
template<typename returnT , int imageStructDataT> | |
returnT(*)(void *, size_t) | getPixPointer () |
Get the function pointer for getPix for the type. More... | |
returnT getPix | ( | void * | imdata, |
size_t | idx | ||
) |
Function to cast the data type to float.
Accesses the imdata pointer at linear position idx, and then casts the result to float.
dataT | the type of the image data. |
[in] | imdata | Pointer to the image data |
[in] | idx | Linear position of the pixel in the imdata |
Definition at line 18 of file pixaccess.hpp.
returnT(*)(void*, size_t) getPixPointer(int imageStructDataT) | ( | ) |
Get the function pointer for getPix for the type.
Definition at line 27 of file pixaccess.hpp.