![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Types | |
| using | primitive = util::value_type_t<T> |
| using | type = T |
Static Public Member Functions | |
| static constexpr size_t | components () |
| static const DataFormat< T > * | get () |
| static constexpr DataFormatId | id () |
| static constexpr T | lowest () |
| static constexpr double | lowestToDouble () |
| static constexpr T | max () |
| static constexpr double | maxToDouble () |
| static constexpr T | min () |
| static constexpr double | minToDouble () |
| static constexpr NumericType | numericType () |
| static constexpr size_t | precision () |
| static constexpr size_t | rank () |
| static constexpr size_t | sizeInBytes () |
| static constexpr auto | staticStr () |
| static constexpr std::string_view | str () |
| Static Public Member Functions inherited from inviwo::DataFormatBase | |
| static const DataFormatBase * | get () |
| static const DataFormatBase * | get (DataFormatId id) |
| static const DataFormatBase * | get (NumericType type, size_t components, size_t precision) |
| static const DataFormatBase * | get (NumericType type, size_t components, size_t precision, size_t rank) |
| static const DataFormatBase * | get (std::string_view name) |
| template<typename T> | |
| static constexpr DataFormatId | typeToId () noexcept |
Additional Inherited Members | |
| Public Member Functions inherited from inviwo::DataFormatBase | |
| size_t | getComponents () const |
| DataFormatId | getId () const |
| double | getLowest () const |
| double | getMax () const |
| double | getMin () const |
| NumericType | getNumericType () const |
| size_t | getPrecision () const |
| size_t | getRank () const |
| size_t | getSize () const |
| size_t | getSizeInBytes () const |
| std::string_view | getString () const |
| Protected Member Functions inherited from inviwo::DataFormatBase | |
| DataFormatBase (const DataFormatBase &)=delete | |
| DataFormatBase (DataFormatBase &&)=delete | |
| DataFormatBase (DataFormatId type, size_t rank, size_t components, size_t size, double max, double min, double lowest, NumericType nt, std::string_view s) | |
| DataFormatBase & | operator= (const DataFormatBase &)=delete |
| DataFormatBase & | operator= (DataFormatBase &&)=delete |
| Protected Attributes inherited from inviwo::DataFormatBase | |
| size_t | components_ |
| DataFormatId | formatId_ |
| std::string_view | formatStr_ |
| double | lowest_ |
| double | max_ |
| double | min_ |
| NumericType | numericType_ |
| size_t | rank_ |
| size_t | sizeInBytes_ |
|
staticconstexpr |
Returns the number of components in the format, 1 to 4.
|
staticconstexpr |
Returns numeric type of the format
|
staticconstexpr |
Returns number of bits in each component in the format. can be 8, 16, 32 or 64.
|
staticconstexpr |
Returns the rank in the format, 0, 1 or 2.
|
staticconstexpr |
Returns the size of the format in bytes. For all components.