#include "common.h"
#include <stdlib.h>
#include <stddef.h>
#include <math.h>
#include <string.h>
#include "bio.h"
#include "bu/parallel.h"
#include "vmath.h"
#include "bn.h"
#include "raytrace.h"
#include "plot3.h"
Include dependency graph for prep.c:

Go to the source code of this file.


void rt_ck (struct rt_i *rtip)
HIDDEN void rt_solid_bitfinder (register union tree *treep, struct region *regp, struct resource *resp)
struct rt_irt_new_rti (struct db_i *dbip)
void rt_free_rti (struct rt_i *rtip)
void rt_prep_parallel (register struct rt_i *rtip, int ncpu)
void rt_prep (register struct rt_i *rtip)
void rt_plot_all_bboxes (FILE *fp, struct rt_i *rtip)
void rt_plot_all_solids (FILE *fp, struct rt_i *rtip, struct resource *resp)
int rt_vlist_solid (struct bu_list *vhead, struct rt_i *rtip, const struct soltab *stp, struct resource *resp)
int rt_plot_solid (register FILE *fp, struct rt_i *rtip, const struct soltab *stp, struct resource *resp)
void rt_init_resource (struct resource *resp, int cpu_num, struct rt_i *rtip)
void rt_clean_resource_basic (struct rt_i *rtip, struct resource *resp)
void rt_clean_resource_complete (struct rt_i *rtip, struct resource *resp)
void rt_clean_resource (struct rt_i *rtip, struct resource *resp)
struct bu_bitvrt_get_solidbitv (size_t nbits, struct resource *resp)
void rt_clean (register struct rt_i *rtip)
int rt_del_regtree (struct rt_i *rtip, register struct region *delregp, struct resource *resp)
void rt_ck (register struct rt_i *rtip)
int rt_load_attrs (struct rt_i *rtip, char **attrs)
int rt_find_paths (struct db_i *dbip, struct directory *start, struct directory *end, struct bu_ptbl *paths, struct resource *resp)
int obj_in_path (const char *path, const char *obj)
HIDDEN int unprep_reg_start (struct db_tree_state *tsp, const struct db_full_path *pathp, const struct rt_comb_internal *comb, void *client_data)
HIDDEN union treeunprep_reg_end (struct db_tree_state *tsp, const struct db_full_path *pathp, union tree *tree, void *client_data)
HIDDEN union treeunprep_leaf (struct db_tree_state *tsp, const struct db_full_path *pathp, struct rt_db_internal *ip, void *client_data)
int rt_unprep (struct rt_i *rtip, struct rt_reprep_obj_list *objs, struct resource *resp)
int rt_reprep (struct rt_i *rtip, struct rt_reprep_obj_list *objs, struct resource *resp)

Detailed Description

Manage one-time preparations to be done before actual ray-tracing can commence.

Definition in file prep.c.