Inviwo 0.9.12-pre
Inviwo documentation
|
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) | |
VolumeGL & | operator= (const VolumeGL &rhs) |
virtual VolumeGL * | clone () const override |
virtual const DataFormatBase * | getDataFormat () 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< Texture3D > | getTexture () 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 Volume * | getOwner () 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 | |
VolumeRepresentation & | operator= (const VolumeRepresentation &that)=default |
Protected Member Functions inherited from inviwo::DataRepresentation< Volume > | |
DataRepresentation (const DataRepresentation &rhs)=default | |
DataRepresentation & | operator= (const DataRepresentation &that)=default |
Protected Attributes inherited from inviwo::DataRepresentation< Volume > | |
bool | isValid_ |
const Volume * | owner_ |
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
finaloverridevirtual |
Implements inviwo::DataRepresentation< Volume >.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
update the swizzle mask of the color channels when sampling the volume
mask | new swizzle mask |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Reimplemented from inviwo::DataRepresentation< Volume >.