|
| VolumeRAM (const DataFormatBase *format) |
|
| VolumeRAM (const VolumeRAM &rhs)=default |
|
VolumeRAM & | operator= (const VolumeRAM &that)=default |
|
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. More...
|
|
virtual void | removeDataOwnership ()=0 |
|
virtual bool | hasHistograms () const =0 |
|
virtual HistogramContainer * | getHistograms (size_t bins=2048u, size3_t sampleRate=size3_t(1))=0 |
|
virtual const HistogramContainer * | getHistograms (size_t bins=2048u, size3_t sampleRate=size3_t(1)) const =0 |
|
virtual void | calculateHistograms (size_t bins, size3_t sampleRate, const bool &stop) const =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 void | setValuesFromVolume (const VolumeRAM *src, const size3_t &dstOffset, const size3_t &subSize, const size3_t &subOffset)=0 |
|
void | setValuesFromVolume (const VolumeRAM *src, const size3_t &dstOffset=size3_t(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 void | setSwizzleMask (const SwizzleMask &mask)=0 |
| update the swizzle mask of the color channels when sampling the volume More...
|
|
virtual SwizzleMask | getSwizzleMask () const =0 |
|
const DataFormatBase * | getDataFormat () const |
|
std::string | getDataFormatString () const |
|
DataFormatId | getDataFormatId () const |
|
void | setOwner (Volume *owner) |
|
Volume * | getOwner () |
|
const Volume * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|