db_inmem.c File Reference
#include "common.h"
#include "bio.h"
#include "vmath.h"
#include "db.h"
#include "raytrace.h"
Include dependency graph for db_inmem.c:

Go to the source code of this file.


#define DEFAULT_DB_TITLE   "Untitled BRL-CAD Database"


struct db_idb_open_inmem (void)
struct db_idb_create_inmem (void)
void db_inmem (struct directory *dp, struct bu_external *ext, int flags, struct db_i *dbip)

Detailed Description

Routines in support of maintaining geometry in-memory-only. The general process for adding geometry to an inmem database is to either:

1) call wdb_export_external() providing an external representation of the geometry object and a flag marking it as in-memory (preferred), or

2) call db_diradd() and mark the directory entry as in-memory via a call to db_inmem() providing an external representation.

Definition in file db_inmem.c.