#include "MRVoxelsFwd.h"Go to the source code of this file.
Namespaces | |
| namespace | MR |
| only for bindings generation | |
Macros | |
| #define | M(T) return f( *( const T* )( c ) ); |
Enumerations | |
| enum class | MR::ScalarType { MR::ScalarType::UInt8 , MR::ScalarType::Int8 , MR::ScalarType::UInt16 , MR::ScalarType::Int16 , MR::ScalarType::UInt32 , MR::ScalarType::Int32 , MR::ScalarType::UInt64 , MR::ScalarType::Int64 , MR::ScalarType::Float32 , MR::ScalarType::Float64 , MR::ScalarType::Float32_4 , MR::ScalarType::Unknown , MR::ScalarType::Count } |
| scalar value's binary format type More... | |
Functions | |
| MRVOXELS_API std::function< float(const char *)> | MR::getTypeConverter (ScalarType scalarType, Uint64 range, Int64 min) |
| template<typename F > | |
| std::invoke_result_t< F, int > | MR::visitScalarType (F &&f, ScalarType scalarType, const char *c) |
More general template to pass a single value of specified format scalarType to a generic function f. | |
| #define M | ( | T | ) | return f( *( const T* )( c ) ); |