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

Public Member Functions

 VolumeDisk (size3_t dimensions=VolumeConfig::defaultDimensions, const DataFormatBase *format=VolumeConfig::defaultFormat, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping)
 
 VolumeDisk (const std::filesystem::path &path, size3_t dimensions=VolumeConfig::defaultDimensions, const DataFormatBase *format=VolumeConfig::defaultFormat, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping)
 
 VolumeDisk (const VolumeReprConfig &config, const std::filesystem::path &path={})
 
 VolumeDisk (const VolumeDisk &rhs)=default
 
VolumeDiskoperator= (const VolumeDisk &that)=default
 
virtual VolumeDiskclone () const override
 
virtual std::type_index getTypeIndex () const override final
 
virtual const DataFormatBasegetDataFormat () const override
 
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
 
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
 
- 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)
 
virtual void updateResource (const ResourceMeta &) const
 
- Public Member Functions inherited from inviwo::DiskRepresentation< VolumeRepresentation, VolumeDisk >
 DiskRepresentation (const std::filesystem::path &srcFile, DiskRepresentationLoader< VolumeRepresentation > *loader=nullptr)
 
 DiskRepresentation (const DiskRepresentation &rhs)=default
 
DiskRepresentationoperator= (const DiskRepresentation &that)=default
 
const std::filesystem::path & 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
 
- 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 VolumeDisk * inviwo::VolumeDisk::clone ( ) const
overridevirtual

◆ getDataFormat()

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

◆ getDimensions()

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

◆ getInterpolation()

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

◆ getSwizzleMask()

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

◆ getTypeIndex()

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

◆ getWrapping()

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

◆ setDimensions()

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

◆ setInterpolation()

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

◆ setSwizzleMask()

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

◆ setWrapping()

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

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