|
BRL-CAD
|
#include <soltab.h>
Data Fields | |
| struct bu_list | l |
| links, headed by rti_headsolid | |
| struct bu_list | l2 |
| links, headed by st_dp->d_use_hd | |
| const struct rt_functab * | st_meth |
| pointer to per-solid methods | |
| struct rt_i * | st_rtip |
| "up" pointer to rt_i | |
| long | st_uses |
| Usage count, for instanced solids. | |
| int | st_id |
| Solid ident. | |
| point_t | st_center |
| Centroid of solid. | |
| fastf_t | st_aradius |
| Radius of APPROXIMATING sphere. | |
| fastf_t | st_bradius |
| Radius of BOUNDING sphere. | |
| void * | st_specific |
| -> ID-specific (private) struct | |
| const struct directory * | st_dp |
| Directory entry of solid. | |
| point_t | st_min |
| min X, Y, Z of bounding RPP | |
| point_t | st_max |
| max X, Y, Z of bounding RPP | |
| long | st_bit |
| solids bit vector index (const) | |
| struct bu_ptbl | st_regions |
| ptrs to regions using this solid (const) | |
| matp_t | st_matp |
| solid coords to model space, NULL=identity | |
| struct db_full_path | st_path |
| path from region to leaf | |
| long | st_npieces |
| # pieces used by this solid | |
| long | st_piecestate_num |
| re_pieces[] subscript | |
| struct bound_rpp * | st_piece_rpps |
| bounding RPP of each piece of this solid | |
Internal information used to keep track of solids in the model. Leaf name and Xform matrix are unique identifier. Note that all objects store dimensional values in millimeters (mm).
| const struct rt_functab* st_meth |
| struct bu_ptbl st_regions |
| struct db_full_path st_path |
| struct bound_rpp* st_piece_rpps |