Types and definitions related to display lists, angle distance cursor, and other generic view constructs.
More...
|
#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, 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_CHILD_OBJS 0x08 |
|
#define | bv_scene_group bv_scene_obj |
|
#define | BV_SNAP_SHARED 0x1 |
|
#define | BV_SNAP_LOCAL 0x2 |
|
#define | BV_SNAP_DB 0x4 |
|
#define | BV_SNAP_VIEW 0x8 |
|
#define | BV_SNAP_TCL 0x10 |
|
|
todo once this settles | down |
|
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...
◆ BV_MINVIEWSIZE
#define BV_MINVIEWSIZE 0.0001 |
◆ BV_MINVIEWSCALE
#define BV_MINVIEWSCALE 0.00005 |
◆ UP
◆ DOWN
◆ BV_ANCHOR_AUTO
◆ BV_ANCHOR_BOTTOM_LEFT
#define BV_ANCHOR_BOTTOM_LEFT 1 |
◆ BV_ANCHOR_BOTTOM_CENTER
#define BV_ANCHOR_BOTTOM_CENTER 2 |
◆ BV_ANCHOR_BOTTOM_RIGHT
#define BV_ANCHOR_BOTTOM_RIGHT 3 |
◆ BV_ANCHOR_MIDDLE_LEFT
#define BV_ANCHOR_MIDDLE_LEFT 4 |
◆ BV_ANCHOR_MIDDLE_CENTER
#define BV_ANCHOR_MIDDLE_CENTER 5 |
◆ BV_ANCHOR_MIDDLE_RIGHT
#define BV_ANCHOR_MIDDLE_RIGHT 6 |
◆ BV_ANCHOR_TOP_LEFT
#define BV_ANCHOR_TOP_LEFT 7 |
◆ BV_ANCHOR_TOP_CENTER
#define BV_ANCHOR_TOP_CENTER 8 |
◆ BV_ANCHOR_TOP_RIGHT
#define BV_ANCHOR_TOP_RIGHT 9 |
◆ BV_OBJ_SETTINGS_INIT
#define BV_OBJ_SETTINGS_INIT {0, 0, 1.0, 0, {255, 0, 0}, 1, 0.0, 0.0, 0, 0} |
◆ BV_DBOBJ_BASED
#define BV_DBOBJ_BASED 0x01 |
◆ BV_VIEWONLY
◆ BV_LINES
◆ BV_LABELS
◆ BV_AXES
◆ BV_POLYGONS
◆ BV_MESH_LOD
◆ BV_CSG_LOD
◆ BV_DB_OBJS
◆ BV_VIEW_OBJS
#define BV_VIEW_OBJS 0x02 |
◆ BV_LOCAL_OBJS
#define BV_LOCAL_OBJS 0x04 |
◆ BV_CHILD_OBJS
#define BV_CHILD_OBJS 0x08 |
◆ bv_scene_group
◆ BV_SNAP_SHARED
#define BV_SNAP_SHARED 0x1 |
◆ BV_SNAP_LOCAL
#define BV_SNAP_LOCAL 0x2 |
◆ BV_SNAP_DB
◆ BV_SNAP_VIEW
◆ BV_SNAP_TCL
◆ down
todo once this settles down |