#include "MRVoxelsFwd.h"Go to the source code of this file.
Namespaces | |
| namespace | MR |
Macros | |
| #define | M(T) return f( *( const T* )( c ) ); |
Enumerations | |
| enum class | MR::ScalarType { MR::UInt8 , MR::Int8 , MR::UInt16 , MR::Int16 , MR::UInt32 , MR::Int32 , MR::UInt64 , MR::Int64 , MR::Float32 , MR::Float64 , MR::Float32_4 , MR::Unknown , MR::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 ) ); |