BRL-CAD
|
Types and definitions related to display lists, angle distance cursor, and other generic view constructs. More...
Files | |
file | bv.h |
Data Structures | |
struct | bv_label |
struct | bv_axes |
struct | bv_obj_settings |
struct | bv_scene_obj |
struct | bv_mesh_lod |
struct | bview_settings |
struct | bview_objs |
struct | bview |
struct | bview_set |
Macros | |
#define | BV_MINVIEWSIZE 0.0001 |
#define | BV_MINVIEWSCALE 0.00005 |
#define | UP 0 |
#define | DOWN 1 |
#define | BV_ANCHOR_AUTO 0 |
#define | BV_ANCHOR_BOTTOM_LEFT 1 |
#define | BV_ANCHOR_BOTTOM_CENTER 2 |
#define | BV_ANCHOR_BOTTOM_RIGHT 3 |
#define | BV_ANCHOR_MIDDLE_LEFT 4 |
#define | BV_ANCHOR_MIDDLE_CENTER 5 |
#define | BV_ANCHOR_MIDDLE_RIGHT 6 |
#define | BV_ANCHOR_TOP_LEFT 7 |
#define | BV_ANCHOR_TOP_CENTER 8 |
#define | BV_ANCHOR_TOP_RIGHT 9 |
#define | BV_OBJ_SETTINGS_INIT {0, 1.0, 0, {255, 0, 0}, 1, 0.0, 0.0, 0, 0} |
#define | BV_DBOBJ_BASED 0x01 |
#define | BV_VIEWONLY 0x02 |
#define | BV_LINES 0x04 |
#define | BV_LABELS 0x08 |
#define | BV_AXES 0x10 |
#define | BV_POLYGONS 0x20 |
#define | BV_MESH_LOD 0x40 |
#define | BV_CSG_LOD 0x80 |
#define | BV_DB_OBJS 0x01 |
#define | BV_VIEW_OBJS 0x02 |
#define | BV_LOCAL_OBJS 0x04 |
#define | bv_scene_group bv_scene_obj |
Types and definitions related to display lists, angle distance cursor, and other generic view constructs.
This header is intended to be independent of any one BRL-CAD library and is specifically intended to allow the easy definition of common display list types between otherwise independent libraries (libdm and libged, for example).
NEXT STEPS: get a selection set for the view organized, add commands that allow the view2 command to create(view) and select (view or solid) objects, and figure out how to allow per-object xy handling callbacks. (The latter will probably in the end be how we implement primitive editing as well...)
Test case will be the polygon circle - create and resize. May want to switch the container being used from a raw array to a bu_ptbl... eventually would probably be better to have polygons be first class view scene objects...
#define BV_OBJ_SETTINGS_INIT {0, 1.0, 0, {255, 0, 0}, 1, 0.0, 0.0, 0, 0} |
#define bv_scene_group bv_scene_obj |