MeshLib C Docs
Loading...
Searching...
No Matches
MRScalarConvert.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRBox.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_function_float_from_const_char_ptr MR_std_function_float_from_const_char_ptr; // Defined in `#include <MRCMisc/std_function_float_from_const_char_ptr.h>`.
13
14
33
37
41
50
51#ifdef __cplusplus
52} // extern "C"
53#endif
MRC_API MR_std_function_float_from_const_char_ptr * MR_getTypeConverter(MR_ScalarType scalarType, const MR_Box1d *range)
MRC_API MR_Box1d MR_getScalarTypeMinMax(MR_ScalarType scalarType)
struct MR_std_function_float_from_const_char_ptr MR_std_function_float_from_const_char_ptr
Definition MRScalarConvert.h:12
MRC_API size_t MR_getScalarTypeSize(MR_ScalarType scalarType)
MR_ScalarType
scalar value's binary format type
Definition MRScalarConvert.h:17
@ MR_ScalarType_UInt8
Definition MRScalarConvert.h:18
@ MR_ScalarType_UInt32
Definition MRScalarConvert.h:22
@ MR_ScalarType_Count
Definition MRScalarConvert.h:31
@ MR_ScalarType_Int32
Definition MRScalarConvert.h:23
@ MR_ScalarType_Int64
Definition MRScalarConvert.h:25
@ MR_ScalarType_Unknown
Definition MRScalarConvert.h:30
@ MR_ScalarType_Int16
Definition MRScalarConvert.h:21
@ MR_ScalarType_Float64
the last value from float[4]
Definition MRScalarConvert.h:27
@ MR_ScalarType_Int8
Definition MRScalarConvert.h:19
@ MR_ScalarType_UInt64
Definition MRScalarConvert.h:24
@ MR_ScalarType_Float32_4
Definition MRScalarConvert.h:29
@ MR_ScalarType_Float32
Definition MRScalarConvert.h:26
@ MR_ScalarType_UInt16
Definition MRScalarConvert.h:20
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRBox.h:51