|
|
| ImageRepresentation (const ImageRepresentation &rhs)=default |
|
ImageRepresentation & | operator= (const ImageRepresentation &that)=default |
| virtual ImageRepresentation * | clone () const override=0 |
|
virtual size2_t | getDimensions () const =0 |
| virtual bool | copyRepresentationsTo (ImageRepresentation *target) const =0 |
| virtual size_t | priority () const =0 |
| virtual dvec4 | readPixel (size2_t pos, LayerType layer, size_t index=0) const =0 |
| virtual std::type_index | getTypeIndex () const override=0 |
| virtual void | setOwner (Image *image) override |
| virtual Image * | getOwner () override |
|
virtual const Image * | getOwner () const override |
| virtual bool | isValid () const override=0 |
| virtual void | update (bool) override=0 |
|
|
DataGroupRepresentation & | operator= (const DataGroupRepresentation &that)=default |
◆ clone()
| virtual ImageRepresentation * inviwo::ImageRepresentation::clone |
( |
| ) |
const |
|
overridepure virtual |
◆ copyRepresentationsTo()
| virtual bool inviwo::ImageRepresentation::copyRepresentationsTo |
( |
ImageRepresentation * | target | ) |
const |
|
pure virtual |
◆ getOwner()
| virtual Image * inviwo::ImageRepresentation::getOwner |
( |
| ) |
|
|
overridevirtual |
◆ getTypeIndex()
| virtual std::type_index inviwo::ImageRepresentation::getTypeIndex |
( |
| ) |
const |
|
overridepure virtual |
◆ isValid()
| virtual bool inviwo::ImageRepresentation::isValid |
( |
| ) |
const |
|
overridepure 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.
◆ setOwner()
| virtual void inviwo::ImageRepresentation::setOwner |
( |
Image * | image | ) |
|
|
overridevirtual |
◆ update()
| virtual void inviwo::ImageRepresentation::update |
( |
bool | | ) |
|
|
overridepure virtual |
The documentation for this class was generated from the following file: