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

Object-oriented interface to BRL-CAD geometry. More...

Collaboration diagram for The Function Table:

Files

file  functab.h
 

Data Structures

struct  rt_functab
 
struct  rt_edit_functab
 

Macros

#define RT_CK_FUNCTAB(_p)   BU_CKMAG(_p, RT_FUNCTAB_MAGIC, "functab");
 

Functions

const struct rt_functabrt_get_functab_by_label (const char *label)
 

Variables

const struct rt_functab OBJ []
 
const struct rt_edit_functab EDOBJ []
 

Detailed Description

Object-oriented interface to BRL-CAD geometry.

These are the methods for a notional object class "brlcad_solid". The data for each instance is found separately in struct soltab. This table is indexed by ID_xxx value of particular solid found in st_id, or directly pointed at by st_meth.

Macro Definition Documentation

◆ RT_CK_FUNCTAB

#define RT_CK_FUNCTAB (   _p)    BU_CKMAG(_p, RT_FUNCTAB_MAGIC, "functab");

Definition at line 339 of file functab.h.

Function Documentation

◆ rt_get_functab_by_label()

const struct rt_functab * rt_get_functab_by_label ( const char label)
extern

Variable Documentation

◆ OBJ

const struct rt_functab OBJ[]
extern

Function table defining per-primitive methods for plotting, tessellation, etc. In essence this is a way to do "object oriented" coding strictly in C.

◆ EDOBJ

const struct rt_edit_functab EDOBJ[]
extern