#include "common.h"
#include "rt/wdb.h"
#include "vmath.h"
Go to the source code of this file.
|
#define | RT_G_INIT_ZERO { 0, BU_LIST_INIT_ZERO, RT_WDB_INIT_ZERO } |
|
#define | RT_GET_VLIST(p) BV_GET_VLIST(&RTG.rtg_vlfree, p) |
|
#define | RT_FREE_VLIST(hd) BV_FREE_VLIST(&RTG.rtg_vlfree, hd) |
|
#define | RT_ADD_VLIST(hd, pnt, draw) BV_ADD_VLIST(&RTG.rtg_vlfree, hd, pnt, draw) |
|
#define | RT_VLIST_SET_DISP_MAT(_dest_hd, _ref_pt) BV_VLIST_SET_DISP_MAT(&RTG.rtg_vlfree, _dest_hd, _ref_pt) |
|
#define | RT_VLIST_SET_MODEL_MAT(_dest_hd) BV_VLIST_SET_MODEL_MAT(&RTG.rtg_vlfree, _dest_hd) |
|
#define | RT_VLIST_SET_POINT_SIZE(hd, size) BV_VLIST_SET_POINT_SIZE(&RTG.rtg_vlfree, hd, size) |
|
#define | RT_VLIST_SET_LINE_WIDTH(hd, width) BV_VLIST_SET_LINE_WIDTH(&RTG.rtg_vlfree, hd, width) |
|
◆ RT_G_INIT_ZERO
◆ RT_GET_VLIST
Applications that are going to use RT_ADD_VLIST and RT_GET_VLIST are required to execute this macro once, first:
BU_LIST_INIT(&RTG.rtg_vlfree);
Note that RT_GET_VLIST and RT_FREE_VLIST are non-PARALLEL.
Definition at line 60 of file global.h.
◆ RT_FREE_VLIST
Place an entire chain of bv_vlist structs on the freelist
Definition at line 63 of file global.h.
◆ RT_ADD_VLIST
◆ RT_VLIST_SET_DISP_MAT
#define RT_VLIST_SET_DISP_MAT |
( |
|
_dest_hd, |
|
|
|
_ref_pt |
|
) |
| BV_VLIST_SET_DISP_MAT(&RTG.rtg_vlfree, _dest_hd, _ref_pt) |
set the transformation matrix to display matrix
Definition at line 68 of file global.h.
◆ RT_VLIST_SET_MODEL_MAT
set the transformation matrix to model matrix
Definition at line 71 of file global.h.
◆ RT_VLIST_SET_POINT_SIZE
Set a point size to apply to the vlist elements that follow.
Definition at line 74 of file global.h.
◆ RT_VLIST_SET_LINE_WIDTH
Set a line width to apply to the vlist elements that follow.
Definition at line 77 of file global.h.
◆ RTG
global ray-trace geometry state