67struct bg_mesh_lod_context_internal;
69 struct bg_mesh_lod_context_internal *
i;
113BG_EXPORT
unsigned long long
123BG_EXPORT
unsigned long long
143BG_EXPORT
unsigned long long
Header file for the BRL-CAD common definitions.
unsigned long long bg_mesh_lod_cache(struct bg_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 bg_view_bounds(struct bview *v)
Functions for generating view dependent level-of-detail data, particularly for meshes.
struct bg_mesh_lod_context * bg_mesh_lod_context_create(const char *name)
void bg_mesh_lod_context_destroy(struct bg_mesh_lod_context *c)
void bg_mesh_lod_clear_cache(struct bg_mesh_lod_context *c, unsigned long long key)
int bg_mesh_lod_key_put(struct bg_mesh_lod_context *c, const char *name, unsigned long long key)
void bg_mesh_lod_free(struct bv_scene_obj *s)
void bg_mesh_lod_destroy(struct bv_mesh_lod *l)
void bg_mesh_lod_detail_clear_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *))
unsigned long long bg_mesh_lod_key_get(struct bg_mesh_lod_context *c, const char *name)
void bg_mesh_lod_detail_setup_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *), void *cb_data)
int bg_view_objs_select(struct bv_scene_obj ***set, struct bview *v, int x, int y)
int bg_mesh_lod_level(struct bv_scene_obj *s, int level, int reset)
void bg_mesh_lod_memshrink(struct bv_scene_obj *s)
int bg_mesh_lod_view(struct bv_scene_obj *s, struct bview *v, int reset)
int bg_view_objs_rect_select(struct bv_scene_obj ***set, struct bview *v, int x1, int y1, int x2, int y2)
void bg_mesh_lod_detail_free_clbk(struct bv_mesh_lod *lod, int(*clbk)(struct bv_mesh_lod *, void *))
struct bv_mesh_lod * bg_mesh_lod_create(struct bg_mesh_lod_context *c, unsigned long long key)
unsigned long long bg_mesh_lod_custom_key(void *data, size_t data_size)
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 bg_mesh_lod_context_internal * i
fundamental vector, matrix, quaternion math macros