Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::VolumeGL Class Reference
+ Inheritance diagram for inviwo::VolumeGL:

Public Member Functions

 VolumeGL (size3_t dimensions=VolumeConfig::defaultDimensions, const DataFormatBase *format=VolumeConfig::defaultFormat, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping, bool initializeTexture=true)
 
 VolumeGL (const VolumeReprConfig &config, bool initializeTexture=true)
 
 VolumeGL (std::shared_ptr< Texture3D > tex)
 
 VolumeGL (const VolumeGL &rhs)
 
VolumeGLoperator= (const VolumeGL &rhs)
 
virtual VolumeGLclone () const override
 
virtual const DataFormatBasegetDataFormat () 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
 
virtual SwizzleMask getSwizzleMask () const override
 
virtual void setInterpolation (InterpolationType interpolation) override
 
virtual InterpolationType getInterpolation () const override
 
virtual void setWrapping (const Wrapping3D &wrapping) override
 
virtual Wrapping3D getWrapping () const override
 
virtual void updateResource (const ResourceMeta &meta) const override
 
- Public Member Functions inherited from inviwo::VolumeRepresentation
std::string_view getDataFormatString () const
 
DataFormatId getDataFormatId () const
 
VolumeReprConfig config () const
 
- Public Member Functions inherited from inviwo::DataRepresentation< Volume >
void setOwner (const Volume *owner)
 
const VolumegetOwner () const
 
bool isValid () const
 
void setValid (bool valid)
 

Additional Inherited Members

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

Member Function Documentation

◆ clone()

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

◆ getDataFormat()

virtual const DataFormatBase * inviwo::VolumeGL::getDataFormat ( ) const
overridevirtual

◆ getDimensions()

virtual const size3_t & inviwo::VolumeGL::getDimensions ( ) const
overridevirtual

◆ getInterpolation()

virtual InterpolationType inviwo::VolumeGL::getInterpolation ( ) const
overridevirtual

◆ getSwizzleMask()

virtual SwizzleMask inviwo::VolumeGL::getSwizzleMask ( ) const
overridevirtual

◆ getTypeIndex()

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

◆ getWrapping()

virtual Wrapping3D inviwo::VolumeGL::getWrapping ( ) const
overridevirtual

◆ setDimensions()

virtual void inviwo::VolumeGL::setDimensions ( size3_t dimensions)
overridevirtual

◆ setInterpolation()

virtual void inviwo::VolumeGL::setInterpolation ( InterpolationType interpolation)
overridevirtual

◆ setSwizzleMask()

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

◆ setWrapping()

virtual void inviwo::VolumeGL::setWrapping ( const Wrapping3D & wrapping)
overridevirtual

◆ updateResource()

virtual void inviwo::VolumeGL::updateResource ( const ResourceMeta & meta) const
overridevirtual

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