Inviwo  0.9.10.1
Inviwo documentation
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 void setSwizzleMask (const SwizzleMask &mask)=0
 update the swizzle mask of the color channels when sampling the volume More...
 
virtual SwizzleMask getSwizzleMask () const =0
 
- Public Member Functions inherited from inviwo::DataRepresentation< Volume >
const DataFormatBasegetDataFormat () const
 
std::string getDataFormatString () const
 
DataFormatId getDataFormatId () const
 
virtual std::type_index getTypeIndex () const=0
 
void setOwner (Volume *owner)
 
VolumegetOwner ()
 
const VolumegetOwner () const
 
bool isValid () const
 
void setValid (bool valid)
 

Protected Member Functions

 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)
 

Additional Inherited Members

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

Member Function Documentation

◆ 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::VolumeRAMPrecision< T >, inviwo::VolumeGL, and inviwo::VolumeDisk.


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