BRL-CAD
#include "common.h"
#include "rt/defines.h"
#include "rt/xray.h"
Include dependency graph for pattern.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_pattern_data
 

Macros

#define RT_PATTERN_DATA_INIT_ZERO   {NULL, 0, {0, 0, 0}, {0, 0, 0}, 0, NULL, 0, NULL}
 

Enumerations

enum  rt_pattern_t {
  RT_PATTERN_RECT_ORTHOGRID , RT_PATTERN_RECT_PERSPGRID , RT_PATTERN_CIRC_ORTHOGRID , RT_PATTERN_CIRC_PERSPGRID ,
  RT_PATTERN_CIRC_SPIRAL , RT_PATTERN_ELLIPSE_ORTHOGRID , RT_PATTERN_ELLIPSE_PERSPGRID , RT_PATTERN_CIRC_LAYERS ,
  RT_PATTERN_SPH_LAYERS , RT_PATTERN_SPH_QRAND , RT_PATTERN_UNKNOWN
}
 

Functions

int rt_raybundle_maker (struct xray *rp, double radius, const fastf_t *avec, const fastf_t *bvec, int rays_per_ring, int nring)
 
int rt_pattern (struct rt_pattern_data *data, rt_pattern_t type)
 
int rt_gen_elliptical_grid (struct xrays *rays, const struct xray *center_ray, const fastf_t *avec, const fastf_t *bvec, fastf_t gridsize)
 
int rt_gen_circular_grid (struct xrays *ray_bundle, const struct xray *center_ray, fastf_t radius, const fastf_t *up_vector, fastf_t gridsize)
 
int rt_gen_conic (struct xrays *rays, const struct xray *center_ray, fastf_t theta, vect_t up_vector, int rays_per_radius)
 
int rt_gen_frustum (struct xrays *rays, const struct xray *center_ray, const vect_t a_vec, const vect_t b_vec, const fastf_t a_theta, const fastf_t b_theta, const fastf_t a_num, const fastf_t b_num)
 
int rt_gen_rect (struct xrays *rays, const struct xray *center_ray, const vect_t a_vec, const vect_t b_vec, const fastf_t da, const fastf_t db)