Go to the source code of this file.
Typedefs | |
| typedef struct MR_Nesting_TetrisDensifyOptions | MR_Nesting_TetrisDensifyOptions |
| typedef struct MR_Nesting_TetrisDensifyParams | MR_Nesting_TetrisDensifyParams |
| typedef struct MR_Nesting_TetrisDensifyOptions MR_Nesting_TetrisDensifyOptions |
Generated from class MR::Nesting::TetrisDensifyOptions. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_Nesting_TetrisDensifyParams MR_Nesting_TetrisDensifyParams |
Generated from class MR::Nesting::TetrisDensifyParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_AssignFromAnother | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_Nesting_TetrisDensifyOptions * | _other ) |
Generated from method MR::Nesting::TetrisDensifyOptions::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_ConstructFrom | ( | float | voxelSize, |
| MR_PassBy | densificationSequence_pass_by, | ||
| MR_std_vector_MR_OutEdge * | densificationSequence, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb, | ||
| MR_Vector_MR_ObjId_MR_VoxelId * | nestVoxelsCache, | ||
| MR_Vector3i * | nestDimensionsCache, | ||
| MR_VoxelBitSet * | occupiedVoxelsCache ) |
Constructs MR::Nesting::TetrisDensifyOptions elementwise. The reference to the parameter densificationSequence might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter nestVoxelsCache might be preserved in the constructed object. The reference to the parameter nestDimensionsCache might be preserved in the constructed object. The reference to the parameter occupiedVoxelsCache might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyOptions_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_Nesting_TetrisDensifyOptions * | _other ) |
Generated from constructor MR::Nesting::TetrisDensifyOptions::TetrisDensifyOptions. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyOptions_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyOptions_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Nesting_TetrisDensifyOptions_DestroyArray(). Use MR_Nesting_TetrisDensifyOptions_OffsetMutablePtr() and MR_Nesting_TetrisDensifyOptions_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Destroy | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_TetrisDensifyOptions. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_TetrisDensifyOptions_DestroyArray | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_TetrisDensifyOptions. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_Nesting_TetrisDensifyOptions_Get_cb | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_std_vector_MR_OutEdge * MR_Nesting_TetrisDensifyOptions_Get_densificationSequence | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
tetris box will be densify in these directions one by one Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3i *const * MR_Nesting_TetrisDensifyOptions_Get_nestDimensionsCache | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
[in/out] dimensions of the nest (complimentary to voxels data) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element nestDimensionsCache. When this function is called, this object will drop object references it held previously in nestDimensionsCache.
| MRC_API MR_Vector_MR_ObjId_MR_VoxelId *const * MR_Nesting_TetrisDensifyOptions_Get_nestVoxelsCache | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
[in/out] pre-allocated voxels vector (to speedup allocation) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element nestVoxelsCache. When this function is called, this object will drop object references it held previously in nestVoxelsCache.
| MRC_API MR_VoxelBitSet *const * MR_Nesting_TetrisDensifyOptions_Get_occupiedVoxelsCache | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
[in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element occupiedVoxelsCache. When this function is called, this object will drop object references it held previously in occupiedVoxelsCache.
| MRC_API const float * MR_Nesting_TetrisDensifyOptions_Get_voxelSize | ( | const MR_Nesting_TetrisDensifyOptions * | _this | ) |
size of block for tetris box Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_function_bool_from_float * MR_Nesting_TetrisDensifyOptions_GetMutable_cb | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named cb. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value. [in/out] pre-allocated voxels vector (to speedup allocation) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_std_vector_MR_OutEdge * MR_Nesting_TetrisDensifyOptions_GetMutable_densificationSequence | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
tetris box will be densify in these directions one by one Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3i ** MR_Nesting_TetrisDensifyOptions_GetMutable_nestDimensionsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
[in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector_MR_ObjId_MR_VoxelId ** MR_Nesting_TetrisDensifyOptions_GetMutable_nestVoxelsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
[in/out] dimensions of the nest (complimentary to voxels data) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_VoxelBitSet ** MR_Nesting_TetrisDensifyOptions_GetMutable_occupiedVoxelsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
| MRC_API float * MR_Nesting_TetrisDensifyOptions_GetMutable_voxelSize | ( | MR_Nesting_TetrisDensifyOptions * | _this | ) |
size of block for tetris box Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_OffsetMutablePtr | ( | MR_Nesting_TetrisDensifyOptions * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyOptions_OffsetPtr | ( | const MR_Nesting_TetrisDensifyOptions * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_cb | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named cb. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element cb. When this function is called, this object will drop object references it held previously in cb.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_densificationSequence | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_vector_MR_OutEdge * | value ) |
tetris box will be densify in these directions one by one Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element densificationSequence. When this function is called, this object will drop object references it held previously in densificationSequence.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_nestDimensionsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_Vector3i * | value ) |
[in/out] dimensions of the nest (complimentary to voxels data) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_nestVoxelsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_Vector_MR_ObjId_MR_VoxelId * | value ) |
[in/out] pre-allocated voxels vector (to speedup allocation) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_occupiedVoxelsCache | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| MR_VoxelBitSet * | value ) |
[in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API void MR_Nesting_TetrisDensifyOptions_Set_voxelSize | ( | MR_Nesting_TetrisDensifyOptions * | _this, |
| float | value ) |
size of block for tetris box Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in voxelSize.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_AssignFromAnother | ( | MR_Nesting_TetrisDensifyParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_Nesting_TetrisDensifyParams * | _other ) |
Generated from method MR::Nesting::TetrisDensifyParams::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_ConstructFrom | ( | const MR_Nesting_NestingBaseParams * | baseParams, |
| MR_PassBy | options_pass_by, | ||
| MR_Nesting_TetrisDensifyOptions * | options ) |
Constructs MR::Nesting::TetrisDensifyParams elementwise. Parameter baseParams can not be null. It is a single object. The reference to the parameter baseParams might be preserved in the constructed object. The reference to the parameter options might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_Nesting_TetrisDensifyParams * | _other ) |
Generated from constructor MR::Nesting::TetrisDensifyParams::TetrisDensifyParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_TetrisDensifyParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Nesting_TetrisDensifyParams_DestroyArray(). Use MR_Nesting_TetrisDensifyParams_OffsetMutablePtr() and MR_Nesting_TetrisDensifyParams_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_TetrisDensifyParams_Destroy | ( | const MR_Nesting_TetrisDensifyParams * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_TetrisDensifyParams. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_TetrisDensifyParams_DestroyArray | ( | const MR_Nesting_TetrisDensifyParams * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_TetrisDensifyParams. Does nothing if the pointer is null.
| MRC_API const MR_Nesting_NestingBaseParams * MR_Nesting_TetrisDensifyParams_Get_baseParams | ( | const MR_Nesting_TetrisDensifyParams * | _this | ) |
Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyParams named baseParams. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API const MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyParams_Get_options | ( | const MR_Nesting_TetrisDensifyParams * | _this | ) |
Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyParams named options. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Nesting_NestingBaseParams * MR_Nesting_TetrisDensifyParams_GetMutable_baseParams | ( | MR_Nesting_TetrisDensifyParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyParams named baseParams. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Nesting_TetrisDensifyOptions * MR_Nesting_TetrisDensifyParams_GetMutable_options | ( | MR_Nesting_TetrisDensifyParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyParams named options. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.
| MRC_API MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_OffsetMutablePtr | ( | MR_Nesting_TetrisDensifyParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_Nesting_TetrisDensifyParams * MR_Nesting_TetrisDensifyParams_OffsetPtr | ( | const MR_Nesting_TetrisDensifyParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_Nesting_TetrisDensifyParams_Set_baseParams | ( | MR_Nesting_TetrisDensifyParams * | _this, |
| const MR_Nesting_NestingBaseParams * | value ) |
Modifies a member variable of class MR::Nesting::TetrisDensifyParams named baseParams. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element baseParams. When this function is called, this object will drop object references it held previously in baseParams.
| MRC_API void MR_Nesting_TetrisDensifyParams_Set_options | ( | MR_Nesting_TetrisDensifyParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_Nesting_TetrisDensifyOptions * | value ) |
Modifies a member variable of class MR::Nesting::TetrisDensifyParams named options. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element options. When this function is called, this object will drop object references it held previously in options.
| MRC_API MR_expected_MR_Vector_MR_AffineXf3f_MR_ObjId_std_string * MR_Nesting_tetrisNestingDensify | ( | const MR_Vector_MR_Nesting_MeshXf_MR_ObjId * | meshes, |
| const MR_Nesting_TetrisDensifyParams * | params ) |
make nested meshes more compact by representing them via voxels and pushing to nest zero Generated from function MR::Nesting::tetrisNestingDensify. Parameter meshes can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Vector_MR_AffineXf3f_MR_ObjId_std_string_Destroy() to free it when you're done using it.