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

Public Member Functions

 ImageGL (const ImageGL &rhs)
 
virtual ImageGLclone () const override
 
void reAttachAllLayers (ImageType type=ImageType::AllLayers)
 
void activateBuffer (ImageType type=ImageType::AllLayers)
 
void deactivateBuffer ()
 
virtual size2_t getDimensions () const override
 
virtual bool copyRepresentationsTo (ImageRepresentation *target) const override
 
virtual size_t priority () const override
 
bool copyRepresentationsTo (ImageGL *target) const
 
bool updateFrom (const ImageGL *)
 
FrameBufferObjectgetFBO ()
 
const FrameBufferObjectgetFBO () const
 
LayerGLgetLayerGL (LayerType, size_t idx=0)
 
const LayerGLgetLayerGL (LayerType, size_t idx=0) const
 
LayerGLgetColorLayerGL (size_t idx=0)
 
LayerGLgetDepthLayerGL ()
 
LayerGLgetPickingLayerGL ()
 
const LayerGLgetColorLayerGL (size_t idx=0) const
 
const LayerGLgetDepthLayerGL () const
 
const LayerGLgetPickingLayerGL () const
 
size_t getNumberOfColorLayers () const
 
GLenum getPickingAttachmentID () const
 
void updateExistingLayers () const
 
void renderImagePlaneRect () 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::ImageGL::copyRepresentationsTo ( ImageRepresentation target) const
overridevirtual

Copy and resize the representations of this onto the target.

Implements inviwo::ImageRepresentation.

◆ priority()

size_t inviwo::ImageGL::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::ImageGL::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: