db_inmem.c File Reference

#include "common.h"
#include "machine.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.

Defines

#define DEFAULT_DB_TITLE   "Untitled BRL-CAD Database"

Functions

db_idb_open_inmem (void)
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.

Functions - db_open_inmem open a database marking it as in-memory-only db_create_inmem create an in-memory-only database instance db_inmem convert existing dir entry to in-memory-only

Authors - Christopher Sean Morrison

Source - SECAD/VLD Computing Consortium, Bldg 394 The U. S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005-5066

Definition in file db_inmem.c.


Generated on Mon Sep 18 01:25:04 2006 for BRL-CAD by  doxygen 1.4.6