|
Blender
V3.3
|
#include "ModelReader.h"#include "dualcon.h"#include "octree.h"#include <cassert>#include <cstdio>#include <float.h>Go to the source code of this file.
Classes | |
| class | DualConInputReader |
Macros | |
| #define | GET_TRI(_mesh, _n) (*(DualConTri)(((char *)(_mesh)->looptri) + ((_n) * (_mesh)->tri_stride))) |
| #define | GET_CO(_mesh, _n) (*(DualConCo)(((char *)(_mesh)->co) + ((_n) * (_mesh)->co_stride))) |
| #define | GET_LOOP(_mesh, _n) (*(DualConLoop)(((char *)(_mesh)->mloop) + ((_n) * (_mesh)->loop_stride))) |
Functions | |
| static void | veccopy (float dst[3], const float src[3]) |
| void * | dualcon (const DualConInput *input_mesh, DualConAllocOutput alloc_output, DualConAddVert add_vert, DualConAddQuad add_quad, DualConFlags flags, DualConMode mode, float threshold, float hermite_num, float scale, int depth) |
Definition at line 25 of file dualcon_c_api.cpp.
| #define GET_LOOP | ( | _mesh, | |
| _n | |||
| ) | (*(DualConLoop)(((char *)(_mesh)->mloop) + ((_n) * (_mesh)->loop_stride))) |
Definition at line 27 of file dualcon_c_api.cpp.
| #define GET_TRI | ( | _mesh, | |
| _n | |||
| ) | (*(DualConTri)(((char *)(_mesh)->looptri) + ((_n) * (_mesh)->tri_stride))) |
Definition at line 22 of file dualcon_c_api.cpp.
| void* dualcon | ( | const DualConInput * | input_mesh, |
| DualConAllocOutput | alloc_output, | ||
| DualConAddVert | add_vert, | ||
| DualConAddQuad | add_quad, | ||
| DualConFlags | flags, | ||
| DualConMode | mode, | ||
| float | threshold, | ||
| float | hermite_num, | ||
| float | scale, | ||
| int | depth | ||
| ) |
Definition at line 147 of file dualcon_c_api.cpp.
References Octree::getOutputMesh(), r, Octree::scanConvert(), and threshold.
Definition at line 15 of file dualcon_c_api.cpp.
References src.
Referenced by DualConInputReader::getBoundingBox(), DualConInputReader::getNextTriangle(), and DualConInputReader::reset().