|
virtual VolumeRAM * | clone () const override=0 |
|
virtual void * | getData ()=0 |
|
virtual const void * | getData () const =0 |
|
virtual void * | getData (size_t)=0 |
|
virtual const void * | getData (size_t) const =0 |
|
virtual void | setData (void *data, size3_t dimensions)=0 |
| Takes ownership of data pointer.
|
|
virtual void | removeDataOwnership ()=0 |
|
virtual double | getAsDouble (const size3_t &pos) const =0 |
|
virtual dvec2 | getAsDVec2 (const size3_t &pos) const =0 |
|
virtual dvec3 | getAsDVec3 (const size3_t &pos) const =0 |
|
virtual dvec4 | getAsDVec4 (const size3_t &pos) const =0 |
|
virtual void | setFromDouble (const size3_t &pos, double val)=0 |
|
virtual void | setFromDVec2 (const size3_t &pos, dvec2 val)=0 |
|
virtual void | setFromDVec3 (const size3_t &pos, dvec3 val)=0 |
|
virtual void | setFromDVec4 (const size3_t &pos, dvec4 val)=0 |
|
virtual double | getAsNormalizedDouble (const size3_t &pos) const =0 |
|
virtual dvec2 | getAsNormalizedDVec2 (const size3_t &pos) const =0 |
|
virtual dvec3 | getAsNormalizedDVec3 (const size3_t &pos) const =0 |
|
virtual dvec4 | getAsNormalizedDVec4 (const size3_t &pos) const =0 |
|
virtual void | setFromNormalizedDouble (const size3_t &pos, double val)=0 |
|
virtual void | setFromNormalizedDVec2 (const size3_t &pos, dvec2 val)=0 |
|
virtual void | setFromNormalizedDVec3 (const size3_t &pos, dvec3 val)=0 |
|
virtual void | setFromNormalizedDVec4 (const size3_t &pos, dvec4 val)=0 |
|
virtual size_t | getNumberOfBytes () const =0 |
|
virtual std::type_index | getTypeIndex () const override final |
|
template<typename Result , template< class > class Predicate = dispatching::filter::All, typename Callable , typename... Args> |
auto | dispatch (Callable &&callable, Args &&... args) -> Result |
|
template<typename Result , template< class > class Predicate = dispatching::filter::All, typename Callable , typename... Args> |
auto | dispatch (Callable &&callable, Args &&... args) const -> Result |
|
virtual void | setDimensions (size3_t dimensions)=0 |
|
virtual const size3_t & | getDimensions () const =0 |
|
virtual const DataFormatBase * | getDataFormat () 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 |
|
void | setOwner (const Volume *owner) |
|
const Volume * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|
virtual void | updateResource (const ResourceMeta &) const |
|