#include "common.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "bio.h"
#include "vmath.h"
#include "bn.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "wdb.h"
Include dependency graph for wdb.c:

Go to the source code of this file.


struct rt_wdbwdb_fopen_v (const char *filename, int version)
struct rt_wdbwdb_fopen (const char *filename)
struct rt_wdbwdb_dbopen (struct db_i *dbip, int mode)
int wdb_import (struct rt_wdb *wdbp, struct rt_db_internal *internp, const char *name, const mat_t mat)
int wdb_export_external (struct rt_wdb *wdbp, struct bu_external *ep, const char *name, int flags, unsigned char type)
int wdb_put_internal (struct rt_wdb *wdbp, const char *name, struct rt_db_internal *ip, double local2mm)
int wdb_export (struct rt_wdb *wdbp, const char *name, void *gp, int id, double local2mm)
void wdb_init (struct rt_wdb *wdbp, struct db_i *dbip, int mode)
void wdb_close (struct rt_wdb *wdbp)
int wdb_import_from_path2 (struct bu_vls *logstr, struct rt_db_internal *ip, const char *path, struct rt_wdb *wdb, matp_t matp)
int wdb_import_from_path (struct bu_vls *logstr, struct rt_db_internal *ip, const char *path, struct rt_wdb *wdb)

Detailed Description

Routines to allow libwdb to use librt's import/export interface, rather than having to know about the database formats directly.

Definition in file wdb.c.