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
124
129MRC_API void MR_SimpleVolumeMinMax_Set_data(MR_SimpleVolumeMinMax *_this, MR_PassBy value_pass_by, MR_Vector_float_MR_VoxelId *value);
130
136
142
148
154
160
166
172
175MRC_API const int *MR_SimpleVolumeMinMax_Get_elements(void);
176
181MRC_API const float *MR_SimpleVolumeMinMax_Get_min(const MR_SimpleVolumeMinMax *_this);
182
186MRC_API void MR_SimpleVolumeMinMax_Set_min(MR_SimpleVolumeMinMax *_this, float value);
187
193
198MRC_API const float *MR_SimpleVolumeMinMax_Get_max(const MR_SimpleVolumeMinMax *_this);
199
203MRC_API void MR_SimpleVolumeMinMax_Set_max(MR_SimpleVolumeMinMax *_this, float value);
204
210
214
219
223
227
232
236
241
245
250
253
256
263
267
271MRC_API MR_Box1f MR_SimpleVolumeMinMax_fromMinAndSize(const float *min, const float *size);
272
277
282
289MRC_API float MR_SimpleVolumeMinMax_corner(const MR_SimpleVolumeMinMax *_this, const bool *c);
290
295MRC_API bool MR_SimpleVolumeMinMax_getMinBoxCorner(const float *n);
296
301MRC_API bool MR_SimpleVolumeMinMax_getMaxBoxCorner(const float *n);
302
307
312
317
322MRC_API float MR_SimpleVolumeMinMax_getBoxClosestPointTo(const MR_SimpleVolumeMinMax *_this, const float *pt);
323
329
335
341
347MRC_API float MR_SimpleVolumeMinMax_getProjection(const MR_SimpleVolumeMinMax *_this, const float *pt);
348
353MRC_API MR_Box1f MR_SimpleVolumeMinMax_expanded(const MR_SimpleVolumeMinMax *_this, const float *expansion);
354
359
364
369
375
381
387
393
399
405
411
417
423
427
432MRC_API const unsigned short *MR_SimpleVolumeMinMaxU16_Get_min(const MR_SimpleVolumeMinMaxU16 *_this);
433
438MRC_API void MR_SimpleVolumeMinMaxU16_Set_min(MR_SimpleVolumeMinMaxU16 *_this, unsigned short value);
439
445
450MRC_API const unsigned short *MR_SimpleVolumeMinMaxU16_Get_max(const MR_SimpleVolumeMinMaxU16 *_this);
451
456MRC_API void MR_SimpleVolumeMinMaxU16_Set_max(MR_SimpleVolumeMinMaxU16 *_this, unsigned short value);
457
463
467
472
476
480
485
489
494
498
503
506
509
516
520
525MRC_API MR_Box_unsigned_short *MR_SimpleVolumeMinMaxU16_fromMinAndSize(const unsigned short *min, const unsigned short *size);
526
531
536
543MRC_API unsigned short MR_SimpleVolumeMinMaxU16_corner(const MR_SimpleVolumeMinMaxU16 *_this, const bool *c);
544
549MRC_API bool MR_SimpleVolumeMinMaxU16_getMinBoxCorner(const unsigned short *n);
550
555MRC_API bool MR_SimpleVolumeMinMaxU16_getMaxBoxCorner(const unsigned short *n);
556
560MRC_API unsigned short MR_SimpleVolumeMinMaxU16_size(const MR_SimpleVolumeMinMaxU16 *_this);
561
566
571
576MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
577
583
590
596
602MRC_API unsigned short MR_SimpleVolumeMinMaxU16_getProjection(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *pt);
603
609MRC_API MR_Box_unsigned_short *MR_SimpleVolumeMinMaxU16_expanded(const MR_SimpleVolumeMinMaxU16 *_this, const unsigned short *expansion);
610
616
621
626
632
637MRC_API void MR_VdbVolume_Set_data(MR_VdbVolume *_this, MR_PassBy value_pass_by, MR_FloatGrid *value);
638
644
649MRC_API const MR_Vector3i *MR_VdbVolume_Get_dims(const MR_VdbVolume *_this);
650
656
662
668
674
680
683MRC_API const int *MR_VdbVolume_Get_elements(void);
684
689MRC_API const float *MR_VdbVolume_Get_min(const MR_VdbVolume *_this);
690
694MRC_API void MR_VdbVolume_Set_min(MR_VdbVolume *_this, float value);
695
701
706MRC_API const float *MR_VdbVolume_Get_max(const MR_VdbVolume *_this);
707
711MRC_API void MR_VdbVolume_Set_max(MR_VdbVolume *_this, float value);
712
718
722
727
730MRC_API const MR_VdbVolume *MR_VdbVolume_OffsetPtr(const MR_VdbVolume *ptr, ptrdiff_t i);
731
735
740
744
749
753
757MRC_API MR_VdbVolume *MR_VdbVolume_ConstructFromAnother(MR_PassBy _other_pass_by, MR_VdbVolume *_other);
758
760MRC_API void MR_VdbVolume_Destroy(const MR_VdbVolume *_this);
761
763MRC_API void MR_VdbVolume_DestroyArray(const MR_VdbVolume *_this);
764
770MRC_API MR_VdbVolume *MR_VdbVolume_AssignFromAnother(MR_VdbVolume *_this, MR_PassBy _other_pass_by, MR_VdbVolume *_other);
771
774MRC_API MR_uint64_t MR_VdbVolume_heapBytes(const MR_VdbVolume *_this);
775
779MRC_API MR_Box1f MR_VdbVolume_fromMinAndSize(const float *min, const float *size);
780
784MRC_API bool MR_VdbVolume_valid(const MR_VdbVolume *_this);
785
789MRC_API float MR_VdbVolume_center(const MR_VdbVolume *_this);
790
797MRC_API float MR_VdbVolume_corner(const MR_VdbVolume *_this, const bool *c);
798
803MRC_API bool MR_VdbVolume_getMinBoxCorner(const float *n);
804
809MRC_API bool MR_VdbVolume_getMaxBoxCorner(const float *n);
810
814MRC_API float MR_VdbVolume_size(const MR_VdbVolume *_this);
815
819MRC_API float MR_VdbVolume_diagonal(const MR_VdbVolume *_this);
820
824MRC_API float MR_VdbVolume_volume(const MR_VdbVolume *_this);
825
830MRC_API float MR_VdbVolume_getBoxClosestPointTo(const MR_VdbVolume *_this, const float *pt);
831
836MRC_API bool MR_VdbVolume_intersects(const MR_VdbVolume *_this, const MR_Box1f *b);
837
843
849
855MRC_API float MR_VdbVolume_getProjection(const MR_VdbVolume *_this, const float *pt);
856
861MRC_API MR_Box1f MR_VdbVolume_expanded(const MR_VdbVolume *_this, const float *expansion);
862
867
871MRC_API bool MR_equal_MR_VdbVolume_MR_Box1f(const MR_VdbVolume *_this, const MR_Box1f *a);
872
876MRC_API bool MR_not_equal_MR_VdbVolume_MR_Box1f(const MR_VdbVolume *_this, const MR_Box1f *a);
877
883
889
895
901
907
913
919
925
931
935
940
948
952
956
961
964
967
974
977MRC_API MR_uint64_t MR_FunctionVolume_heapBytes(const MR_FunctionVolume *_this);
978
984
990
996
1002
1008
1014
1020
1026
1032
1036
1041
1049
1053
1057
1062
1065
1068
1075
1078MRC_API MR_uint64_t MR_FunctionVolumeU8_heapBytes(const MR_FunctionVolumeU8 *_this);
1079
1085
1090MRC_API void MR_SimpleVolume_Set_data(MR_SimpleVolume *_this, MR_PassBy value_pass_by, MR_Vector_float_MR_VoxelId *value);
1091
1097
1103
1109
1115
1121
1127
1133
1137
1142
1150
1153MRC_API const MR_SimpleVolume *MR_SimpleVolume_OffsetPtr(const MR_SimpleVolume *ptr, ptrdiff_t i);
1154
1158
1164
1169
1174
1176MRC_API void MR_SimpleVolume_Destroy(const MR_SimpleVolume *_this);
1177
1180
1186MRC_API MR_SimpleVolume *MR_SimpleVolume_AssignFromAnother(MR_SimpleVolume *_this, MR_PassBy _other_pass_by, MR_SimpleVolume *_other);
1187
1190MRC_API MR_uint64_t MR_SimpleVolume_heapBytes(const MR_SimpleVolume *_this);
1191
1197
1202MRC_API void MR_SimpleVolumeU16_Set_data(MR_SimpleVolumeU16 *_this, MR_PassBy value_pass_by, MR_Vector_unsigned_short_MR_VoxelId *value);
1203
1209
1215
1221
1227
1233
1239
1245
1249
1254
1262
1266
1270
1276
1281
1286
1289
1292
1299
1302MRC_API MR_uint64_t MR_SimpleVolumeU16_heapBytes(const MR_SimpleVolumeU16 *_this);
1303
1309
1314MRC_API void MR_SimpleBinaryVolume_Set_data(MR_SimpleBinaryVolume *_this, MR_PassBy value_pass_by, MR_VoxelBitSet *value);
1315
1321
1327
1333
1339
1345
1351
1357
1361
1366
1374
1378
1382
1387
1390
1393
1400
1404
1410
1415MRC_API void MR_VoxelsVolume_MR_FloatGrid_Set_data(MR_VoxelsVolume_MR_FloatGrid *_this, MR_PassBy value_pass_by, MR_FloatGrid *value);
1416
1422
1428
1434
1440
1446
1452
1458
1462
1467
1475
1479
1483
1489
1494
1499
1502
1505
1512
1516
1520
1525
1529
1533
1539
1542
1545
1553
1557
1562
1566
1570
1576
1579
1582
1590
1594
1599
1603
1607
1613
1616
1619
1627
1631
1636
1640
1644
1650
1653
1656
1664
1668
1673
1677
1681
1687
1690
1693
1701
1705
1710
1714
1718
1724
1727
1730
1738
1746
1747#ifdef __cplusplus
1748} // extern "C"
1749#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_FloatGrid MR_FloatGrid
Definition MRBoolean.h:13
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_FunctionVolume MR_FunctionVolume
Definition MRFillingSurface.h:14
struct MR_SimpleVolume MR_SimpleVolume
Definition MRMarchingCubes.h:16
struct MR_SimpleBinaryVolume MR_SimpleBinaryVolume
Definition MRMarchingCubes.h:15
struct MR_expected_MR_SimpleVolumeMinMax_std_string MR_expected_MR_SimpleVolumeMinMax_std_string
Definition MRMeshToDistanceVolume.h:21
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:730
struct MR_Vector_float_MR_VoxelId MR_Vector_float_MR_VoxelId
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:720
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)
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)
struct MR_std_function_unsigned_char_from_const_MR_Vector3i_ref MR_std_function_unsigned_char_from_const_MR_Vector3i_ref
Definition MRVoxelsVolume.h:23
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)
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)
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
struct MR_std_function_float_from_const_MR_Vector3i_ref MR_std_function_float_from_const_MR_Vector3i_ref
Definition MRVoxelsVolume.h:22
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 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)
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)
MRC_API const MR_SimpleVolumeU16 * MR_SimpleVolumeU16_OffsetPtr(const MR_SimpleVolumeU16 *ptr, ptrdiff_t i)
Definition MRBox.h:46
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Generated from class MR::Vector3i.
Definition MRVector3.h:63