Inviwo  0.9.10.1
Inviwo documentation
inviwo::ImageRAM Class Reference
+ Inheritance diagram for inviwo::ImageRAM:

Public Member Functions

 ImageRAM (const ImageRAM &rhs)
 
ImageRAMoperator= (const ImageRAM &that)
 
virtual ImageRAMclone () const override
 
virtual size2_t getDimensions () const override
 
virtual bool copyRepresentationsTo (ImageRepresentation *target) const override
 
virtual size_t priority () const override
 
LayerRAMgetColorLayerRAM (size_t idx=0)
 
LayerRAMgetDepthLayerRAM ()
 
LayerRAMgetPickingLayerRAM ()
 
size_t getNumberOfColorLayers () const
 
const LayerRAMgetColorLayerRAM (size_t idx=0) const
 
const LayerRAMgetDepthLayerRAM () const
 
const LayerRAMgetPickingLayerRAM () const
 
virtual dvec4 readPixel (size2_t pos, LayerType layer, size_t index=0) const override
 
virtual std::type_index getTypeIndex () const override final
 
virtual bool isValid () const override
 
virtual void update (bool editable) override
 
- Public Member Functions inherited from inviwo::ImageRepresentation
 ImageRepresentation (const ImageRepresentation &rhs)=default
 
ImageRepresentationoperator= (const ImageRepresentation &that)=default
 
virtual void setOwner (Image *image) override
 
virtual ImagegetOwner () override
 
virtual const ImagegetOwner () const override
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::DataGroupRepresentation< Image >
 DataGroupRepresentation (const DataGroupRepresentation &rhs)=default
 
DataGroupRepresentationoperator= (const DataGroupRepresentation &that)=default
 
- Protected Attributes inherited from inviwo::ImageRepresentation
Imageowner_
 

Member Function Documentation

◆ copyRepresentationsTo()

bool inviwo::ImageRAM::copyRepresentationsTo ( ImageRepresentation target) const
overridevirtual

Copy and resize the representations of this onto the target.

Implements inviwo::ImageRepresentation.

◆ priority()

size_t inviwo::ImageRAM::priority ( ) const
overridevirtual

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.

Implements inviwo::ImageRepresentation.

◆ readPixel()

dvec4 inviwo::ImageRAM::readPixel ( size2_t  pos,
LayerType  layer,
size_t  index = 0 
) const
overridevirtual

Read a single pixel value out of the specified layer at pos. Should only be used to read single values not entire images.

Implements inviwo::ImageRepresentation.


The documentation for this class was generated from the following files: