Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::VolumeConfig Struct Reference

Public Member Functions

DataMapper dataMap () const
 
DataMapper dataMap (const DataMapper &defaultMapper) const
 
VolumeConfigupdateFrom (const VolumeConfig &config)
 

Static Public Member Functions

static glm::dvec2 defaultDataRange (const DataFormatBase *format=defaultFormat)
 
static glm::dvec2 defaultValueRange (const DataFormatBase *format=defaultFormat)
 

Public Attributes

std::optional< size3_t > dimensions = std::nullopt
 
const DataFormatBaseformat = nullptr
 
std::optional< SwizzleMask > swizzleMask = std::nullopt
 
std::optional< InterpolationType > interpolation = std::nullopt
 
std::optional< Wrapping3D > wrapping = std::nullopt
 
std::optional< AxisxAxis = std::nullopt
 
std::optional< AxisyAxis = std::nullopt
 
std::optional< AxiszAxis = std::nullopt
 
std::optional< AxisvalueAxis = std::nullopt
 
std::optional< glm::dvec2 > dataRange = std::nullopt
 
std::optional< glm::dvec2 > valueRange = std::nullopt
 
std::optional< glm::mat4 > model = std::nullopt
 
std::optional< glm::mat4 > world = std::nullopt
 

Static Public Attributes

static constexpr auto defaultDimensions = size3_t(128, 128, 128)
 
static const DataFormatBasedefaultFormat = DataUInt8::get()
 
static constexpr auto defaultSwizzleMask = swizzlemasks::rgba
 
static constexpr auto defaultInterpolation = InterpolationType::Linear
 
static constexpr auto defaultWrapping = wrapping3d::clampAll
 
static const auto defaultXAxis = Axis{"x", Unit{}}
 
static const auto defaultYAxis = Axis{"y", Unit{}}
 
static const auto defaultZAxis = Axis{"z", Unit{}}
 
static const auto defaultValueAxis = Axis{}
 
static constexpr auto defaultModel = glm::mat4{1.0f}
 
static constexpr auto defaultWorld = glm::mat4{1.0f}
 

Friends

bool operator== (const VolumeConfig &, const VolumeConfig &)=default
 

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