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

Public Member Functions

 VolumeDisk (size3_t dimensions=size3_t(128, 128, 128), const DataFormatBase *format=DataUInt8::get(), const SwizzleMask &swizzleMask=swizzlemasks::rgba)
 
 VolumeDisk (std::string url, size3_t dimensions=size3_t(128, 128, 128), const DataFormatBase *format=DataUInt8::get(), const SwizzleMask &swizzleMask=swizzlemasks::rgba)
 
 VolumeDisk (const VolumeDisk &rhs)=default
 
VolumeDiskoperator= (const VolumeDisk &that)=default
 
virtual VolumeDiskclone () const override
 
virtual std::type_index getTypeIndex () const override final
 
virtual void setDimensions (size3_t dimensions) override
 
virtual const size3_t & getDimensions () const override
 
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)
 
- Public Member Functions inherited from inviwo::DiskRepresentation< VolumeRepresentation >
 DiskRepresentation (const std::string &srcFile, DiskRepresentationLoader< VolumeRepresentation > *loader=nullptr)
 
 DiskRepresentation (const DiskRepresentation &rhs)=default
 
DiskRepresentationoperator= (const DiskRepresentation &that)=default
 
const std::string & getSourceFile () const
 
bool hasSourceFile () const
 
void setLoader (DiskRepresentationLoader< VolumeRepresentation > *loader)
 
std::shared_ptr< VolumeRepresentationcreateRepresentation () const
 
void updateRepresentation (std::shared_ptr< VolumeRepresentation > dest) const
 

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::VolumeDisk::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: