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

Public Member Functions

 VolumePy (pybind11::array data, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping)
 
 VolumePy (size3_t dimensions, const DataFormatBase *format, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping)
 
 VolumePy (const VolumeReprConfig &config)
 
VolumePyclone () const override
 
std::type_index getTypeIndex () const override
 
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
 
pybind11::array & data ()
 
const pybind11::array & data () const
 
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 VolumegetOwner () 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
 
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()

VolumePy * inviwo::VolumePy::clone ( ) const
overridevirtual

◆ getDataFormat()

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

◆ getDimensions()

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

◆ getInterpolation()

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

◆ getSwizzleMask()

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

◆ getTypeIndex()

std::type_index inviwo::VolumePy::getTypeIndex ( ) const
overridevirtual

◆ getWrapping()

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

◆ setDimensions()

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

◆ setInterpolation()

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

◆ setSwizzleMask()

virtual void inviwo::VolumePy::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::VolumePy::setWrapping ( const Wrapping3D & wrapping)
overridevirtual

◆ updateResource()

virtual void inviwo::VolumePy::updateResource ( const ResourceMeta & meta) const
overridevirtual

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