g_hf.c File Reference

#include "common.h"
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <math.h>
#include <fcntl.h>
#include <strings.h>
#include "machine.h"
#include "vmath.h"
#include "db.h"
#include "nmg.h"
#include "raytrace.h"
#include "rtgeom.h"
#include "./debug.h"

Include dependency graph for g_hf.c:

Go to the source code of this file.

Data Structures

struct  hf_specific

Defines

#define HF_O(m)   bu_offsetof(struct rt_hf_internal, m)
#define MAXHITS   128
#define HF_GET(_p, _x, _y)   ((_p)[(_y)*xip->w+(_x)])

Functions

int rt_hf_to_dsp (struct rt_db_internal *db_intern, struct resource *resp)
int rt_hf_prep (struct soltab *stp, struct rt_db_internal *ip, struct rt_i *rtip)
void rt_hf_print (register const struct soltab *stp)
int rt_hf_shot (struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead)
void rt_hf_norm (register struct hit *hitp, struct soltab *stp, register struct xray *rp)
void rt_hf_curve (register struct curvature *cvp, register struct hit *hitp, struct soltab *stp)
void rt_hf_uv (struct application *ap, struct soltab *stp, register struct hit *hitp, register struct uvcoord *uvp)
void rt_hf_free (register struct soltab *stp)
int rt_hf_class (void)
int rt_hf_plot (struct bu_list *vhead, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol)
int rt_hf_tess (struct nmgregion **r, struct model *m, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol)
int rt_hf_import (struct rt_db_internal *ip, const struct bu_external *ep, register const fastf_t *mat, const struct db_i *dbip)
int rt_hf_export (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
int rt_hf_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip)
int rt_hf_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
int rt_hf_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local)
void rt_hf_ifree (struct rt_db_internal *ip)

Variables

const struct bu_structparse rt_hf_parse []
const struct bu_structparse rt_hf_cparse []


Detailed Description

Intersect a ray with a height field, where the heights are imported from an external data file, and where some (or all) of the parameters of that data file may be read in from an external control file.

Authors - Michael John Muuss (Christopher T. Johnson, GSI)

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

Definition in file g_hf.c.


Define Documentation

#define HF_GET _p,
_x,
_y   )     ((_p)[(_y)*xip->w+(_x)])
 

Referenced by rt_hf_plot().


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