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

Public Member Functions

 VolumeGL (size3_t dimensions=size3_t(128, 128, 128), const DataFormatBase *format=DataFormatBase::get(), bool initializeTexture=true, const SwizzleMask &swizzleMask=swizzlemasks::rgba)
 
 VolumeGL (std::shared_ptr< Texture3D > tex, const DataFormatBase *format)
 
 VolumeGL (const VolumeGL &rhs)
 
VolumeGLoperator= (const VolumeGL &rhs)
 
virtual VolumeGLclone () const override
 
void bindTexture (GLenum texUnit) const
 
void unbindTexture () const
 
virtual void setDimensions (size3_t dimensions) override
 
virtual const size3_t & getDimensions () const override
 
std::shared_ptr< Texture3DgetTexture () const
 
virtual std::type_index getTypeIndex () const override final
 
virtual void setSwizzleMask (const SwizzleMask &mask) override
 update the swizzle mask of the color channels when sampling the volume More...
 
virtual SwizzleMask getSwizzleMask () const override
 
- Public Member Functions inherited from inviwo::DataRepresentation< Volume >
const DataFormatBasegetDataFormat () const
 
std::string getDataFormatString () const
 
DataFormatId getDataFormatId () const
 
void setOwner (Volume *owner)
 
VolumegetOwner ()
 
const VolumegetOwner () const
 
bool isValid () const
 
void setValid (bool valid)
 

Additional Inherited Members

- Public Types inherited from inviwo::DataRepresentation< Volume >
using ReprOwner = Volume
 
- Protected Member Functions inherited from inviwo::VolumeRepresentation
 VolumeRepresentation (const DataFormatBase *format)
 
 VolumeRepresentation (const VolumeRepresentation &rhs)=default
 
VolumeRepresentationoperator= (const VolumeRepresentation &that)=default
 
- Protected Member Functions inherited from inviwo::DataRepresentation< Volume >
 DataRepresentation (const DataFormatBase *format)
 
 DataRepresentation (const DataRepresentation &rhs)=default
 
DataRepresentationoperator= (const DataRepresentation &that)=default
 
void setDataFormat (const DataFormatBase *format)
 
- Protected Attributes inherited from inviwo::DataRepresentation< Volume >
bool isValid_
 
const DataFormatBasedataFormatBase_
 
Volumeowner_
 

Member Function Documentation

◆ setSwizzleMask()

void inviwo::VolumeGL::setSwizzleMask ( const SwizzleMask &  mask)
overridevirtual

update the swizzle mask of the color channels when sampling the volume

Parameters
masknew swizzle mask

Implements inviwo::VolumeRepresentation.


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