Inviwo 0.9.12-pre
Inviwo documentation
|
Public Types | |
using | type = T |
Public Types inherited from inviwo::DataRepresentation< Volume > | |
using | ReprOwner |
Public Member Functions | |
VolumeRAMPrecision (size3_t dimensions=VolumeConfig::defaultDimensions, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping) | |
VolumeRAMPrecision (T *data, size3_t dimensions, const SwizzleMask &swizzleMask=VolumeConfig::defaultSwizzleMask, InterpolationType interpolation=VolumeConfig::defaultInterpolation, const Wrapping3D &wrapping=VolumeConfig::defaultWrapping) | |
VolumeRAMPrecision (const VolumeReprConfig &config) | |
VolumeRAMPrecision (const VolumeRAMPrecision< T > &rhs) | |
VolumeRAMPrecision< T > & | operator= (const VolumeRAMPrecision< T > &that) |
virtual VolumeRAMPrecision< T > * | clone () const override |
virtual const DataFormatBase * | getDataFormat () const override |
T * | getDataTyped () |
const T * | getDataTyped () const |
std::span< T > | getView () |
std::span< const T > | getView () const |
virtual void * | getData () override |
virtual const void * | getData () const override |
virtual void * | getData (size_t) override |
virtual const void * | getData (size_t) const override |
virtual void | setData (void *data, size3_t dimensions) override |
Takes ownership of data pointer. | |
virtual void | removeDataOwnership () override |
virtual const size3_t & | getDimensions () const override |
virtual void | setDimensions (size3_t dimensions) 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 |
virtual double | getAsDouble (const size3_t &pos) const override |
virtual dvec2 | getAsDVec2 (const size3_t &pos) const override |
virtual dvec3 | getAsDVec3 (const size3_t &pos) const override |
virtual dvec4 | getAsDVec4 (const size3_t &pos) const override |
virtual void | setFromDouble (const size3_t &pos, double val) override |
virtual void | setFromDVec2 (const size3_t &pos, dvec2 val) override |
virtual void | setFromDVec3 (const size3_t &pos, dvec3 val) override |
virtual void | setFromDVec4 (const size3_t &pos, dvec4 val) override |
virtual double | getAsNormalizedDouble (const size3_t &pos) const override |
virtual dvec2 | getAsNormalizedDVec2 (const size3_t &pos) const override |
virtual dvec3 | getAsNormalizedDVec3 (const size3_t &pos) const override |
virtual dvec4 | getAsNormalizedDVec4 (const size3_t &pos) const override |
virtual void | setFromNormalizedDouble (const size3_t &pos, double val) override |
virtual void | setFromNormalizedDVec2 (const size3_t &pos, dvec2 val) override |
virtual void | setFromNormalizedDVec3 (const size3_t &pos, dvec3 val) override |
virtual void | setFromNormalizedDVec4 (const size3_t &pos, dvec4 val) override |
virtual size_t | getNumberOfBytes () const override |
virtual void | updateResource (const ResourceMeta &meta) const override |
Public Member Functions inherited from inviwo::VolumeRAM | |
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 |
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 Volume * | getOwner () const |
bool | isValid () const |
void | setValid (bool valid) |
Additional Inherited Members | |
Static Public Member Functions inherited from inviwo::VolumeRAM | |
template<typename T > | |
static T | posToIndex (const glm::tvec3< T, glm::defaultp > &pos, const glm::tvec3< T, glm::defaultp > &dim) |
template<typename T > | |
static T | periodicPosToIndex (const glm::tvec3< T, glm::defaultp > &posIn, const glm::tvec3< T, glm::defaultp > &dim) |
Protected Member Functions inherited from inviwo::VolumeRAM | |
VolumeRAM (const VolumeRAM &rhs)=default | |
VolumeRAM (VolumeRAM &rhs)=default | |
VolumeRAM & | operator= (const VolumeRAM &that)=default |
VolumeRAM & | operator= (VolumeRAM &&that)=default |
Protected Member Functions inherited from inviwo::VolumeRepresentation | |
VolumeRepresentation (const VolumeRepresentation &rhs)=default | |
VolumeRepresentation & | operator= (const VolumeRepresentation &that)=default |
Protected Member Functions inherited from inviwo::DataRepresentation< Volume > | |
DataRepresentation (const DataRepresentation &rhs)=default | |
DataRepresentation & | operator= (const DataRepresentation &that)=default |
Protected Attributes inherited from inviwo::DataRepresentation< Volume > | |
bool | isValid_ |
const Volume * | owner_ |
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Takes ownership of data pointer.
data | is raw volume data pointer |
dimensions | is the dimensions of the data. |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRAM.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
update the swizzle mask of the color channels when sampling the volume
mask | new swizzle mask |
Implements inviwo::VolumeRepresentation.
|
overridevirtual |
Implements inviwo::VolumeRepresentation.
|
inlineoverridevirtual |
Reimplemented from inviwo::DataRepresentation< Volume >.