db_comb.c File Reference

#include "common.h"
#include <stdio.h>
#include <math.h>
#include <strings.h>
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"
#include "db.h"
#include "raytrace.h"
#include "./debug.h"

Include dependency graph for db_comb.c:

Go to the source code of this file.

Defines

#define STAT_ROT   1
#define STAT_XLATE   2
#define STAT_PERSP   4
#define STAT_SCALE   8

Functions

int db_tree_nleaves (const union tree *tp)
rt_tree_arraydb_flatten_tree (struct rt_tree_array *rt_tree_array, union tree *tp, int op, int free, struct resource *resp)
int rt_comb_import4 (struct rt_db_internal *ip, const struct bu_external *ep, const mat_t matrix, const struct db_i *dbip, struct resource *resp)
int rt_comb_export4 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip, struct resource *resp)
void db_tree_flatten_describe (struct bu_vls *vls, const union tree *tp, int indented, int lvl, double mm2local, struct resource *resp)
void db_tree_describe (struct bu_vls *vls, const union tree *tp, int indented, int lvl, double mm2local)
void db_comb_describe (struct bu_vls *str, const struct rt_comb_internal *comb, int verbose, double mm2local, struct resource *resp)
void rt_comb_ifree (struct rt_db_internal *ip, struct resource *resp)
int rt_comb_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local, struct resource *resp, struct db_i *db_i)
void db_wrap_v4_external (struct bu_external *op, const char *name)
int db_ck_left_heavy_tree (const union tree *tp, int no_unions)
int db_ck_v4gift_tree (const union tree *tp)
treedb_mkbool_tree (struct rt_tree_array *rt_tree_array, int howfar, struct resource *resp)
treedb_mkgift_tree (struct rt_tree_array *trees, int subtreecount, struct resource *resp)


Detailed Description

This module contains the import/export routines for "Combinations", the non-leaf nodes in the directed acyclic graphs (DAGs) in the BRL-CAD ".g" database.

This parallels the function of the geometry (leaf-node) import/export routines found in the g_xxx.c routines.

As a reminder, some combinations are special, when marked with the "Region" flag, everything from that node down is considered to be made of uniform material.

Authors - Michael John Muuss John R. Anderson

Source - The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA

Definition in file db_comb.c.


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