BRL-CAD
|
Data Structures | |
struct | bg_3d_spsr_opts |
Screened Poisson Surface Reconstruction from oriented point sets. More... | |
Macros | |
#define | BG_3D_SPSR_BOUNDARY_FREE 1 |
#define | BG_3D_SPSR_BOUNDARY_NEUMANN 2 |
#define | BG_3D_SPSR_BOUNDARY_DIRICHLET 3 |
#define | BG_3D_SPSR_DEFAULT_DEGREE 1 /* DEFAULT_FEM_DEGREE */ |
#define | BG_3D_SPSR_DEFAULT_DEPTH 11 |
#define | BG_3D_SPSR_DEFAULT_KERNELDEPTH 0 |
#define | BG_3D_SPSR_DEFAULT_ITERATIONS 0 |
#define | BG_3D_SPSR_DEFAULT_FULL_DEPTH 0 |
#define | BG_3D_SPSR_DEFAULT_BASE_DEPTH 0 |
#define | BG_3D_SPSR_DEFAULT_BASEVCYCLES 0 |
#define | BG_3D_SPSR_DEFAULT_MAX_MEM 0 |
#define | BG_3D_SPSR_DEFAULT_THREADS 0 |
#define | BG_3D_SPSR_DEFAULT_SAMPLES_PER_NODE 1.1 |
#define | BG_3D_SPSR_DEFAULT_SCALE 1.0 |
#define | BG_3D_SPSR_DEFAULT_WIDTH 0.0 |
#define | BG_3D_SPSR_DEFAULT_CONFIDENCE 0.0 |
#define | BG_3D_SPSR_DEFAULT_CONFIDENCE_BIAS 0.0 |
#define | BG_3D_SPSR_DEFAULT_CGSOLVER_ACCURACY 1.0e-3 |
#define | BG_3D_SPSR_DEFAULT_POINT_WEIGHT 8.0 /* DefaultPointWeightMultiplier * Degree */ |
#define | BG_3D_SPSR_DEFAULT_NONMANIFOLD 0 |
#define | BG_3D_SPSR_DEFAULT_LINEARFIT 0 |
#define | BG_3D_SPSR_DEFAULT_EXACT 1 |
#define | BG_3D_SPSR_OPTS_DEFAULT |
Functions | |
int | bg_3d_spsr (int **faces, int *num_faces, point_t **vertices, int *num_vertices, const point_t *input_points_3d, const vect_t *input_normals_3d, int num_input_pnts, struct bg_3d_spsr_opts *opts) |
Applies Screened Poisson Surface Reconstruction to build a triangle mesh defining a surface, based on a set of points with associated normals. More... | |
#define BG_3D_SPSR_BOUNDARY_FREE 1 |
#define BG_3D_SPSR_DEFAULT_POINT_WEIGHT 8.0 /* DefaultPointWeightMultiplier * Degree */ |
#define BG_3D_SPSR_OPTS_DEFAULT |
int bg_3d_spsr | ( | int ** | faces, |
int * | num_faces, | ||
point_t ** | vertices, | ||
int * | num_vertices, | ||
const point_t * | input_points_3d, | ||
const vect_t * | input_normals_3d, | ||
int | num_input_pnts, | ||
struct bg_3d_spsr_opts * | opts | ||
) |
Applies Screened Poisson Surface Reconstruction to build a triangle mesh defining a surface, based on a set of points with associated normals.
[out] | faces | set of faces in the output surface, stored as integer indices to the vertices. The first three indices are the vertices of the face, the second three define the second face, and so forth. |
[out] | num_faces | the number of faces in the faces array |
[out] | vertices | the set of vertices used by the surface. |
[out] | num_vertices | the number of vertices in the surface. |
input_points_3d | The input points | |
input_normals_3d | The normals associated with the points | |
num_input_pnts | the number of points in the input set | |
opts | container holding options to be used in SPSR processing |