BRL-CAD
|
Data Structures | |
struct | bv_polygon |
Macros | |
#define | BV_POLYGON_GENERAL 0 |
Functions for working with polygons. More... | |
#define | BV_POLYGON_CIRCLE 1 |
#define | BV_POLYGON_ELLIPSE 2 |
#define | BV_POLYGON_RECTANGLE 3 |
#define | BV_POLYGON_SQUARE 4 |
#define | BV_POLYGON_UPDATE_DEFAULT 0 |
#define | BV_POLYGON_UPDATE_PROPS_ONLY 1 |
#define | BV_POLYGON_UPDATE_PT_SELECT 2 |
#define | BV_POLYGON_UPDATE_PT_SELECT_CLEAR 3 |
#define | BV_POLYGON_UPDATE_PT_MOVE 4 |
#define | BV_POLYGON_UPDATE_PT_APPEND 5 |
Functions | |
struct bv_scene_obj * | bv_create_polygon_obj (struct bview *v, int flags, struct bv_polygon *p) |
struct bv_scene_obj * | bv_create_polygon (struct bview *v, int flags, int type, point_t *fp) |
int | bv_update_polygon (struct bv_scene_obj *s, struct bview *v, int utype) |
void | bv_polygon_vlist (struct bv_scene_obj *s) |
struct bv_scene_obj * | bv_select_polygon (struct bu_ptbl *objs, point_t *cp) |
int | bv_move_polygon (struct bv_scene_obj *s, point_t *cp, point_t *pp) |
struct bv_scene_obj * | bv_dup_view_polygon (const char *nname, struct bv_scene_obj *s) |
void | bv_polygon_cpy (struct bv_polygon *dest, struct bv_polygon *src) |
int | bv_polygon_calc_fdelta (struct bv_polygon *p) |
struct bg_polygon * | bv_polygon_fill_segments (struct bg_polygon *poly, plane_t *vp, vect2d_t line_slope, fastf_t line_spacing) |
int | bv_polygon_csg (struct bv_scene_obj *target, struct bv_scene_obj *stencil, bg_clip_t op) |
#define BV_POLYGON_GENERAL 0 |
struct bv_scene_obj* bv_create_polygon_obj | ( | struct bview * | v, |
int | flags, | ||
struct bv_polygon * | p | ||
) |
struct bv_scene_obj* bv_create_polygon | ( | struct bview * | v, |
int | flags, | ||
int | type, | ||
point_t * | fp | ||
) |
int bv_update_polygon | ( | struct bv_scene_obj * | s, |
struct bview * | v, | ||
int | utype | ||
) |
void bv_polygon_vlist | ( | struct bv_scene_obj * | s | ) |
struct bv_scene_obj* bv_select_polygon | ( | struct bu_ptbl * | objs, |
point_t * | cp | ||
) |
int bv_move_polygon | ( | struct bv_scene_obj * | s, |
point_t * | cp, | ||
point_t * | pp | ||
) |
struct bv_scene_obj* bv_dup_view_polygon | ( | const char * | nname, |
struct bv_scene_obj * | s | ||
) |
void bv_polygon_cpy | ( | struct bv_polygon * | dest, |
struct bv_polygon * | src | ||
) |
int bv_polygon_calc_fdelta | ( | struct bv_polygon * | p | ) |
struct bg_polygon* bv_polygon_fill_segments | ( | struct bg_polygon * | poly, |
plane_t * | vp, | ||
vect2d_t | line_slope, | ||
fastf_t | line_spacing | ||
) |
int bv_polygon_csg | ( | struct bv_scene_obj * | target, |
struct bv_scene_obj * | stencil, | ||
bg_clip_t | op | ||
) |