|
Blender
V3.3
|
#include <unordered_map>#include "MEM_guardedalloc.h"#include "config.hpp"#include "field-math.hpp"#include "loader.hpp"#include "optimizer.hpp"#include "parametrizer.hpp"#include "quadriflow_capi.hpp"Go to the source code of this file.
Classes | |
| struct | ObjVertex |
| struct | ObjVertexHash |
Typedefs | |
| typedef std::unordered_map< ObjVertex, uint32_t, ObjVertexHash > | VertexMap |
Functions | |
| static int | check_if_canceled (float progress, void(*update_cb)(void *, float progress, int *cancel), void *update_cb_data) |
| void | QFLOW_quadriflow_remesh (QuadriflowRemeshData *qrd, void(*update_cb)(void *, float progress, int *cancel), void *update_cb_data) |
| typedef std::unordered_map<ObjVertex, uint32_t, ObjVertexHash> VertexMap |
Definition at line 47 of file quadriflow_capi.cpp.
|
static |
Definition at line 49 of file quadriflow_capi.cpp.
References update_cb().
Referenced by QFLOW_quadriflow_remesh().
| void QFLOW_quadriflow_remesh | ( | QuadriflowRemeshData * | qrd, |
| void(*)(void *, float progress, int *cancel) | update_cb, | ||
| void * | update_cb_data | ||
| ) |
Definition at line 58 of file quadriflow_capi.cpp.
References QuadriflowRemeshData::adaptive_scale, QuadriflowRemeshData::aggresive_sat, check_if_canceled(), QuadriflowRemeshData::faces, faces, i1, indices, MEM_malloc_arrayN, QuadriflowRemeshData::minimum_cost_flow, QuadriflowRemeshData::out_faces, QuadriflowRemeshData::out_totfaces, QuadriflowRemeshData::out_totverts, QuadriflowRemeshData::out_verts, positions, QuadriflowRemeshData::preserve_boundary, QuadriflowRemeshData::preserve_sharp, QuadriflowRemeshData::rng_seed, t, QuadriflowRemeshData::target_faces, QuadriflowRemeshData::totfaces, QuadriflowRemeshData::totverts, update_cb(), v, and QuadriflowRemeshData::verts.