BRL-CAD
mater.h File Reference
#include "common.h"
#include "rt/defines.h"
#include "bu/vls.h"
Include dependency graph for mater.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mater_info
 
struct  mater
 

Macros

#define RT_MATER_INFO_INIT_ZERO   { VINIT_ZERO, 0.0, 0, 0, 0, NULL }
 
#define RT_MATER_INFO_INIT_IDN   { {1.0, 0.0, 0.0} , -1.0, 0, 0, 0, NULL }
 
#define MATER_NULL   ((struct mater *)0)
 
#define MATER_NO_ADDR   ((b_off_t)0)
 invalid mt_daddr More...
 

Functions

void rt_region_color_map (struct region *regp)
 
void rt_color_addrec (int low, int hi, int r, int g, int b, b_off_t addr)
 
void rt_insert_color (struct mater *newp)
 
void rt_vls_color_map (struct bu_vls *str)
 
struct materrt_material_head (void)
 
void rt_new_material_head (struct mater *)
 
struct materrt_dup_material_head (void)
 
void rt_color_free (void)
 

Macro Definition Documentation

◆ RT_MATER_INFO_INIT_ZERO

#define RT_MATER_INFO_INIT_ZERO   { VINIT_ZERO, 0.0, 0, 0, 0, NULL }

Definition at line 46 of file mater.h.

◆ RT_MATER_INFO_INIT_IDN

#define RT_MATER_INFO_INIT_IDN   { {1.0, 0.0, 0.0} , -1.0, 0, 0, 0, NULL }

Definition at line 48 of file mater.h.

◆ MATER_NULL

#define MATER_NULL   ((struct mater *)0)

Definition at line 59 of file mater.h.

◆ MATER_NO_ADDR

#define MATER_NO_ADDR   ((b_off_t)0)

invalid mt_daddr

Definition at line 60 of file mater.h.

Function Documentation

◆ rt_region_color_map()

void rt_region_color_map ( struct region regp)

◆ rt_color_addrec()

void rt_color_addrec ( int  low,
int  hi,
int  r,
int  g,
int  b,
b_off_t  addr 
)

◆ rt_insert_color()

void rt_insert_color ( struct mater newp)

◆ rt_vls_color_map()

void rt_vls_color_map ( struct bu_vls str)

◆ rt_material_head()

struct mater * rt_material_head ( void  )

◆ rt_new_material_head()

void rt_new_material_head ( struct mater )

◆ rt_dup_material_head()

struct mater * rt_dup_material_head ( void  )

◆ rt_color_free()

void rt_color_free ( void  )