◆ copyRepresentationsTo()
virtual bool inviwo::ImageRepresentation::copyRepresentationsTo |
( |
ImageRepresentation * |
target | ) |
const |
|
pure virtual |
◆ priority()
virtual size_t inviwo::ImageRepresentation::priority |
( |
| ) |
const |
|
pure virtual |
Returns a number representing the general efficiency of the representation. Larger value means more efficient representation. Used for selection which representation to operate on when resizing for example.
Implemented in inviwo::ImageGL, and inviwo::ImageRAM.
◆ readPixel()
virtual dvec4 inviwo::ImageRepresentation::readPixel |
( |
size2_t |
pos, |
|
|
LayerType |
layer, |
|
|
size_t |
index = 0 |
|
) |
| const |
|
pure virtual |
Read a single pixel value out of the specified layer at pos. Should only be used to read single values not entire images.
Implemented in inviwo::ImageGL, and inviwo::ImageRAM.
The documentation for this class was generated from the following files:
- imagerepresentation.h
- imagerepresentation.cpp