MeshLib C Docs
Loading...
Searching...
No Matches
MRVoxelsVolume.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRBox.h>
4#include <MRCMesh/MRVector3.h>
5#include <MRCMisc/common.h>
6#include <MRCMisc/exports.h>
7
8#include <stdbool.h>
9#include <stddef.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct MR_Box_unsigned_short MR_Box_unsigned_short; // Defined in `#include <MRCMesh/MRBox.h>`.
16typedef struct MR_FloatGrid MR_FloatGrid; // Defined in `#include <MRCVoxels/MRFloatGrid.h>`.
17typedef struct MR_Vector_float_MR_VoxelId MR_Vector_float_MR_VoxelId; // Defined in `#include <MRCMesh/MRVector.h>`.
18typedef struct MR_Vector_unsigned_short_MR_VoxelId MR_Vector_unsigned_short_MR_VoxelId; // Defined in `#include <MRCMesh/MRVector.h>`.
19typedef struct MR_VoxelBitSet MR_VoxelBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
20typedef struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string; // Defined in `#include <MRCMisc/expected_MR_SimpleVolumeMinMax_std_string.h>`.
21typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
22typedef struct MR_std_function_float_from_const_MR_Vector3i_ref MR_std_function_float_from_const_MR_Vector3i_ref; // Defined in `#include <MRCMisc/std_function_float_from_const_MR_Vector3i_ref.h>`.
23typedef struct MR_std_function_unsigned_char_from_const_MR_Vector3i_ref MR_std_function_unsigned_char_from_const_MR_Vector3i_ref; // Defined in `#include <MRCMisc/std_function_unsigned_char_from_const_MR_Vector3i_ref.h>`.
24
25
35
45
55
60
65
73
81
86
94
98
102
106
110
114
118
123
127
132
137
141
146
151
155
160
164
169
173
178
183
187
192
196
201
204
207
211
214
218
221
225
228
231
236
240
245
250
255
263
269
275
280
285
290
296
302
308
314
321
327
332
337
342
347
351
356
361
365
370
375
379
384
388
393
397
402
407
411
416
420
425
428
431
435
438
442
445
449
452
455
460
464
469MRC_API MR_Box_unsigned_short *MR_SimpleVolumeMinMaxU16_fromMinAndSize(const unsigned short *min, const unsigned short *size);
470
475
480
487MRC_API unsigned short MR_SimpleVolumeMinMaxU16_corner(const MR_SimpleVolumeMinMaxU16 *_this, const bool *c);
488
494
500
505
510
515
520MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
521
527
534
540
546MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getProjection(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
547
554
560
565
570
575
579
584
589
593
598
603
607
612
616
620MRC_API const float *MR_VdbVolume_Get_min(const MR_VdbVolume *_this);
621
624MRC_API void MR_VdbVolume_Set_min(MR_VdbVolume *_this, float value);
625
630
634MRC_API const float *MR_VdbVolume_Get_max(const MR_VdbVolume *_this);
635
638MRC_API void MR_VdbVolume_Set_max(MR_VdbVolume *_this, float value);
639
644
648
653
656
659
663
666
670
673
677
680
683
688
692
696MRC_API MR_Box1f MR_VdbVolume_fromMinAndSize(const float *min, const float *size);
697
702
707
714MRC_API float MR_VdbVolume_corner(const MR_VdbVolume *_this, const bool *c);
715
721
727
732
737
742
747MRC_API float MR_VdbVolume_getBoxClosestPointTo(const MR_VdbVolume *_this, const float *pt);
748
754
760
766
772MRC_API float MR_VdbVolume_getProjection(const MR_VdbVolume *_this, const float *pt);
773
778MRC_API MR_Box1f MR_VdbVolume_expanded(const MR_VdbVolume *_this, const float *expansion);
779
784
789
794
799
803
808
813
817
822
827
831
836
840
845
849
852
855
859
862
865
870
874
879
883
888
893
897
902
907
911
916
920
925
929
932
935
939
942
945
950
954
959
963
968
973
977
982
987
991
996
1000
1005
1009
1012
1015
1020
1024
1028
1031
1034
1039
1043
1048
1052
1057
1062
1066
1071
1076
1080
1085
1089
1094
1098
1101
1104
1109
1113
1117
1120
1123
1128
1132
1137
1141
1146
1151
1155
1160
1165
1169
1174
1178
1183
1187
1190
1193
1197
1200
1203
1208
1212
1217
1221
1226
1231
1235
1240
1245
1249
1254
1258
1263
1267
1270
1273
1278
1282
1286
1289
1292
1297
1301
1305
1310
1313
1316
1321
1324
1327
1333
1337
1342
1345
1348
1353
1356
1359
1365
1369
1374
1377
1380
1385
1388
1391
1397
1401
1406
1409
1412
1417
1420
1423
1429
1433
1438
1441
1444
1449
1452
1455
1461
1465
1470
1473
1476
1481
1484
1487
1493
1501
1502#ifdef __cplusplus
1503} // extern "C"
1504#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VoxelBitSet MR_VoxelBitSet
Definition MRBitSet.h:111
struct MR_VdbVolume MR_VdbVolume
Definition MRBox.h:18
struct MR_SimpleVolumeMinMax MR_SimpleVolumeMinMax
Definition MRBox.h:16
struct MR_SimpleVolumeMinMaxU16 MR_SimpleVolumeMinMaxU16
Definition MRBox.h:17
struct MR_Box_unsigned_short MR_Box_unsigned_short
Definition MRBox.h:129
struct MR_SimpleVolumeU16 MR_SimpleVolumeU16
Definition MRDicom.h:15
struct MR_Vector_unsigned_short_MR_VoxelId MR_Vector_unsigned_short_MR_VoxelId
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:728
struct MR_Vector_float_MR_VoxelId MR_Vector_float_MR_VoxelId
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:718
MRC_API const MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_Get_data(const MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API void MR_FunctionVolume_Set_data(MR_FunctionVolume *_this, MR_PassBy value_pass_by, MR_std_function_float_from_const_MR_Vector3i_ref *value)
MRC_API float MR_VdbVolume_volume(const MR_VdbVolume *_this)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_intersect(MR_SimpleVolumeMinMaxU16 *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector3i * MR_VoxelsVolume_MR_FloatGrid_GetMutable_dims(MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API void MR_FunctionVolumeU8_Set_data(MR_FunctionVolumeU8 *_this, MR_PassBy value_pass_by, MR_std_function_unsigned_char_from_const_MR_Vector3i_ref *value)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_insignificantlyExpanded(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_VoxelsVolume_MR_FloatGrid_Set_dims(MR_VoxelsVolume_MR_FloatGrid *_this, MR_Vector3i value)
MRC_API const MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_OffsetPtr(const MR_VoxelTraits_MR_VoxelBitSet *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_OffsetMutablePtr(MR_FunctionVolumeU8 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_OffsetPtr(const MR_VoxelTraits_MR_FloatGrid *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_uint64_t MR_SimpleVolumeU16_heapBytes(const MR_SimpleVolumeU16 *_this)
MRC_API void MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_DestroyArray(const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *_this)
Destroys a heap-allocated array of MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vecto...
struct MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId
Definition MRVoxelsVolume.h:101
MRC_API MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_DefaultConstructArray(size_t num_elems)
MRC_API void MR_VoxelTraits_MR_VoxelBitSet_Destroy(const MR_VoxelTraits_MR_VoxelBitSet *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_MR_VoxelBitSet. Does nothing if the pointer is n...
MRC_API void MR_SimpleVolumeMinMaxU16_Destroy(const MR_SimpleVolumeMinMaxU16 *_this)
Destroys a heap-allocated instance of MR_SimpleVolumeMinMaxU16. Does nothing if the pointer is null.
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_OffsetMutablePtr(MR_SimpleVolumeMinMax *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_DefaultConstructArray(size_t num_elems)
MRC_API float MR_SimpleVolumeMinMax_getBoxClosestPointTo(const MR_SimpleVolumeMinMax *_this, const float *pt)
MRC_API const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_OffsetPtr(const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_DefaultConstruct(void)
MRC_API const float * MR_VdbVolume_Get_min(const MR_VdbVolume *_this)
MRC_API void MR_SimpleVolumeMinMaxU16_Set_data(MR_SimpleVolumeMinMaxU16 *_this, MR_PassBy value_pass_by, MR_Vector_unsigned_short_MR_VoxelId *value)
MRC_API const MR_SimpleVolume * MR_SimpleVolumeMinMax_UpcastTo_MR_SimpleVolume(const MR_SimpleVolumeMinMax *object)
MRC_API void MR_FunctionVolume_Destroy(const MR_FunctionVolume *_this)
Destroys a heap-allocated instance of MR_FunctionVolume. Does nothing if the pointer is null.
MRC_API void MR_SimpleVolume_Set_data(MR_SimpleVolume *_this, MR_PassBy value_pass_by, MR_Vector_float_MR_VoxelId *value)
MRC_API float MR_SimpleVolumeMinMax_volume(const MR_SimpleVolumeMinMax *_this)
MRC_API const MR_Vector3f * MR_SimpleBinaryVolume_Get_voxelSize(const MR_SimpleBinaryVolume *_this)
MRC_API MR_Vector_float_MR_VoxelId * MR_SimpleVolume_GetMutable_data(MR_SimpleVolume *_this)
MRC_API void MR_VdbVolume_Set_dims(MR_VdbVolume *_this, MR_Vector3i value)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_ConstructFrom(MR_PassBy data_pass_by, MR_FloatGrid *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API const MR_Vector_float_MR_VoxelId * MR_SimpleVolume_Get_data(const MR_SimpleVolume *_this)
MRC_API void MR_SimpleVolumeMinMax_Destroy(const MR_SimpleVolumeMinMax *_this)
Destroys a heap-allocated instance of MR_SimpleVolumeMinMax. Does nothing if the pointer is null.
MRC_API const MR_Vector3f * MR_FunctionVolumeU8_Get_voxelSize(const MR_FunctionVolumeU8 *_this)
MRC_API const MR_Vector3f * MR_SimpleVolumeMinMax_Get_voxelSize(const MR_SimpleVolumeMinMax *_this)
MRC_API MR_Vector_unsigned_short_MR_VoxelId * MR_SimpleVolumeMinMaxU16_GetMutable_data(MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_SimpleBinaryVolume_Set_dims(MR_SimpleBinaryVolume *_this, MR_Vector3i value)
MRC_API bool MR_SimpleVolumeMinMax_getMinBoxCorner(const float *n)
MRC_API MR_Box1f * MR_VdbVolume_MutableUpcastTo_MR_Box1f(MR_VdbVolume *object)
Upcasts an instance of MR::VdbVolume to its base class MR::Box1f.
MRC_API MR_SimpleVolume * MR_SimpleVolume_ConstructFrom(MR_PassBy data_pass_by, MR_Vector_float_MR_VoxelId *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API void MR_SimpleVolumeMinMaxU16_Set_max(MR_SimpleVolumeMinMaxU16 *_this, unsigned short value)
MRC_API void MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_Destroy(const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Ve...
MRC_API MR_Vector3f * MR_SimpleVolume_GetMutable_voxelSize(MR_SimpleVolume *_this)
MRC_API void MR_VdbVolume_Set_data(MR_VdbVolume *_this, MR_PassBy value_pass_by, MR_FloatGrid *value)
MRC_API bool MR_VdbVolume_intersects(const MR_VdbVolume *_this, const MR_Box1f *b)
MRC_API void MR_SimpleVolumeMinMaxU16_Set_dims(MR_SimpleVolumeMinMaxU16 *_this, MR_Vector3i value)
MRC_API MR_Vector_float_MR_VoxelId * MR_SimpleVolumeMinMax_GetMutable_data(MR_SimpleVolumeMinMax *_this)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_OffsetMutablePtr(MR_SimpleBinaryVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_OffsetPtr(const MR_SimpleBinaryVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_AssignFromAnother(MR_SimpleVolumeU16 *_this, MR_PassBy _other_pass_by, MR_SimpleVolumeU16 *_other)
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_DefaultConstructArray(size_t num_elems)
MRC_API MR_FunctionVolume * MR_FunctionVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_FunctionVolume *_other)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_DefaultConstruct(void)
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_DefaultConstruct(void)
MRC_API bool MR_not_equal_MR_SimpleVolumeMinMax_MR_Box1f(const MR_SimpleVolumeMinMax *_this, const MR_Box1f *a)
MRC_API MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_DefaultConstruct(void)
MRC_API MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_OffsetMutablePtr(MR_VoxelTraits_MR_VoxelBitSet *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_VdbVolume_DestroyArray(const MR_VdbVolume *_this)
Destroys a heap-allocated array of MR_VdbVolume. Does nothing if the pointer is null.
MRC_API MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_DefaultConstructArray(size_t num_elems)
MRC_API const MR_FunctionVolume * MR_FunctionVolume_OffsetPtr(const MR_FunctionVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_ConstructFromAnother(MR_PassBy _other_pass_by, MR_FunctionVolumeU8 *_other)
MRC_API MR_FunctionVolume * MR_FunctionVolume_AssignFromAnother(MR_FunctionVolume *_this, MR_PassBy _other_pass_by, MR_FunctionVolume *_other)
struct MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref
Definition MRVoxelsVolume.h:109
MRC_API const unsigned short * MR_SimpleVolumeMinMaxU16_Get_min(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_VoxelTraits_MR_FloatGrid_Destroy(const MR_VoxelTraits_MR_FloatGrid *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_MR_FloatGrid. Does nothing if the pointer is nul...
MRC_API float * MR_SimpleVolumeMinMax_GetMutable_min(MR_SimpleVolumeMinMax *_this)
MRC_API MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_OffsetMutablePtr(MR_VoxelTraits_MR_Vector_float_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_Vector3i * MR_SimpleBinaryVolume_GetMutable_dims(MR_SimpleBinaryVolume *_this)
MRC_API bool MR_SimpleVolumeMinMaxU16_getMaxBoxCorner(const unsigned short *n)
MRC_API void MR_SimpleVolume_Set_voxelSize(MR_SimpleVolume *_this, MR_Vector3f value)
MRC_API bool MR_SimpleVolumeMinMax_valid(const MR_SimpleVolumeMinMax *_this)
MRC_API void MR_FunctionVolumeU8_DestroyArray(const MR_FunctionVolumeU8 *_this)
Destroys a heap-allocated array of MR_FunctionVolumeU8. Does nothing if the pointer is null.
MRC_API const MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeU16_StaticDowncastTo_MR_SimpleVolumeMinMaxU16(const MR_SimpleVolumeU16 *object)
MRC_API MR_Vector3i * MR_FunctionVolume_GetMutable_dims(MR_FunctionVolume *_this)
MRC_API void MR_FunctionVolumeU8_Set_voxelSize(MR_FunctionVolumeU8 *_this, MR_Vector3f value)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_corner(const MR_SimpleVolumeMinMaxU16 *_this, const bool *c)
MRC_API float MR_VdbVolume_corner(const MR_VdbVolume *_this, const bool *c)
MRC_API MR_VdbVolume * MR_VdbVolume_OffsetMutablePtr(MR_VdbVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API float MR_SimpleVolumeMinMax_diagonal(const MR_SimpleVolumeMinMax *_this)
MRC_API float MR_SimpleVolumeMinMax_getProjection(const MR_SimpleVolumeMinMax *_this, const float *pt)
MRC_API void MR_FunctionVolumeU8_Destroy(const MR_FunctionVolumeU8 *_this)
Destroys a heap-allocated instance of MR_FunctionVolumeU8. Does nothing if the pointer is null.
MRC_API MR_SimpleVolume * MR_SimpleVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SimpleVolume *_other)
MRC_API MR_Box1f * MR_SimpleVolumeMinMax_intersect(MR_SimpleVolumeMinMax *_this, const MR_Box1f *b)
MRC_API MR_FloatGrid * MR_VdbVolume_GetMutable_data(MR_VdbVolume *_this)
MRC_API void MR_SimpleVolumeMinMaxU16_Set_voxelSize(MR_SimpleVolumeMinMaxU16 *_this, MR_Vector3f value)
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_AssignFromAnother(MR_SimpleVolumeMinMax *_this, MR_PassBy _other_pass_by, MR_SimpleVolumeMinMax *_other)
struct MR_FunctionVolumeU8 MR_FunctionVolumeU8
Definition MRVoxelsVolume.h:64
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeU16_MutableStaticDowncastTo_MR_SimpleVolumeMinMaxU16(MR_SimpleVolumeU16 *object)
MRC_API void MR_SimpleVolumeU16_Destroy(const MR_SimpleVolumeU16 *_this)
Destroys a heap-allocated instance of MR_SimpleVolumeU16. Does nothing if the pointer is null.
MRC_API const MR_Vector3i * MR_SimpleVolume_Get_dims(const MR_SimpleVolume *_this)
MRC_API MR_uint64_t MR_SimpleVolumeMinMax_heapBytes(const MR_SimpleVolumeMinMax *_this)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SimpleBinaryVolume *_other)
MRC_API bool MR_SimpleVolumeMinMax_intersects(const MR_SimpleVolumeMinMax *_this, const MR_Box1f *b)
MRC_API MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_AssignFromAnother(MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *_this, const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *_other)
MRC_API MR_uint64_t MR_FunctionVolumeU8_heapBytes(const MR_FunctionVolumeU8 *_this)
MRC_API const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_OffsetPtr(const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_Box1f MR_SimpleVolumeMinMax_expanded(const MR_SimpleVolumeMinMax *_this, const float *expansion)
MRC_API bool MR_VdbVolume_valid(const MR_VdbVolume *_this)
MRC_API const MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_OffsetPtr(const MR_SimpleVolumeMinMaxU16 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_Vector3i * MR_SimpleVolumeMinMaxU16_GetMutable_dims(MR_SimpleVolumeMinMaxU16 *_this)
MRC_API const MR_std_function_float_from_const_MR_Vector3i_ref * MR_FunctionVolume_Get_data(const MR_FunctionVolume *_this)
struct MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref
Definition MRVoxelsVolume.h:105
MRC_API const float * MR_SimpleVolumeMinMax_Get_max(const MR_SimpleVolumeMinMax *_this)
MRC_API bool MR_SimpleVolumeMinMaxU16_getMinBoxCorner(const unsigned short *n)
MRC_API const MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_OffsetPtr(const MR_VoxelTraits_MR_Vector_float_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_Box1f MR_SimpleVolumeMinMax_fromMinAndSize(const float *min, const float *size)
MRC_API const MR_std_function_unsigned_char_from_const_MR_Vector3i_ref * MR_FunctionVolumeU8_Get_data(const MR_FunctionVolumeU8 *_this)
MRC_API MR_Vector3f * MR_FunctionVolumeU8_GetMutable_voxelSize(MR_FunctionVolumeU8 *_this)
MRC_API MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_AssignFromAnother(MR_VoxelTraits_MR_VoxelBitSet *_this, const MR_VoxelTraits_MR_VoxelBitSet *_other)
MRC_API const MR_Vector3i * MR_SimpleVolumeMinMaxU16_Get_dims(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SimpleVolumeU16_Set_data(MR_SimpleVolumeU16 *_this, MR_PassBy value_pass_by, MR_Vector_unsigned_short_MR_VoxelId *value)
MRC_API MR_Vector3f * MR_VdbVolume_GetMutable_voxelSize(MR_VdbVolume *_this)
MRC_API void MR_SimpleVolumeMinMaxU16_Set_min(MR_SimpleVolumeMinMaxU16 *_this, unsigned short value)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_ConstructFrom(MR_PassBy data_pass_by, MR_VoxelBitSet *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API bool MR_not_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short(const MR_SimpleVolumeMinMaxU16 *_this, const MR_Box_unsigned_short *a)
MRC_API const MR_Vector_float_MR_VoxelId * MR_SimpleVolumeMinMax_Get_data(const MR_SimpleVolumeMinMax *_this)
MRC_API MR_SimpleVolume * MR_SimpleVolumeMinMax_MutableUpcastTo_MR_SimpleVolume(MR_SimpleVolumeMinMax *object)
Upcasts an instance of MR::SimpleVolumeMinMax to its base class MR::SimpleVolume.
MRC_API void MR_VdbVolume_Destroy(const MR_VdbVolume *_this)
Destroys a heap-allocated instance of MR_VdbVolume. Does nothing if the pointer is null.
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolume_MutableStaticDowncastTo_MR_SimpleVolumeMinMax(MR_SimpleVolume *object)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt)
MRC_API void MR_SimpleVolumeMinMax_Set_voxelSize(MR_SimpleVolumeMinMax *_this, MR_Vector3f value)
MRC_API void MR_FunctionVolumeU8_Set_dims(MR_FunctionVolumeU8 *_this, MR_Vector3i value)
MRC_API void MR_VoxelTraits_MR_Vector_float_MR_VoxelId_DestroyArray(const MR_VoxelTraits_MR_Vector_float_MR_VoxelId *_this)
Destroys a heap-allocated array of MR_VoxelTraits_MR_Vector_float_MR_VoxelId. Does nothing if the poi...
MRC_API MR_Box1f * MR_VdbVolume_intersect(MR_VdbVolume *_this, const MR_Box1f *b)
MRC_API const MR_Vector3i * MR_FunctionVolumeU8_Get_dims(const MR_FunctionVolumeU8 *_this)
MRC_API void MR_VoxelsVolume_MR_FloatGrid_DestroyArray(const MR_VoxelsVolume_MR_FloatGrid *_this)
Destroys a heap-allocated array of MR_VoxelsVolume_MR_FloatGrid. Does nothing if the pointer is null.
MRC_API MR_Box1f MR_VdbVolume_fromMinAndSize(const float *min, const float *size)
MRC_API MR_VoxelBitSet * MR_SimpleBinaryVolume_GetMutable_data(MR_SimpleBinaryVolume *_this)
MRC_API MR_expected_MR_SimpleVolumeMinMax_std_string * MR_functionVolumeToSimpleVolume(const MR_FunctionVolume *volume, const MR_std_function_bool_from_float *callback)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_diagonal(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VdbVolume_MutableUpcastTo_MR_VoxelsVolume_MR_FloatGrid(MR_VdbVolume *object)
Upcasts an instance of MR::VdbVolume to its base class MR::VoxelsVolume<MR::FloatGrid>.
MRC_API const int * MR_VdbVolume_Get_elements(void)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_OffsetMutablePtr(MR_VoxelsVolume_MR_FloatGrid *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_SimpleVolume * MR_SimpleVolume_OffsetMutablePtr(MR_SimpleVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_Vector3f * MR_SimpleVolumeU16_GetMutable_voxelSize(MR_SimpleVolumeU16 *_this)
MRC_API MR_SimpleVolume * MR_SimpleVolume_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SimpleVolume_Destroy(const MR_SimpleVolume *_this)
Destroys a heap-allocated instance of MR_SimpleVolume. Does nothing if the pointer is null.
MRC_API MR_Box1f MR_SimpleVolumeMinMax_intersection(const MR_SimpleVolumeMinMax *_this, const MR_Box1f *b)
MRC_API const MR_Vector_unsigned_short_MR_VoxelId * MR_SimpleVolumeU16_Get_data(const MR_SimpleVolumeU16 *_this)
MRC_API MR_Box1f MR_VdbVolume_expanded(const MR_VdbVolume *_this, const float *expansion)
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_ConstructFrom(MR_PassBy data_pass_by, MR_std_function_unsigned_char_from_const_MR_Vector3i_ref *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_OffsetMutablePtr(MR_VoxelTraits_MR_FloatGrid *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_SimpleVolumeMinMax_getMaxBoxCorner(const float *n)
MRC_API const MR_SimpleVolume * MR_SimpleVolume_OffsetPtr(const MR_SimpleVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_AssignFromAnother(MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *_this, const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *_other)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_DefaultConstruct(void)
MRC_API void MR_SimpleVolumeU16_Set_dims(MR_SimpleVolumeU16 *_this, MR_Vector3i value)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_ConstructFromAnother(MR_PassBy _other_pass_by, MR_VoxelsVolume_MR_FloatGrid *_other)
MRC_API MR_Vector_unsigned_short_MR_VoxelId * MR_SimpleVolumeU16_GetMutable_data(MR_SimpleVolumeU16 *_this)
MRC_API void MR_VdbVolume_Set_min(MR_VdbVolume *_this, float value)
MRC_API MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_DefaultConstruct(void)
MRC_API const MR_Vector3f * MR_SimpleVolumeU16_Get_voxelSize(const MR_SimpleVolumeU16 *_this)
struct MR_VoxelTraits_MR_Vector_float_MR_VoxelId MR_VoxelTraits_MR_Vector_float_MR_VoxelId
Definition MRVoxelsVolume.h:97
MRC_API void MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_DestroyArray(const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *_this)
Destroys a heap-allocated array of MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref....
MRC_API void MR_SimpleVolumeMinMaxU16_DestroyArray(const MR_SimpleVolumeMinMaxU16 *_this)
Destroys a heap-allocated array of MR_SimpleVolumeMinMaxU16. Does nothing if the pointer is null.
MRC_API float * MR_SimpleVolumeMinMax_GetMutable_max(MR_SimpleVolumeMinMax *_this)
MRC_API bool MR_not_equal_MR_VdbVolume_MR_Box1f(const MR_VdbVolume *_this, const MR_Box1f *a)
MRC_API void MR_SimpleVolumeMinMax_Set_dims(MR_SimpleVolumeMinMax *_this, MR_Vector3i value)
MRC_API unsigned short * MR_SimpleVolumeMinMaxU16_GetMutable_min(MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_Vector3i * MR_SimpleVolumeU16_GetMutable_dims(MR_SimpleVolumeU16 *_this)
MRC_API const MR_Vector3f * MR_SimpleVolume_Get_voxelSize(const MR_SimpleVolume *_this)
MRC_API void MR_SimpleVolumeMinMax_DestroyArray(const MR_SimpleVolumeMinMax *_this)
Destroys a heap-allocated array of MR_SimpleVolumeMinMax. Does nothing if the pointer is null.
MRC_API const MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_OffsetPtr(const MR_SimpleVolumeMinMax *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_FunctionVolume * MR_FunctionVolume_DefaultConstructArray(size_t num_elems)
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_OffsetMutablePtr(MR_SimpleVolumeU16 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API float MR_SimpleVolumeMinMax_size(const MR_SimpleVolumeMinMax *_this)
MRC_API MR_VdbVolume * MR_VdbVolume_DefaultConstruct(void)
MRC_API MR_uint64_t MR_VdbVolume_heapBytes(const MR_VdbVolume *_this)
MRC_API float * MR_VdbVolume_GetMutable_min(MR_VdbVolume *_this)
MRC_API const MR_Box1f * MR_SimpleVolumeMinMax_UpcastTo_MR_Box1f(const MR_SimpleVolumeMinMax *object)
MRC_API float MR_VdbVolume_center(const MR_VdbVolume *_this)
MRC_API float MR_VdbVolume_size(const MR_VdbVolume *_this)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_Box_unsigned_short(MR_SimpleVolumeMinMaxU16 *object)
Upcasts an instance of MR::SimpleVolumeMinMaxU16 to its base class MR::Box<unsigned short>.
MRC_API MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_equal_MR_SimpleVolumeMinMax_MR_Box1f(const MR_SimpleVolumeMinMax *_this, const MR_Box1f *a)
struct MR_VoxelsVolume_MR_FloatGrid MR_VoxelsVolume_MR_FloatGrid
Definition MRVoxelsVolume.h:93
MRC_API const MR_Vector3i * MR_VoxelsVolume_MR_FloatGrid_Get_dims(const MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_AssignFromAnother(MR_VoxelTraits_MR_Vector_float_MR_VoxelId *_this, const MR_VoxelTraits_MR_Vector_float_MR_VoxelId *_other)
MRC_API const MR_Vector3f * MR_VoxelsVolume_MR_FloatGrid_Get_voxelSize(const MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API float MR_VdbVolume_diagonal(const MR_VdbVolume *_this)
MRC_API MR_Vector3f * MR_VoxelsVolume_MR_FloatGrid_GetMutable_voxelSize(MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_DefaultConstruct(void)
MRC_API MR_SimpleVolume * MR_SimpleVolume_DefaultConstruct(void)
MRC_API MR_Box1f MR_VdbVolume_intersection(const MR_VdbVolume *_this, const MR_Box1f *b)
MRC_API MR_Vector3f * MR_FunctionVolume_GetMutable_voxelSize(MR_FunctionVolume *_this)
MRC_API void MR_VdbVolume_Set_max(MR_VdbVolume *_this, float value)
MRC_API MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_ConstructFromAnother(const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *_other)
MRC_API const MR_VdbVolume * MR_VoxelsVolume_MR_FloatGrid_StaticDowncastTo_MR_VdbVolume(const MR_VoxelsVolume_MR_FloatGrid *object)
MRC_API MR_VdbVolume * MR_VdbVolume_AssignFromAnother(MR_VdbVolume *_this, MR_PassBy _other_pass_by, MR_VdbVolume *_other)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_fromMinAndSize(const unsigned short *min, const unsigned short *size)
MRC_API void MR_SimpleVolumeMinMax_Set_max(MR_SimpleVolumeMinMax *_this, float value)
MRC_API MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_DefaultConstruct(void)
MRC_API MR_FunctionVolume * MR_FunctionVolume_DefaultConstruct(void)
MRC_API void MR_FunctionVolume_DestroyArray(const MR_FunctionVolume *_this)
Destroys a heap-allocated array of MR_FunctionVolume. Does nothing if the pointer is null.
MRC_API const float * MR_VdbVolume_Get_max(const MR_VdbVolume *_this)
MRC_API const unsigned short * MR_SimpleVolumeMinMaxU16_Get_max(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_SimpleVolumeMinMax_Set_data(MR_SimpleVolumeMinMax *_this, MR_PassBy value_pass_by, MR_Vector_float_MR_VoxelId *value)
MRC_API const MR_Box1f * MR_VdbVolume_UpcastTo_MR_Box1f(const MR_VdbVolume *object)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_center(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_VoxelTraits_MR_VoxelBitSet_DestroyArray(const MR_VoxelTraits_MR_VoxelBitSet *_this)
Destroys a heap-allocated array of MR_VoxelTraits_MR_VoxelBitSet. Does nothing if the pointer is null...
MRC_API MR_Vector3i * MR_SimpleVolume_GetMutable_dims(MR_SimpleVolume *_this)
MRC_API MR_Vector3f * MR_SimpleVolumeMinMax_GetMutable_voxelSize(MR_SimpleVolumeMinMax *_this)
MRC_API const int * MR_SimpleVolumeMinMaxU16_Get_elements(void)
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_AssignFromAnother(MR_FunctionVolumeU8 *_this, MR_PassBy _other_pass_by, MR_FunctionVolumeU8 *_other)
MRC_API void MR_FunctionVolume_Set_dims(MR_FunctionVolume *_this, MR_Vector3i value)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getProjection(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt)
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_DefaultConstructArray(size_t num_elems)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_intersection(const MR_SimpleVolumeMinMaxU16 *_this, const MR_Box_unsigned_short *b)
MRC_API MR_Vector3i * MR_VdbVolume_GetMutable_dims(MR_VdbVolume *_this)
MRC_API const MR_Vector3i * MR_SimpleBinaryVolume_Get_dims(const MR_SimpleBinaryVolume *_this)
MRC_API void MR_FunctionVolume_Set_voxelSize(MR_FunctionVolume *_this, MR_Vector3f value)
MRC_API bool MR_VdbVolume_getMinBoxCorner(const float *n)
MRC_API MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_AssignFromAnother(MR_VoxelsVolume_MR_FloatGrid *_this, MR_PassBy _other_pass_by, MR_VoxelsVolume_MR_FloatGrid *_other)
MRC_API void MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_DestroyArray(const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *_this)
Destroys a heap-allocated array of MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId....
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_DefaultConstruct(void)
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_DefaultConstruct(void)
MRC_API unsigned short * MR_SimpleVolumeMinMaxU16_GetMutable_max(MR_SimpleVolumeMinMaxU16 *_this)
MRC_API const MR_VoxelsVolume_MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_OffsetPtr(const MR_VoxelsVolume_MR_FloatGrid *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API float MR_VdbVolume_getBoxClosestPointTo(const MR_VdbVolume *_this, const float *pt)
MRC_API MR_Box1f * MR_SimpleVolumeMinMax_MutableUpcastTo_MR_Box1f(MR_SimpleVolumeMinMax *object)
Upcasts an instance of MR::SimpleVolumeMinMax to its base class MR::Box1f.
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_OffsetMutablePtr(MR_SimpleVolumeMinMaxU16 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_SimpleVolumeMinMaxU16_intersects(const MR_SimpleVolumeMinMaxU16 *_this, const MR_Box_unsigned_short *b)
MRC_API const MR_FunctionVolumeU8 * MR_FunctionVolumeU8_OffsetPtr(const MR_FunctionVolumeU8 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_Vector3i * MR_FunctionVolume_Get_dims(const MR_FunctionVolume *_this)
MRC_API const MR_Vector3i * MR_SimpleVolumeMinMax_Get_dims(const MR_SimpleVolumeMinMax *_this)
MRC_API const MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_UpcastTo_MR_Box_unsigned_short(const MR_SimpleVolumeMinMaxU16 *object)
MRC_API void MR_SimpleBinaryVolume_Set_voxelSize(MR_SimpleBinaryVolume *_this, MR_Vector3f value)
MRC_API MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId * MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_OffsetMutablePtr(MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_Vector3i * MR_SimpleVolumeU16_Get_dims(const MR_SimpleVolumeU16 *_this)
MRC_API const MR_FloatGrid * MR_VdbVolume_Get_data(const MR_VdbVolume *_this)
MRC_API MR_Vector3f * MR_SimpleVolumeMinMaxU16_GetMutable_voxelSize(MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_VdbVolume * MR_VdbVolume_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SimpleBinaryVolume_DestroyArray(const MR_SimpleBinaryVolume *_this)
Destroys a heap-allocated array of MR_SimpleBinaryVolume. Does nothing if the pointer is null.
MRC_API MR_Vector3f * MR_SimpleBinaryVolume_GetMutable_voxelSize(MR_SimpleBinaryVolume *_this)
MRC_API MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_DefaultConstructArray(size_t num_elems)
MRC_API MR_VdbVolume * MR_VdbVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_VdbVolume *_other)
MRC_API MR_uint64_t MR_FunctionVolume_heapBytes(const MR_FunctionVolume *_this)
MRC_API MR_Vector3i * MR_FunctionVolumeU8_GetMutable_dims(MR_FunctionVolumeU8 *_this)
MRC_API const MR_Vector3i * MR_VdbVolume_Get_dims(const MR_VdbVolume *_this)
MRC_API MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_DefaultConstruct(void)
MRC_API void MR_VdbVolume_Set_voxelSize(MR_VdbVolume *_this, MR_Vector3f value)
MRC_API MR_SimpleVolume * MR_SimpleVolume_AssignFromAnother(MR_SimpleVolume *_this, MR_PassBy _other_pass_by, MR_SimpleVolume *_other)
MRC_API void MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_Destroy(const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_r...
struct MR_VoxelTraits_MR_VoxelBitSet MR_VoxelTraits_MR_VoxelBitSet
Definition MRVoxelsVolume.h:113
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SimpleVolumeMinMaxU16 *_other)
MRC_API const MR_Vector3f * MR_FunctionVolume_Get_voxelSize(const MR_FunctionVolume *_this)
MRC_API MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_DefaultConstruct(void)
MRC_API void MR_VoxelsVolume_MR_FloatGrid_Destroy(const MR_VoxelsVolume_MR_FloatGrid *_this)
Destroys a heap-allocated instance of MR_VoxelsVolume_MR_FloatGrid. Does nothing if the pointer is nu...
MRC_API MR_Box1f MR_SimpleVolumeMinMax_insignificantlyExpanded(const MR_SimpleVolumeMinMax *_this)
MRC_API void MR_SimpleVolumeMinMax_Set_min(MR_SimpleVolumeMinMax *_this, float value)
MRC_API bool MR_SimpleVolumeMinMaxU16_valid(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_ConstructFromAnother(const MR_VoxelTraits_MR_FloatGrid *_other)
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_DefaultConstructArray(size_t num_elems)
MRC_API MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_OffsetMutablePtr(MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_Vector_unsigned_short_MR_VoxelId * MR_SimpleVolumeMinMaxU16_Get_data(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API void MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId_Destroy(const MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_MR_Vector_unsigned_short_MR_VoxelId....
MRC_API MR_Vector3i * MR_SimpleVolumeMinMax_GetMutable_dims(MR_SimpleVolumeMinMax *_this)
MRC_API MR_Box1f MR_VdbVolume_insignificantlyExpanded(const MR_VdbVolume *_this)
MRC_API MR_FloatGrid * MR_VoxelsVolume_MR_FloatGrid_GetMutable_data(MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API const float * MR_SimpleVolumeMinMax_Get_min(const MR_SimpleVolumeMinMax *_this)
MRC_API const MR_VdbVolume * MR_VdbVolume_OffsetPtr(const MR_VdbVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VdbVolume * MR_VoxelsVolume_MR_FloatGrid_MutableStaticDowncastTo_MR_VdbVolume(MR_VoxelsVolume_MR_FloatGrid *object)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_size(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API float MR_VdbVolume_getProjection(const MR_VdbVolume *_this, const float *pt)
MRC_API const MR_VoxelsVolume_MR_FloatGrid * MR_VdbVolume_UpcastTo_MR_VoxelsVolume_MR_FloatGrid(const MR_VdbVolume *object)
MRC_API MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_ConstructFromAnother(const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *_other)
MRC_API MR_std_function_unsigned_char_from_const_MR_Vector3i_ref * MR_FunctionVolumeU8_GetMutable_data(MR_FunctionVolumeU8 *_this)
MRC_API MR_uint64_t MR_SimpleVolumeMinMaxU16_heapBytes(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API const MR_Vector3f * MR_SimpleVolumeMinMaxU16_Get_voxelSize(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_DefaultConstructArray(size_t num_elems)
MRC_API const MR_SimpleVolumeMinMax * MR_SimpleVolume_StaticDowncastTo_MR_SimpleVolumeMinMax(const MR_SimpleVolume *object)
MRC_API MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_DefaultConstructArray(size_t num_elems)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_AssignFromAnother(MR_SimpleBinaryVolume *_this, MR_PassBy _other_pass_by, MR_SimpleBinaryVolume *_other)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_DefaultConstructArray(size_t num_elems)
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_AssignFromAnother(MR_SimpleVolumeMinMaxU16 *_this, MR_PassBy _other_pass_by, MR_SimpleVolumeMinMaxU16 *_other)
MRC_API bool MR_VdbVolume_getMaxBoxCorner(const float *n)
MRC_API float MR_SimpleVolumeMinMax_corner(const MR_SimpleVolumeMinMax *_this, const bool *c)
MRC_API MR_uint64_t MR_VoxelsVolume_MR_FloatGrid_heapBytes(const MR_VoxelsVolume_MR_FloatGrid *_this)
MRC_API MR_FunctionVolume * MR_FunctionVolume_ConstructFrom(MR_PassBy data_pass_by, MR_std_function_float_from_const_MR_Vector3i_ref *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API void MR_VoxelTraits_MR_FloatGrid_DestroyArray(const MR_VoxelTraits_MR_FloatGrid *_this)
Destroys a heap-allocated array of MR_VoxelTraits_MR_FloatGrid. Does nothing if the pointer is null.
MRC_API MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_ConstructFromAnother(const MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *_other)
MRC_API const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_OffsetPtr(const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_FunctionVolume * MR_FunctionVolume_OffsetMutablePtr(MR_FunctionVolume *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_equal_MR_VdbVolume_MR_Box1f(const MR_VdbVolume *_this, const MR_Box1f *a)
MRC_API void MR_VoxelsVolume_MR_FloatGrid_Set_voxelSize(MR_VoxelsVolume_MR_FloatGrid *_this, MR_Vector3f value)
MRC_API MR_VoxelTraits_MR_VoxelBitSet * MR_VoxelTraits_MR_VoxelBitSet_ConstructFromAnother(const MR_VoxelTraits_MR_VoxelBitSet *_other)
MRC_API void MR_SimpleVolumeU16_Set_voxelSize(MR_SimpleVolumeU16 *_this, MR_Vector3f value)
MRC_API MR_uint64_t MR_SimpleVolume_heapBytes(const MR_SimpleVolume *_this)
MRC_API MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref_OffsetMutablePtr(MR_VoxelTraits_std_function_unsigned_char_func_from_const_MR_Vector3i_ref *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_SimpleVolumeU16_DestroyArray(const MR_SimpleVolumeU16 *_this)
Destroys a heap-allocated array of MR_SimpleVolumeU16. Does nothing if the pointer is null.
MRC_API MR_uint64_t MR_SimpleBinaryVolume_heapBytes(const MR_SimpleBinaryVolume *_this)
MRC_API void MR_SimpleVolume_DestroyArray(const MR_SimpleVolume *_this)
Destroys a heap-allocated array of MR_SimpleVolume. Does nothing if the pointer is null.
MRC_API MR_std_function_float_from_const_MR_Vector3i_ref * MR_FunctionVolume_GetMutable_data(MR_FunctionVolume *_this)
MRC_API void MR_SimpleVolume_Set_dims(MR_SimpleVolume *_this, MR_Vector3i value)
MRC_API bool MR_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short(const MR_SimpleVolumeMinMaxU16 *_this, const MR_Box_unsigned_short *a)
MRC_API MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_AssignFromAnother(MR_VoxelTraits_MR_FloatGrid *_this, const MR_VoxelTraits_MR_FloatGrid *_other)
MRC_API const MR_Vector3f * MR_VdbVolume_Get_voxelSize(const MR_VdbVolume *_this)
struct MR_VoxelTraits_MR_FloatGrid MR_VoxelTraits_MR_FloatGrid
Definition MRVoxelsVolume.h:117
MRC_API void MR_VoxelsVolume_MR_FloatGrid_Set_data(MR_VoxelsVolume_MR_FloatGrid *_this, MR_PassBy value_pass_by, MR_FloatGrid *value)
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SimpleVolumeU16 *_other)
MRC_API MR_VoxelTraits_MR_Vector_float_MR_VoxelId * MR_VoxelTraits_MR_Vector_float_MR_VoxelId_ConstructFromAnother(const MR_VoxelTraits_MR_Vector_float_MR_VoxelId *_other)
MRC_API void MR_SimpleBinaryVolume_Set_data(MR_SimpleBinaryVolume *_this, MR_PassBy value_pass_by, MR_VoxelBitSet *value)
MRC_API MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref * MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref_AssignFromAnother(MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *_this, const MR_VoxelTraits_std_function_float_func_from_const_MR_Vector3i_ref *_other)
MRC_API unsigned short MR_SimpleVolumeMinMaxU16_volume(const MR_SimpleVolumeMinMaxU16 *_this)
MRC_API float MR_SimpleVolumeMinMax_center(const MR_SimpleVolumeMinMax *_this)
MRC_API MR_Box_unsigned_short * MR_SimpleVolumeMinMaxU16_expanded(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *expansion)
MRC_API const MR_SimpleVolumeU16 * MR_SimpleVolumeMinMaxU16_UpcastTo_MR_SimpleVolumeU16(const MR_SimpleVolumeMinMaxU16 *object)
MRC_API const int * MR_SimpleVolumeMinMax_Get_elements(void)
MRC_API MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SimpleVolumeMinMax *_other)
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_ConstructFrom(MR_PassBy data_pass_by, MR_Vector_unsigned_short_MR_VoxelId *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API const MR_VoxelBitSet * MR_SimpleBinaryVolume_Get_data(const MR_SimpleBinaryVolume *_this)
MRC_API float * MR_VdbVolume_GetMutable_max(MR_VdbVolume *_this)
MRC_API void MR_VoxelTraits_MR_Vector_float_MR_VoxelId_Destroy(const MR_VoxelTraits_MR_Vector_float_MR_VoxelId *_this)
Destroys a heap-allocated instance of MR_VoxelTraits_MR_Vector_float_MR_VoxelId. Does nothing if the ...
MRC_API void MR_SimpleBinaryVolume_Destroy(const MR_SimpleBinaryVolume *_this)
Destroys a heap-allocated instance of MR_SimpleBinaryVolume. Does nothing if the pointer is null.
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_SimpleVolumeU16(MR_SimpleVolumeMinMaxU16 *object)
Upcasts an instance of MR::SimpleVolumeMinMaxU16 to its base class MR::SimpleVolumeU16.
MRC_API const MR_SimpleVolumeU16 * MR_SimpleVolumeU16_OffsetPtr(const MR_SimpleVolumeU16 *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
struct MR_FloatGrid MR_FloatGrid
Definition expected_MR_FloatGrid_std_string.h:13
struct MR_FunctionVolume MR_FunctionVolume
Definition expected_MR_FunctionVolume_std_string.h:13
struct MR_SimpleBinaryVolume MR_SimpleBinaryVolume
Definition expected_MR_SimpleBinaryVolume_std_string.h:13
struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string
Definition expected_MR_SimpleVolumeMinMax_std_string.h:19
struct MR_SimpleVolume MR_SimpleVolume
Definition expected_MR_SimpleVolume_std_string.h:13
#define MRC_API
Definition exports.h:11
size_t size() const
const Vector3i & dims() const
struct MR_std_function_float_from_const_MR_Vector3i_ref MR_std_function_float_from_const_MR_Vector3i_ref
Definition std_function_float_from_const_MR_Vector3i_ref.h:17
struct MR_std_function_unsigned_char_from_const_MR_Vector3i_ref MR_std_function_unsigned_char_from_const_MR_Vector3i_ref
Definition std_function_unsigned_char_from_const_MR_Vector3i_ref.h:17
Definition MRBox.h:46
Definition MRVector3.h:52
Definition MRVector3.h:34