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
54typedef struct MR_VdbVolume MR_VdbVolume;
55
60
65
72typedef struct MR_SimpleVolume MR_SimpleVolume;
73
81
86
94
98
102
106
110
114
118
124
130
136
142
148
154
160
166
172
176
182
187
193
199
204
210
214
219
223
227
232
236
242
247
252
256
262
267
272
275
278
285
289
293MRC_API MR_Box1f MR_SimpleVolumeMinMax_fromMinAndSize(const float *min, const float *size);
294
299
304
312
318
324
329
334
339
345
351
357
363
370
376
381
386
391
397
403
409
415
421
427
433
439
445
449
455
461
467
473
479
485
489
494
498
502
507
511
517
522
527
531
537
542
547
550
553
560
564
569MRC_API MR_Box_unsigned_short *MR_SimpleVolumeMinMaxU16_fromMinAndSize(const unsigned short *min, const unsigned short *size);
570
575
580
587MRC_API unsigned short MR_SimpleVolumeMinMaxU16_corner(const MR_SimpleVolumeMinMaxU16 *_this, const bool *c);
588
594
600
605
610
615
620MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
621
627
634
640
646MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getProjection(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
647
654
660
665
670
676
682
688
694
700
706
712
718
724
728
733MRC_API const float *MR_VdbVolume_Get_min(const MR_VdbVolume *_this);
734
738MRC_API void MR_VdbVolume_Set_min(MR_VdbVolume *_this, float value);
739
745
750MRC_API const float *MR_VdbVolume_Get_max(const MR_VdbVolume *_this);
751
755MRC_API void MR_VdbVolume_Set_max(MR_VdbVolume *_this, float value);
756
762
766
771
775
779
784
788
794
799
804
808
814
819
824
827
830
837
841
845MRC_API MR_Box1f MR_VdbVolume_fromMinAndSize(const float *min, const float *size);
846
851
856
863MRC_API float MR_VdbVolume_corner(const MR_VdbVolume *_this, const bool *c);
864
870
876
881
886
891
896MRC_API float MR_VdbVolume_getBoxClosestPointTo(const MR_VdbVolume *_this, const float *pt);
897
903
909
915
921MRC_API float MR_VdbVolume_getProjection(const MR_VdbVolume *_this, const float *pt);
922
927MRC_API MR_Box1f MR_VdbVolume_expanded(const MR_VdbVolume *_this, const float *expansion);
928
933
938
943
949
955
961
967
973
979
985
991
997
1001
1006
1014
1018
1022
1027
1030
1033
1040
1044
1050
1056
1062
1068
1074
1080
1086
1092
1098
1102
1107
1115
1119
1123
1128
1131
1134
1141
1145
1151
1157
1163
1169
1175
1181
1187
1193
1199
1203
1208
1216
1220
1224
1229
1232
1235
1242
1246
1252
1258
1264
1270
1276
1282
1288
1294
1300
1304
1309
1317
1321
1325
1330
1333
1336
1343
1347
1353
1359
1365
1371
1377
1383
1389
1395
1401
1405
1410
1418
1422
1426
1431
1434
1437
1444
1448
1454
1460
1466
1472
1478
1484
1490
1496
1502
1506
1511
1519
1523
1527
1532
1535
1538
1545
1549
1553
1558
1562
1566
1572
1575
1578
1586
1590
1595
1599
1603
1609
1612
1615
1623
1627
1632
1636
1640
1646
1649
1652
1660
1664
1669
1673
1677
1683
1686
1689
1697
1701
1706
1710
1714
1720
1723
1726
1734
1738
1743
1747
1751
1757
1760
1763
1771
1779
1780#ifdef __cplusplus
1781} // extern "C"
1782#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_Box_unsigned_short MR_Box_unsigned_short
Definition MRBox.h:126
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:862
struct MR_Vector_float_MR_VoxelId MR_Vector_float_MR_VoxelId
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:852
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 const MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_StaticDowncastFrom_MR_Box_unsigned_short(const MR_Box_unsigned_short *object)
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_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_StaticDowncastFrom_MR_Box1f(const MR_Box1f *object)
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)
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_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_StaticDowncastFrom_MR_SimpleVolume(const MR_SimpleVolume *object)
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 MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_SimpleVolumeU16(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 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_VdbVolume * MR_VdbVolume_MutableStaticDowncastFrom_MR_VoxelsVolume_MR_FloatGrid(MR_VoxelsVolume_MR_FloatGrid *object)
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 const MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_StaticDowncastFrom_MR_SimpleVolumeU16(const MR_SimpleVolumeU16 *object)
MRC_API MR_SimpleBinaryVolume * MR_SimpleBinaryVolume_ConstructFrom(MR_PassBy data_pass_by, MR_VoxelBitSet *data, MR_Vector3i dims, MR_Vector3f voxelSize)
MRC_API MR_SimpleVolumeMinMaxU16 * MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_Box_unsigned_short(MR_Box_unsigned_short *object)
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)
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 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 const MR_VdbVolume * MR_VdbVolume_StaticDowncastFrom_MR_Box1f(const MR_Box1f *object)
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)
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)
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 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_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_MutableStaticDowncastFrom_MR_SimpleVolume(MR_SimpleVolume *object)
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)
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 MR_SimpleVolumeMinMax * MR_SimpleVolumeMinMax_MutableStaticDowncastFrom_MR_Box1f(MR_Box1f *object)
MRC_API MR_VdbVolume * MR_VdbVolume_MutableStaticDowncastFrom_MR_Box1f(MR_Box1f *object)
MRC_API const MR_VdbVolume * MR_VdbVolume_OffsetPtr(const MR_VdbVolume *ptr, ptrdiff_t i)
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 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 const MR_VdbVolume * MR_VdbVolume_StaticDowncastFrom_MR_VoxelsVolume_MR_FloatGrid(const MR_VoxelsVolume_MR_FloatGrid *object)
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)
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_SimpleVolumeMinMaxU16 MR_SimpleVolumeMinMaxU16
Definition expected_MR_SimpleVolumeMinMaxU16_std_string.h:13
struct MR_SimpleVolumeMinMax MR_SimpleVolumeMinMax
Definition expected_MR_SimpleVolumeMinMax_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
struct MR_VdbVolume MR_VdbVolume
Definition expected_MR_VdbVolume_std_string.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
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:18
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:18
Definition MRBox.h:43
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Generated from class MR::Vector3i.
Definition MRVector3.h:63