BRL-CAD
#include "common.h"
#include "vmath.h"
#include "bu/vls.h"
#include "rt/defines.h"
#include "rt/op.h"
Include dependency graph for db_fp.h:

Go to the source code of this file.

Data Structures

struct  db_fp_pool
 
struct  db_fp
 

Macros

#define DB_FP_STR_BOOL   0x1 /* boolean labels flag */
 
#define DB_FP_STR_TYPE   0x2 /* object type flag */
 
#define DB_FP_STR_MATRIX   0x4 /* matrix flag */
 

Functions

int db_fp_pool_init (struct db_fp_pool *p)
 
int db_fp_pool_create (struct db_fp_pool **p)
 
void db_fp_pool_gc (struct db_fp_pool *p)
 
void db_fp_pool_clear (struct db_fp_pool *p)
 
void db_fp_pool_destroy (struct db_fp_pool *p)
 
struct db_fpdb_fp_create (struct db_fp_pool *p)
 
void db_fp_destroy (struct db_fp *fp)
 
size_t db_fp_len (struct db_fp *fp)
 
void db_fp_pop (struct db_fp *fp)
 
void db_fp_push (struct db_fp *dest, const struct db_fp *src, size_t start_offset)
 
int db_fp_append (struct db_fp *fp, struct directory *dp, db_op_t op, mat_t mat)
 
int db_fp_set (struct db_fp *fp, int i, struct directory *dp, db_op_t op, mat_t mat)
 
void db_fp_cpy (struct db_fp *curr_fp, const struct db_fp *old_fp)
 
struct directorydb_fp_get_dir (const struct db_fp *fp, int index)
 
db_op_t db_fp_get_bool (const struct db_fp *fp, int index)
 
matp_t db_fp_get_mat (const struct db_fp *fp, int index)
 
void db_fp_push_data (struct db_fp *fp, void *data)
 
void * db_fp_get_data (struct db_fp *fp)
 
void db_fp_pop_data (struct db_fp *fp)
 
void db_fp_push_node_data (struct db_fp *fp, int index, void *data)
 
void * db_fp_get_node_data (struct db_fp *fp, int index)
 
void db_fp_pop_node_data (struct db_fp *fp, int index)
 
char * db_fp_to_str (const struct db_fp *fp, int flags)
 
void db_fp_to_vls (struct bu_vls *v, const struct db_fp *fp, int flags)
 
int db_str_to_fp (struct db_fp **fp, const struct db_i *dbip, const char *str, struct db_fp_pool *p)
 
int db_argv_to_fp (struct db_fp **fp, const struct db_i *dbip, int argc, const char *const *argv, struct db_fp_pool *p)
 
int db_fp_identical (const struct db_fp *a, const struct db_fp *b)
 
int db_fp_identical_solid (const struct db_fp *a, const struct db_fp *b)
 
int db_fp_match (const struct db_fp *a, const struct db_fp *b, unsigned int skip_first, int leaf_to_root)
 
int db_fp_search (const struct db_fp *p, const char *n, unsigned int skip_first, int leaf_to_root)
 
void db_fp_eval_mat (mat_t mat, const struct db_fp *fp, unsigned int depth)