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
129
134
139
145
150
155
161
166
170
175
180
185
190
195
200
204
209
213
217
221
224
228
231
236
239
242
249
253
258
263
268
276
282
288
293
298
303
309
315
321
327
334
340
345
350
355
360
366
371
376
382
387
392
398
403
407
412
418
423
428
434
439
443
448
452
456
460
463
467
470
475
478
481
488
492
497MRC_API MR_Box_unsigned_short *MR_SimpleVolumeMinMaxU16_fromMinAndSize(const unsigned short *min, const unsigned short *size);
498
503
508
515MRC_API unsigned short MR_SimpleVolumeMinMaxU16_corner(const MR_SimpleVolumeMinMaxU16 *_this, const bool *c);
516
522
528
533
538
543
548MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
549
555
562
568
574MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getProjection(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
575
582
588
593
598
603
609
614
619
625
630
635
641
646
650
654MRC_API const float *MR_VdbVolume_Get_min(const MR_VdbVolume *_this);
655
659MRC_API void MR_VdbVolume_Set_min(MR_VdbVolume *_this, float value);
660
665
669MRC_API const float *MR_VdbVolume_Get_max(const MR_VdbVolume *_this);
670
674MRC_API void MR_VdbVolume_Set_max(MR_VdbVolume *_this, float value);
675
680
684
689
693
697
701
704
708
711
716
719
722
729
733
737MRC_API MR_Box1f MR_VdbVolume_fromMinAndSize(const float *min, const float *size);
738
743
748
755MRC_API float MR_VdbVolume_corner(const MR_VdbVolume *_this, const bool *c);
756
762
768
773
778
783
788MRC_API float MR_VdbVolume_getBoxClosestPointTo(const MR_VdbVolume *_this, const float *pt);
789
795
801
807
813MRC_API float MR_VdbVolume_getProjection(const MR_VdbVolume *_this, const float *pt);
814
819MRC_API MR_Box1f MR_VdbVolume_expanded(const MR_VdbVolume *_this, const float *expansion);
820
825
830
835
840
846
851
856
862
867
872
878
883
887
892
900
904
908
913
916
919
926
930
935
941
946
951
957
962
967
973
978
982
987
995
999
1003
1008
1011
1014
1021
1025
1030
1036
1041
1046
1052
1057
1062
1068
1073
1077
1082
1090
1094
1098
1103
1107
1112
1115
1118
1125
1129
1134
1140
1145
1150
1156
1161
1166
1172
1177
1181
1186
1194
1198
1202
1207
1211
1216
1219
1222
1229
1233
1238
1244
1249
1254
1260
1265
1270
1276
1281
1285
1290
1298
1302
1306
1311
1314
1317
1324
1328
1333
1339
1344
1349
1355
1360
1365
1371
1376
1380
1385
1393
1397
1401
1406
1410
1415
1418
1421
1428
1432
1436
1441
1445
1449
1455
1458
1461
1469
1473
1478
1482
1486
1492
1495
1498
1506
1510
1515
1519
1523
1529
1532
1535
1543
1547
1552
1556
1560
1566
1569
1572
1580
1584
1589
1593
1597
1603
1606
1609
1617
1621
1626
1630
1634
1640
1643
1646
1654
1662
1663#ifdef __cplusplus
1664} // extern "C"
1665#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)
MRC_API MR_FunctionVolumeU8 * MR_FunctionVolumeU8_OffsetMutablePtr(MR_FunctionVolumeU8 *ptr, ptrdiff_t i)
MRC_API const MR_VoxelTraits_MR_FloatGrid * MR_VoxelTraits_MR_FloatGrid_OffsetPtr(const MR_VoxelTraits_MR_FloatGrid *ptr, ptrdiff_t i)
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)
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)
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)
MRC_API const MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_OffsetPtr(const MR_SimpleBinaryVolume *ptr, ptrdiff_t i)
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)
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)
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)
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)
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)
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)
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)
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)
MRC_API MR_SimpleVolume * MR_SimpleVolume_OffsetMutablePtr(MR_SimpleVolume *ptr, ptrdiff_t i)
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)
MRC_API bool MR_SimpleVolumeMinMax_getMaxBoxCorner(const float *n)
MRC_API const MR_SimpleVolume * MR_SimpleVolume_OffsetPtr(const MR_SimpleVolume *ptr, ptrdiff_t i)
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)
MRC_API MR_FunctionVolume * MR_FunctionVolume_DefaultConstructArray(size_t num_elems)
MRC_API MR_SimpleVolumeU16 * MR_SimpleVolumeU16_OffsetMutablePtr(MR_SimpleVolumeU16 *ptr, ptrdiff_t i)
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)
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)
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)
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)
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)
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)
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)
MRC_API MR_FunctionVolume * MR_FunctionVolume_OffsetMutablePtr(MR_FunctionVolume *ptr, ptrdiff_t i)
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)
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)
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