rt_view_info Struct Reference

#include <raytrace.h>

Collaboration diagram for rt_view_info:

Data Fields

struct bu_listvhead
const struct bn_toltol
fastf_t point_spacing
fastf_t curve_spacing

Detailed Description

Normally, librt doesn't have a concept of a "display" of the geometry. However for at least the plotting routines, view information is sometimes needed to produce more intelligent output. In those situations, the application should populate and pass an rt_view_info struct.

TODO this structure is NOT in final form and should not be relied upon.

Definition at line 1925 of file raytrace.h.

Field Documentation

const struct bn_tol* tol
fastf_t point_spacing

The average distance between the segment points of plotted curves. Smaller spacing means more points per curve, and thus smoother (more accurate) plot curves.

Definition at line 1934 of file raytrace.h.

Referenced by primitive_diagonal_samples(), rt_bot_adaptive_plot(), and rt_brep_adaptive_plot().

fastf_t curve_spacing

The average distance between plotted surface curves. Smaller spacing means more curves are drawn, increasing the overall density of the plot.

Definition at line 1940 of file raytrace.h.

Referenced by primitive_curve_count(), rt_ehy_adaptive_plot(), and rt_epa_adaptive_plot().

The documentation for this struct was generated from the following file: