68 struct bv_mesh_lod_context_internal;
70 struct bv_mesh_lod_context_internal *
i;
114 BV_EXPORT
unsigned long long
133 BV_EXPORT
unsigned long long
Header file for the BRL-CAD common definitions.
int bv_mesh_lod_key_put(struct bv_mesh_lod_context *c, const char *name, unsigned long long key)
void bv_mesh_lod_context_destroy(struct bv_mesh_lod_context *c)
int bv_view_objs_rect_select(struct bu_ptbl *sset, struct bview *v, int x1, int y1, int x2, int y2)
void bv_view_bounds(struct bview *v)
Functions for generating view dependent level-of-detail data, particularly for meshes.
struct bv_mesh_lod * bv_mesh_lod_create(struct bv_mesh_lod_context *c, unsigned long long key)
int bv_mesh_lod_view(struct bv_scene_obj *s, struct bview *v, int reset)
int bv_mesh_lod_level(struct bv_scene_obj *s, int level, int reset)
struct bv_mesh_lod_context * bv_mesh_lod_context_create(const char *name)
int bv_view_objs_select(struct bu_ptbl *sset, struct bview *v, int x, int y)
void bv_mesh_lod_detail_setup_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *), void *cb_data)
void bv_mesh_lod_clear_cache(struct bv_mesh_lod_context *c, unsigned long long key)
void bv_mesh_lod_memshrink(struct bv_scene_obj *s)
unsigned long long bv_mesh_lod_key_get(struct bv_mesh_lod_context *c, const char *name)
void bv_mesh_lod_detail_free_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *))
void bv_mesh_lod_free(struct bv_scene_obj *s)
void bv_mesh_lod_destroy(struct bv_mesh_lod *l)
unsigned long long bv_mesh_lod_cache(struct bv_mesh_lod_context *c, const point_t *v, size_t vcnt, const vect_t *vn, int *f, size_t fcnt, unsigned long long user_key, fastf_t fratio)
void bv_mesh_lod_detail_clear_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *))
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
struct bv_mesh_lod_context_internal * i
fundamental vector, matrix, quaternion math macros