|
BRL-CAD
|
#include <mater.h>
Data Fields | |
| long | mt_low |
| lower bound of region ID range (inclusive) | |
| long | mt_high |
| upper bound of region ID range (inclusive) | |
| unsigned char | mt_r |
| red component (0-255) | |
| unsigned char | mt_g |
| green component (0-255) | |
| unsigned char | mt_b |
| blue component (0-255) | |
| b_off_t | mt_daddr |
| database address for v4 record updating | |
| struct mater * | mt_forw |
| next entry in the sorted list | |
One entry in the per-database region-ID-to-color mapping table.
Entries are kept in a singly-linked list sorted by ascending mt_low value with no overlapping ranges. Use db_mater_insert() to add entries in a way that preserves this invariant.