#include "MRMeshFwd.h"
Go to the source code of this file.
Classes | |
struct | MRDecimateSettings |
parameters for mrDecimateMesh More... | |
struct | MRDecimateResult |
results of mrDecimateMesh More... | |
struct | MRResolveMeshDegenSettings |
parameters for mrResolveMeshDegenerations More... | |
struct | MRRemeshSettings |
parameters for mrRemesh More... | |
Typedefs | |
typedef MR_EXTERN_C_BEGIN enum MRDecimateStrategy | MRDecimateStrategy |
Defines the order of edge collapses inside Decimate algorithm. | |
typedef struct MRDecimateSettings | MRDecimateSettings |
parameters for mrDecimateMesh | |
typedef struct MRDecimateResult | MRDecimateResult |
results of mrDecimateMesh | |
typedef struct MRResolveMeshDegenSettings | MRResolveMeshDegenSettings |
parameters for mrResolveMeshDegenerations | |
typedef struct MRRemeshSettings | MRRemeshSettings |
parameters for mrRemesh | |
Enumerations | |
enum | MRDecimateStrategy { MRDecimateStrategyMinimizeError = 0 , MRDecimateStrategyShortestEdgeFirst } |
Defines the order of edge collapses inside Decimate algorithm. More... | |
Functions | |
MRMESHC_API MRDecimateSettings | mrDecimateSettingsNew (void) |
initializes a default instance | |
MRMESHC_API MRDecimateResult | mrDecimateMesh (MRMesh *mesh, const MRDecimateSettings *settings) |
Collapse edges in mesh region according to the settings. | |
MRMESHC_API MRResolveMeshDegenSettings | mrResolveMeshDegenSettingsNew (void) |
initializes a default instance | |
MRMESHC_API bool | mrResolveMeshDegenerations (MRMesh *mesh, const MRResolveMeshDegenSettings *settings) |
MRMESHC_API MRRemeshSettings | mrRemeshSettingsNew (void) |
initializes a default instance | |
MRMESHC_API bool | mrRemesh (MRMesh *mesh, const MRRemeshSettings *settings) |
Splits too long and eliminates too short edges from the mesh. | |
typedef struct MRDecimateResult MRDecimateResult |
results of mrDecimateMesh
typedef struct MRDecimateSettings MRDecimateSettings |
parameters for mrDecimateMesh
typedef MR_EXTERN_C_BEGIN enum MRDecimateStrategy MRDecimateStrategy |
Defines the order of edge collapses inside Decimate algorithm.
typedef struct MRRemeshSettings MRRemeshSettings |
parameters for mrRemesh
typedef struct MRResolveMeshDegenSettings MRResolveMeshDegenSettings |
parameters for mrResolveMeshDegenerations
enum MRDecimateStrategy |
MRMESHC_API MRDecimateResult mrDecimateMesh | ( | MRMesh * | mesh, |
const MRDecimateSettings * | settings ) |
Collapse edges in mesh region according to the settings.
MRMESHC_API MRDecimateSettings mrDecimateSettingsNew | ( | void | ) |
initializes a default instance
MRMESHC_API bool mrRemesh | ( | MRMesh * | mesh, |
const MRRemeshSettings * | settings ) |
Splits too long and eliminates too short edges from the mesh.
MRMESHC_API MRRemeshSettings mrRemeshSettingsNew | ( | void | ) |
initializes a default instance
MRMESHC_API bool mrResolveMeshDegenerations | ( | MRMesh * | mesh, |
const MRResolveMeshDegenSettings * | settings ) |
Resolves degenerate triangles in given mesh This function performs decimation, so it can affect topology
MRMESHC_API MRResolveMeshDegenSettings mrResolveMeshDegenSettingsNew | ( | void | ) |
initializes a default instance