BRL-CAD
Loading...
Searching...
No Matches
mater Struct Reference

#include <mater.h>

Collaboration diagram for mater:
[legend]

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 matermt_forw
 next entry in the sorted list
 

Detailed Description

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.

Definition at line 84 of file mater.h.

Field Documentation

◆ mt_low

long mt_low

lower bound of region ID range (inclusive)

Definition at line 85 of file mater.h.

◆ mt_high

long mt_high

upper bound of region ID range (inclusive)

Definition at line 86 of file mater.h.

◆ mt_r

unsigned char mt_r

red component (0-255)

Definition at line 87 of file mater.h.

◆ mt_g

unsigned char mt_g

green component (0-255)

Definition at line 88 of file mater.h.

◆ mt_b

unsigned char mt_b

blue component (0-255)

Definition at line 89 of file mater.h.

◆ mt_daddr

b_off_t mt_daddr

database address for v4 record updating

Definition at line 90 of file mater.h.

◆ mt_forw

struct mater* mt_forw

next entry in the sorted list

Definition at line 91 of file mater.h.


The documentation for this struct was generated from the following file: