pr.c File Reference

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

Include dependency graph for pr.c:

Go to the source code of this file.

Functions

void rt_pr_soltab (register const struct soltab *stp)
void rt_pr_region (register const struct region *rp)
void rt_pr_partitions (const struct rt_i *rtip, register const struct partition *phead, const char *title)
void rt_pr_pt_vls (struct bu_vls *v, const struct rt_i *rtip, register const struct partition *pp)
void rt_pr_pt (const struct rt_i *rtip, register const struct partition *pp)
void rt_pr_seg_vls (struct bu_vls *v, register const struct seg *segp)
void rt_pr_seg (register const struct seg *segp)
void rt_pr_hit (const char *str, register const struct hit *hitp)
void rt_pr_hit_vls (struct bu_vls *v, const char *str, register const struct hit *hitp)
void rt_pr_hitarray_vls (struct bu_vls *v, const char *str, register const struct hit *hitp, int count)
void rt_pr_tree (register const union tree *tp, int lvl)
void rt_pr_tree_vls (struct bu_vls *vls, register const union tree *tp)
char * rt_pr_tree_str (const union tree *tree)
void rt_pr_tree_val (register const union tree *tp, const struct partition *partp, int pr_name, int lvl)
void rt_pr_fallback_angle (struct bu_vls *str, const char *prefix, const double *angles)
void rt_find_fallback_angle (double *angles, const fastf_t *vec)
void rt_pr_tol (const struct bn_tol *tol)
void rt_pr_uvcoord (const struct uvcoord *uvp)


Detailed Description

Routines to print LIBRT data structures using bu_log().

Author - Michael John Muuss

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

Definition in file pr.c.


Function Documentation

void rt_pr_soltab register const struct soltab stp  ) 
 

Definition at line 59 of file pr.c.

References bu_log(), bu_pr_ptbl(), ID_MAX_SOLID, INTCLAMP, rt_bomb(), and VPRINT.

Here is the call graph for this function:

void rt_pr_region register const struct region rp  ) 
 

Definition at line 83 of file pr.c.

References bu_log(), bu_vls_addr(), bu_vls_free(), bu_vls_init(), INTCLAMP, REGION_FASTGEN_PLATE, REGION_NON_FASTGEN, RT_CK_REGION, and rt_pr_tree_vls().

Here is the call graph for this function:

void rt_pr_partitions const struct rt_i rtip,
register const struct partition phead,
const char *  title
 

Definition at line 121 of file pr.c.

References bu_log(), bu_log_indent_delta(), bu_log_indent_vls(), bu_vls_addr(), bu_vls_free(), bu_vls_init(), bu_vls_strcat(), partition::pt_forw, RT_CHECK_PT, RT_CHECK_RTI, and rt_pr_pt_vls().

Here is the call graph for this function:

void rt_pr_pt_vls struct bu_vls v,
const struct rt_i rtip,
register const struct partition pp
 

Definition at line 151 of file pr.c.

References BU_CK_VLS, bu_log_indent_delta(), bu_log_indent_vls(), BU_PTBL_FOR, bu_vls_printf(), bu_vls_strcat(), directory::d_namep, RT_CHECK_PT, RT_CHECK_RTI, RT_CK_REGION, RT_CK_SEG, RT_CK_SOLTAB, rt_pr_hit_vls(), rt_pr_seg_vls(), soltab::st_bit, soltab::st_dp, and soltab::st_id.

Here is the call graph for this function:

void rt_pr_pt const struct rt_i rtip,
register const struct partition pp
 

Definition at line 213 of file pr.c.

References bu_log(), bu_vls_addr(), bu_vls_free(), bu_vls_init(), RT_CHECK_PT, RT_CHECK_RTI, and rt_pr_pt_vls().

Here is the call graph for this function:

void rt_pr_seg_vls struct bu_vls v,
register const struct seg segp
 

Definition at line 229 of file pr.c.

References BU_CK_VLS, bu_log_indent_vls(), bu_vls_printf(), and RT_CK_SEG.

Here is the call graph for this function:

void rt_pr_seg register const struct seg segp  ) 
 

Definition at line 249 of file pr.c.

References bu_log(), bu_vls_addr(), bu_vls_free(), bu_vls_init(), RT_CK_SEG, and rt_pr_seg_vls().

Here is the call graph for this function:

void rt_pr_hit const char *  str,
register const struct hit hitp
 

Definition at line 265 of file pr.c.

References bu_log(), bu_vls_addr(), bu_vls_free(), bu_vls_init(), RT_CK_HIT, and rt_pr_hit_vls().

Here is the call graph for this function:

void rt_pr_hit_vls struct bu_vls v,
const char *  str,
register const struct hit hitp
 

Definition at line 281 of file pr.c.

References BU_CK_VLS, bu_log_indent_vls(), bu_vls_printf(), bu_vls_strcat(), and RT_CK_HIT.

Here is the call graph for this function:

void rt_pr_hitarray_vls struct bu_vls v,
const char *  str,
register const struct hit hitp,
int  count
 

Definition at line 297 of file pr.c.

References BU_CK_VLS, bu_log_indent_vls(), bu_vls_printf(), bu_vls_strcat(), and RT_CK_HIT.

Here is the call graph for this function:

void rt_pr_tree register const union tree tp,
int  lvl
 

Definition at line 322 of file pr.c.

References bu_log(), RT_CK_TREE, and TREE_NULL.

Here is the call graph for this function:

void rt_pr_tree_vls struct bu_vls vls,
register const union tree tp
 

Definition at line 410 of file pr.c.

References bu_free(), bu_log(), bu_vls_strcat(), db_path_to_string(), OP_DB_LEAF, OP_GUARD, OP_INTERSECT, OP_NOP, OP_NOT, OP_REGION, OP_SOLID, OP_SUBTRACT, OP_UNION, OP_XNOP, OP_XOR, rt_pr_tree_vls(), and TREE_NULL.

Here is the call graph for this function:

void rt_pr_tree_val register const union tree tp,
const struct partition partp,
int  pr_name,
int  lvl
 

Definition at line 576 of file pr.c.

References bu_log(), BU_PTBL_FOR, OP_GUARD, OP_INTERSECT, OP_NOT, OP_SOLID, OP_SUBTRACT, OP_UNION, OP_XOR, partition::pt_seglist, rt_pr_tree_val(), and TREE_NULL.

Here is the call graph for this function:

void rt_pr_fallback_angle struct bu_vls str,
const char *  prefix,
const double *  angles
 

Definition at line 679 of file pr.c.

References BU_CK_VLS, bu_vls_printf(), and INTCLAMP.

Here is the call graph for this function:

void rt_find_fallback_angle double *  angles,
const fastf_t vec
 

Definition at line 696 of file pr.c.

References bn_halfpi, bn_radtodeg, X, Y, and Z.

void rt_pr_uvcoord const struct uvcoord uvp  ) 
 

Definition at line 779 of file pr.c.

References bu_log(), INTCLAMP, uvcoord::uv_du, uvcoord::uv_dv, uvcoord::uv_u, and uvcoord::uv_v.

Here is the call graph for this function:


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