#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
|
| MRC_API const float * | MR_SharpenMarchingCubesMeshSettings_Get_minNewVertDev (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_minNewVertDev (MR_SharpenMarchingCubesMeshSettings *_this, float value) |
| |
| MRC_API float * | MR_SharpenMarchingCubesMeshSettings_GetMutable_minNewVertDev (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API const float * | MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank2VertDev (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank2VertDev (MR_SharpenMarchingCubesMeshSettings *_this, float value) |
| |
| MRC_API float * | MR_SharpenMarchingCubesMeshSettings_GetMutable_maxNewRank2VertDev (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API const float * | MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank3VertDev (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank3VertDev (MR_SharpenMarchingCubesMeshSettings *_this, float value) |
| |
| MRC_API float * | MR_SharpenMarchingCubesMeshSettings_GetMutable_maxNewRank3VertDev (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API const float * | MR_SharpenMarchingCubesMeshSettings_Get_offset (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_offset (MR_SharpenMarchingCubesMeshSettings *_this, float value) |
| |
| MRC_API float * | MR_SharpenMarchingCubesMeshSettings_GetMutable_offset (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API const float * | MR_SharpenMarchingCubesMeshSettings_Get_maxOldVertPosCorrection (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_maxOldVertPosCorrection (MR_SharpenMarchingCubesMeshSettings *_this, float value) |
| |
| MRC_API float * | MR_SharpenMarchingCubesMeshSettings_GetMutable_maxOldVertPosCorrection (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API const int * | MR_SharpenMarchingCubesMeshSettings_Get_posSelIters (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_posSelIters (MR_SharpenMarchingCubesMeshSettings *_this, int value) |
| |
| MRC_API int * | MR_SharpenMarchingCubesMeshSettings_GetMutable_posSelIters (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API MR_UndirectedEdgeBitSet *const * | MR_SharpenMarchingCubesMeshSettings_Get_outSharpEdges (const MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Set_outSharpEdges (MR_SharpenMarchingCubesMeshSettings *_this, MR_UndirectedEdgeBitSet *value) |
| |
| MRC_API MR_UndirectedEdgeBitSet ** | MR_SharpenMarchingCubesMeshSettings_GetMutable_outSharpEdges (MR_SharpenMarchingCubesMeshSettings *_this) |
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_DefaultConstruct (void) |
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_DefaultConstructArray (size_t num_elems) |
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_ConstructFrom (float minNewVertDev, float maxNewRank2VertDev, float maxNewRank3VertDev, float offset, float maxOldVertPosCorrection, int posSelIters, MR_UndirectedEdgeBitSet *outSharpEdges) |
| |
| MRC_API const MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_OffsetPtr (const MR_SharpenMarchingCubesMeshSettings *ptr, ptrdiff_t i) |
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_OffsetMutablePtr (MR_SharpenMarchingCubesMeshSettings *ptr, ptrdiff_t i) |
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_ConstructFromAnother (const MR_SharpenMarchingCubesMeshSettings *_other) |
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_Destroy (const MR_SharpenMarchingCubesMeshSettings *_this) |
| | Destroys a heap-allocated instance of MR_SharpenMarchingCubesMeshSettings. Does nothing if the pointer is null.
|
| |
| MRC_API void | MR_SharpenMarchingCubesMeshSettings_DestroyArray (const MR_SharpenMarchingCubesMeshSettings *_this) |
| | Destroys a heap-allocated array of MR_SharpenMarchingCubesMeshSettings. Does nothing if the pointer is null.
|
| |
| MRC_API MR_SharpenMarchingCubesMeshSettings * | MR_SharpenMarchingCubesMeshSettings_AssignFromAnother (MR_SharpenMarchingCubesMeshSettings *_this, const MR_SharpenMarchingCubesMeshSettings *_other) |
| |
| MRC_API void | MR_sharpenMarchingCubesMesh (const MR_MeshPart *ref, MR_Mesh *vox, MR_Vector_MR_VoxelId_MR_FaceId *face2voxel, const MR_SharpenMarchingCubesMeshSettings *settings) |
| |
◆ MR_Mesh
◆ MR_MeshPart
◆ MR_SharpenMarchingCubesMeshSettings
Generated from class MR::SharpenMarchingCubesMeshSettings. 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).
◆ MR_UndirectedEdgeBitSet
◆ MR_Vector_MR_VoxelId_MR_FaceId
◆ MR_sharpenMarchingCubesMesh()
adjust the mesh
- Parameters
-
| vox | produced by marching cubes method (NOT dual marching cubes) by 1) correcting positions of all vertices to given offset relative to |
| ref | mesh (if correctOldVertPos == true); 2) introducing new vertices in the voxels where the normals change abruptly. |
| face2voxel | mapping from Face Id to Voxel Id where it is located Generated from function MR::sharpenMarchingCubesMesh. Parameter ref can not be null. It is a single object. Parameter vox can not be null. It is a single object. Parameter face2voxel can not be null. It is a single object. Parameter settings can not be null. It is a single object. |
◆ MR_SharpenMarchingCubesMeshSettings_AssignFromAnother()
Generated from method MR::SharpenMarchingCubesMeshSettings::operator=. Parameter _this can not be null. It is a single object. Parameter _other 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 had previously.
◆ MR_SharpenMarchingCubesMeshSettings_ConstructFrom()
◆ MR_SharpenMarchingCubesMeshSettings_ConstructFromAnother()
◆ MR_SharpenMarchingCubesMeshSettings_DefaultConstruct()
◆ MR_SharpenMarchingCubesMeshSettings_DefaultConstructArray()
◆ MR_SharpenMarchingCubesMeshSettings_Destroy()
Destroys a heap-allocated instance of MR_SharpenMarchingCubesMeshSettings. Does nothing if the pointer is null.
◆ MR_SharpenMarchingCubesMeshSettings_DestroyArray()
Destroys a heap-allocated array of MR_SharpenMarchingCubesMeshSettings. Does nothing if the pointer is null.
◆ MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank2VertDev()
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank2VertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_maxNewRank3VertDev()
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank3VertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_maxOldVertPosCorrection()
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxOldVertPosCorrection. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_minNewVertDev()
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 ) Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named minNewVertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_offset()
relative to reference mesh Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named offset. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_outSharpEdges()
if non-null then created sharp edges will be saved here Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named outSharpEdges. 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.
◆ MR_SharpenMarchingCubesMeshSettings_Get_posSelIters()
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0 Returns a pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named posSelIters. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_maxNewRank2VertDev()
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size ) Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank2VertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_maxNewRank3VertDev()
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size ) Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank3VertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_maxOldVertPosCorrection()
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 ) Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named maxOldVertPosCorrection. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_minNewVertDev()
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 ) Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named minNewVertDev. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_offset()
relative to reference mesh Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named offset. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_outSharpEdges()
if non-null then created sharp edges will be saved here Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named outSharpEdges. 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.
◆ MR_SharpenMarchingCubesMeshSettings_GetMutable_posSelIters()
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0 Returns a mutable pointer to a member variable of class MR::SharpenMarchingCubesMeshSettings named posSelIters. 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.
◆ MR_SharpenMarchingCubesMeshSettings_OffsetMutablePtr()
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.
◆ MR_SharpenMarchingCubesMeshSettings_OffsetPtr()
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.
◆ MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank2VertDev()
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank2VertDev. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in maxNewRank2VertDev.
◆ MR_SharpenMarchingCubesMeshSettings_Set_maxNewRank3VertDev()
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxNewRank3VertDev. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in maxNewRank3VertDev.
◆ MR_SharpenMarchingCubesMeshSettings_Set_maxOldVertPosCorrection()
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named maxOldVertPosCorrection. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in maxOldVertPosCorrection.
◆ MR_SharpenMarchingCubesMeshSettings_Set_minNewVertDev()
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 ) Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named minNewVertDev. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in minNewVertDev.
◆ MR_SharpenMarchingCubesMeshSettings_Set_offset()
relative to reference mesh Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named offset. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in offset.
◆ MR_SharpenMarchingCubesMeshSettings_Set_outSharpEdges()
if non-null then created sharp edges will be saved here Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named outSharpEdges. 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 outSharpEdges. When this function is called, this object will drop object references it had previously in outSharpEdges.
◆ MR_SharpenMarchingCubesMeshSettings_Set_posSelIters()
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0 Modifies a member variable of class MR::SharpenMarchingCubesMeshSettings named posSelIters. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in posSelIters.