24#ifndef RT_DB_INTERNAL_H
25#define RT_DB_INTERNAL_H
54#define idb_type idb_minor_type
55#define RT_DB_INTERNAL_INIT(_p) { \
56 (_p)->idb_magic = RT_DB_INTERNAL_MAGIC; \
57 (_p)->idb_major_type = -1; \
58 (_p)->idb_minor_type = -1; \
59 (_p)->idb_meth = (const struct rt_functab *) ((void *)0); \
60 (_p)->idb_ptr = ((void *)0); \
61 bu_avs_init_empty(&(_p)->idb_avs); \
63#define RT_DB_INTERNAL_INIT_ZERO {RT_DB_INTERNAL_MAGIC, -1, -1, NULL, NULL, BU_AVS_INIT_ZERO}
64#define RT_CK_DB_INTERNAL(_p) BU_CKMAG(_p, RT_DB_INTERNAL_MAGIC, "rt_db_internal")
78 const struct db_i *dbip,
124 const char *obj_name,
Header file for the BRL-CAD common definitions.
int rt_fwrite_internal(FILE *fp, const char *name, const struct rt_db_internal *ip, double conv2mm)
void rt_db_free_internal(struct rt_db_internal *ip)
int rt_db_get_internal(struct rt_db_internal *ip, const struct directory *dp, const struct db_i *dbip, const mat_t mat, struct resource *resp)
int rt_db_lookup_internal(struct db_i *dbip, const char *obj_name, struct directory **dpp, struct rt_db_internal *ip, int noisy, struct resource *resp)
int rt_db_put_internal(struct directory *dp, struct db_i *dbip, struct rt_db_internal *ip, struct resource *resp)
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
Global registry of recognized magic numbers.
struct bu_attribute_value_set idb_avs
const struct rt_functab * idb_meth
for ft_ifree(), etc.
int idb_minor_type
ID_xxx.