BRL-CAD
Loading...
Searching...
No Matches

Types and definitions related to display lists, angle distance cursor, and other generic view constructs. More...

Collaboration diagram for Definitions:

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_knobs
 
struct  bview
 
struct  bview_set
 

Macros

#define BV_MAX   2047.0
 
#define BV_MIN   -2048.0
 
#define BV_RANGE   4095.0
 
#define INV_BV   0.00048828125
 
#define INV_4096   0.000244140625
 
#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
 

Variables

todo once this settles down
 

Detailed Description

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).

Macro Definition Documentation

◆ BV_MAX

#define BV_MAX   2047.0

Definition at line 62 of file defines.h.

◆ BV_MIN

#define BV_MIN   -2048.0

Definition at line 63 of file defines.h.

◆ BV_RANGE

#define BV_RANGE   4095.0

Definition at line 64 of file defines.h.

◆ INV_BV

#define INV_BV   0.00048828125

Definition at line 66 of file defines.h.

◆ INV_4096

#define INV_4096   0.000244140625

Definition at line 67 of file defines.h.

◆ BV_MINVIEWSIZE

#define BV_MINVIEWSIZE   0.0001

Definition at line 70 of file defines.h.

◆ BV_MINVIEWSCALE

#define BV_MINVIEWSCALE   0.00005

Definition at line 71 of file defines.h.

◆ UP

#define UP   0

Definition at line 74 of file defines.h.

◆ DOWN

#define DOWN   1

Definition at line 77 of file defines.h.

◆ BV_ANCHOR_AUTO

#define BV_ANCHOR_AUTO   0

Definition at line 80 of file defines.h.

◆ BV_ANCHOR_BOTTOM_LEFT

#define BV_ANCHOR_BOTTOM_LEFT   1

Definition at line 81 of file defines.h.

◆ BV_ANCHOR_BOTTOM_CENTER

#define BV_ANCHOR_BOTTOM_CENTER   2

Definition at line 82 of file defines.h.

◆ BV_ANCHOR_BOTTOM_RIGHT

#define BV_ANCHOR_BOTTOM_RIGHT   3

Definition at line 83 of file defines.h.

◆ BV_ANCHOR_MIDDLE_LEFT

#define BV_ANCHOR_MIDDLE_LEFT   4

Definition at line 84 of file defines.h.

◆ BV_ANCHOR_MIDDLE_CENTER

#define BV_ANCHOR_MIDDLE_CENTER   5

Definition at line 85 of file defines.h.

◆ BV_ANCHOR_MIDDLE_RIGHT

#define BV_ANCHOR_MIDDLE_RIGHT   6

Definition at line 86 of file defines.h.

◆ BV_ANCHOR_TOP_LEFT

#define BV_ANCHOR_TOP_LEFT   7

Definition at line 87 of file defines.h.

◆ BV_ANCHOR_TOP_CENTER

#define BV_ANCHOR_TOP_CENTER   8

Definition at line 88 of file defines.h.

◆ BV_ANCHOR_TOP_RIGHT

#define BV_ANCHOR_TOP_RIGHT   9

Definition at line 89 of file defines.h.

◆ BV_OBJ_SETTINGS_INIT

#define BV_OBJ_SETTINGS_INIT   {0, 0, 1.0, 0, {255, 0, 0}, 1, 0.0, 0.0, 0, 0}

Definition at line 156 of file defines.h.

◆ BV_DBOBJ_BASED

#define BV_DBOBJ_BASED   0x01

Definition at line 181 of file defines.h.

◆ BV_VIEWONLY

#define BV_VIEWONLY   0x02

Definition at line 182 of file defines.h.

◆ BV_LINES

#define BV_LINES   0x04

Definition at line 183 of file defines.h.

◆ BV_LABELS

#define BV_LABELS   0x08

Definition at line 184 of file defines.h.

◆ BV_AXES

#define BV_AXES   0x10

Definition at line 185 of file defines.h.

◆ BV_POLYGONS

#define BV_POLYGONS   0x20

Definition at line 186 of file defines.h.

◆ BV_MESH_LOD

#define BV_MESH_LOD   0x40

Definition at line 187 of file defines.h.

◆ BV_CSG_LOD

#define BV_CSG_LOD   0x80

Definition at line 188 of file defines.h.

◆ BV_DB_OBJS

#define BV_DB_OBJS   0x01

Definition at line 192 of file defines.h.

◆ BV_VIEW_OBJS

#define BV_VIEW_OBJS   0x02

Definition at line 193 of file defines.h.

◆ BV_LOCAL_OBJS

#define BV_LOCAL_OBJS   0x04

Definition at line 194 of file defines.h.

◆ BV_CHILD_OBJS

#define BV_CHILD_OBJS   0x08

Definition at line 195 of file defines.h.

◆ bv_scene_group

#define bv_scene_group   bv_scene_obj

Definition at line 380 of file defines.h.

◆ BV_SNAP_SHARED

#define BV_SNAP_SHARED   0x1

Definition at line 422 of file defines.h.

◆ BV_SNAP_LOCAL

#define BV_SNAP_LOCAL   0x2

Definition at line 423 of file defines.h.

◆ BV_SNAP_DB

#define BV_SNAP_DB   0x4

Definition at line 424 of file defines.h.

◆ BV_SNAP_VIEW

#define BV_SNAP_VIEW   0x8

Definition at line 425 of file defines.h.

◆ BV_SNAP_TCL

#define BV_SNAP_TCL   0x10

Definition at line 426 of file defines.h.

Variable Documentation

◆ down

todo once this settles down

Definition at line 132 of file defines.h.