Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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
 
- Public Member Functions inherited from inviwo::DataGroupRepresentation< Image >

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_ = nullptr
 

Member Function Documentation

◆ clone()

virtual ImageRAM * inviwo::ImageRAM::clone ( ) const
overridevirtual

◆ copyRepresentationsTo()

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

Copy and resize the representations of this onto the target.

Implements inviwo::ImageRepresentation.

◆ getDimensions()

virtual size2_t inviwo::ImageRAM::getDimensions ( ) const
overridevirtual

◆ getTypeIndex()

virtual std::type_index inviwo::ImageRAM::getTypeIndex ( ) const
finaloverridevirtual

◆ isValid()

virtual bool inviwo::ImageRAM::isValid ( ) const
overridevirtual

◆ priority()

virtual 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()

virtual 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.

◆ update()

virtual void inviwo::ImageRAM::update ( bool editable)
overridevirtual

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