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

Public Member Functions

virtual VolumeRepresentationclone () const override=0
 
virtual void setDimensions (size3_t dimensions)=0
 
virtual const size3_t & getDimensions () const =0
 
virtual const DataFormatBasegetDataFormat () const =0
 
std::string_view getDataFormatString () const
 
DataFormatId getDataFormatId () const
 
virtual void setSwizzleMask (const SwizzleMask &mask)=0
 update the swizzle mask of the color channels when sampling the volume
 
virtual SwizzleMask getSwizzleMask () const =0
 
virtual void setInterpolation (InterpolationType interpolation)=0
 
virtual InterpolationType getInterpolation () const =0
 
virtual void setWrapping (const Wrapping3D &wrapping)=0
 
virtual Wrapping3D getWrapping () const =0
 
VolumeReprConfig config () const
 
- Public Member Functions inherited from inviwo::DataRepresentation< Volume >
virtual std::type_index getTypeIndex () const=0
 
void setOwner (const Volume *owner)
 
const VolumegetOwner () const
 
bool isValid () const
 
void setValid (bool valid)
 
virtual void updateResource (const ResourceMeta &) const
 

Protected Member Functions

 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
 

Additional Inherited Members

- Public Types inherited from inviwo::DataRepresentation< Volume >
using ReprOwner
 
- Protected Attributes inherited from inviwo::DataRepresentation< Volume >
bool isValid_
 
const Volumeowner_
 

Member Function Documentation

◆ clone()

virtual VolumeRepresentation * inviwo::VolumeRepresentation::clone ( ) const
overridepure virtual

◆ setSwizzleMask()

virtual void inviwo::VolumeRepresentation::setSwizzleMask ( const SwizzleMask & mask)
pure virtual

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

Parameters
masknew swizzle mask

Implemented in inviwo::VolumeDisk, inviwo::VolumeGL, inviwo::VolumePy, and inviwo::VolumeRAMPrecision< T >.


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