BRL-CAD
|
#include "common.h"
#include "vmath.h"
#include "bu/parse.h"
#include "bu/vls.h"
#include "bn/tol.h"
#include "bv.h"
#include "rt/geom.h"
#include "rt/defines.h"
#include "rt/application.h"
#include "rt/db_internal.h"
#include "rt/db_instance.h"
#include "rt/hit.h"
#include "rt/resource.h"
#include "rt/rt_instance.h"
#include "rt/seg.h"
#include "rt/soltab.h"
#include "rt/tol.h"
#include "rt/view.h"
#include "rt/xray.h"
#include "pc.h"
#include "nmg.h"
#include "brep.h"
Go to the source code of this file.
Data Structures | |
struct | rt_functab |
Macros | |
#define | RTFUNCTAB_FUNC_PREP_CAST(_func) ((int (*)(struct soltab *, struct rt_db_internal *, struct rt_i *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_SHOT_CAST(_func) ((int (*)(struct soltab *, struct xray *, struct application *, struct seg *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PRINT_CAST(_func) ((void (*)(const struct soltab *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_NORM_CAST(_func) ((void (*)(struct hit *, struct soltab *, struct xray *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PIECE_SHOT_CAST(_func) ((int (*)(struct rt_piecestate *, struct rt_piecelist *, double dist, struct xray *, struct application *, struct seg *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PIECE_HITSEGS_CAST(_func) ((void (*)(struct rt_piecestate *, struct seg *, struct application *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_UV_CAST(_func) ((void (*)(struct application *, struct soltab *, struct hit *, struct uvcoord *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_CURVE_CAST(_func) ((void (*)(struct curvature *, struct hit *, struct soltab *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_CLASS_CAST(_func) ((int (*)(const struct soltab *, const vect_t, const vect_t, const struct bn_tol *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_FREE_CAST(_func) ((void (*)(struct soltab *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PLOT_CAST(_func) ((int (*)(struct bu_list *, struct rt_db_internal *, const struct bg_tess_tol *, const struct bn_tol *, const struct bview *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_ADAPTIVE_PLOT_CAST(_func) ((int (*)(struct bu_list *, struct rt_db_internal *, const struct bn_tol *, const struct bview *, fastf_t))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_VSHOT_CAST(_func) ((void (*)(struct soltab *[], struct xray *[], struct seg *, int, struct application *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_TESS_CAST(_func) ((int (*)(struct nmgregion **, struct model *, struct rt_db_internal *, const struct bg_tess_tol *, const struct bn_tol *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_TNURB_CAST(_func) ((int (*)(struct nmgregion **, struct model *, struct rt_db_internal *, const struct bn_tol *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_BREP_CAST(_func) ((void (*)(ON_Brep **, struct rt_db_internal *, const struct bn_tol *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_IMPORT5_CAST(_func) ((int (*)(struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_EXPORT5_CAST(_func) ((int (*)(struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_IMPORT4_CAST(_func) ((int (*)(struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_EXPORT4_CAST(_func) ((int (*)(struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_IFREE_CAST(_func) ((void (*)(struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_DESCRIBE_CAST(_func) ((int (*)(struct bu_vls *, const struct rt_db_internal *, int, double))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_XFORM_CAST(_func) ((int (*)(struct rt_db_internal *, const mat_t, struct rt_db_internal *, int, struct db_i *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_GET_CAST(_func) ((int (*)(struct bu_vls *, const struct rt_db_internal *, const char *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_ADJUST_CAST(_func) ((int (*)(struct bu_vls *, struct rt_db_internal *, int, const char **))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_FORM_CAST(_func) ((int (*)(struct bu_vls *, const struct rt_functab *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_MAKE_CAST(_func) ((void (*)(const struct rt_functab *, struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PARAMS_CAST(_func) ((int (*)(struct pc_pc_set *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_BBOX_CAST(_func) ((int (*)(struct rt_db_internal *, point_t *, point_t *, const struct bn_tol *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_VOLUME_CAST(_func) ((void (*)(fastf_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_SURF_AREA_CAST(_func) ((void (*)(fastf_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_CENTROID_CAST(_func) ((void (*)(point_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_ORIENTED_BBOX_CAST(_func) ((int (*)(struct rt_arb_internal *, struct rt_db_internal *, const fastf_t))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_FIND_SELECTIONS_CAST(_func) ((struct rt_selection_set *(*)(const struct rt_db_internal *, const struct rt_selection_query *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_EVALUATE_SELECTION_CAST(_func) ((struct rt_selection *(*)(const struct rt_db_internal *, int op, const struct rt_selection *, const struct rt_selection *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PROCESS_SELECTION_CAST(_func) ((int (*)(struct rt_db_internal *, struct db_i *, const struct rt_selection *, const struct rt_selection_operation *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_PREP_SERIALIZE_CAST(_func) ((int (*)(struct soltab *, const struct rt_db_internal *, struct bu_external *, size_t *))((void (*)(void))_func)) |
#define | RTFUNCTAB_FUNC_LABELS_CAST(_func) ((void (*)(struct bv_scene_obj *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define | RT_CK_FUNCTAB(_p) BU_CKMAG(_p, RT_FUNCTAB_MAGIC, "functab"); |
Functions | |
const struct rt_functab * | rt_get_functab_by_label (const char *label) |
Variables | |
const struct rt_functab | OBJ [] |
#define RTFUNCTAB_FUNC_PREP_CAST | ( | _func | ) | ((int (*)(struct soltab *, struct rt_db_internal *, struct rt_i *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_SHOT_CAST | ( | _func | ) | ((int (*)(struct soltab *, struct xray *, struct application *, struct seg *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PRINT_CAST | ( | _func | ) | ((void (*)(const struct soltab *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PIECE_SHOT_CAST | ( | _func | ) | ((int (*)(struct rt_piecestate *, struct rt_piecelist *, double dist, struct xray *, struct application *, struct seg *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PIECE_HITSEGS_CAST | ( | _func | ) | ((void (*)(struct rt_piecestate *, struct seg *, struct application *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_UV_CAST | ( | _func | ) | ((void (*)(struct application *, struct soltab *, struct hit *, struct uvcoord *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_FREE_CAST | ( | _func | ) | ((void (*)(struct soltab *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PLOT_CAST | ( | _func | ) | ((int (*)(struct bu_list *, struct rt_db_internal *, const struct bg_tess_tol *, const struct bn_tol *, const struct bview *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_ADAPTIVE_PLOT_CAST | ( | _func | ) | ((int (*)(struct bu_list *, struct rt_db_internal *, const struct bn_tol *, const struct bview *, fastf_t))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_VSHOT_CAST | ( | _func | ) | ((void (*)(struct soltab *[], struct xray *[], struct seg *, int, struct application *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_TESS_CAST | ( | _func | ) | ((int (*)(struct nmgregion **, struct model *, struct rt_db_internal *, const struct bg_tess_tol *, const struct bn_tol *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_TNURB_CAST | ( | _func | ) | ((int (*)(struct nmgregion **, struct model *, struct rt_db_internal *, const struct bn_tol *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_BREP_CAST | ( | _func | ) | ((void (*)(ON_Brep **, struct rt_db_internal *, const struct bn_tol *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_IMPORT5_CAST | ( | _func | ) | ((int (*)(struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_EXPORT5_CAST | ( | _func | ) | ((int (*)(struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_IMPORT4_CAST | ( | _func | ) | ((int (*)(struct rt_db_internal *, const struct bu_external *, const mat_t, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_EXPORT4_CAST | ( | _func | ) | ((int (*)(struct bu_external *, const struct rt_db_internal *, double, const struct db_i *, struct resource *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_IFREE_CAST | ( | _func | ) | ((void (*)(struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_DESCRIBE_CAST | ( | _func | ) | ((int (*)(struct bu_vls *, const struct rt_db_internal *, int, double))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_XFORM_CAST | ( | _func | ) | ((int (*)(struct rt_db_internal *, const mat_t, struct rt_db_internal *, int, struct db_i *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_GET_CAST | ( | _func | ) | ((int (*)(struct bu_vls *, const struct rt_db_internal *, const char *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_ADJUST_CAST | ( | _func | ) | ((int (*)(struct bu_vls *, struct rt_db_internal *, int, const char **))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_FORM_CAST | ( | _func | ) | ((int (*)(struct bu_vls *, const struct rt_functab *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_MAKE_CAST | ( | _func | ) | ((void (*)(const struct rt_functab *, struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PARAMS_CAST | ( | _func | ) | ((int (*)(struct pc_pc_set *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_BBOX_CAST | ( | _func | ) | ((int (*)(struct rt_db_internal *, point_t *, point_t *, const struct bn_tol *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_VOLUME_CAST | ( | _func | ) | ((void (*)(fastf_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_SURF_AREA_CAST | ( | _func | ) | ((void (*)(fastf_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_CENTROID_CAST | ( | _func | ) | ((void (*)(point_t *, const struct rt_db_internal *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_ORIENTED_BBOX_CAST | ( | _func | ) | ((int (*)(struct rt_arb_internal *, struct rt_db_internal *, const fastf_t))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_FIND_SELECTIONS_CAST | ( | _func | ) | ((struct rt_selection_set *(*)(const struct rt_db_internal *, const struct rt_selection_query *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_EVALUATE_SELECTION_CAST | ( | _func | ) | ((struct rt_selection *(*)(const struct rt_db_internal *, int op, const struct rt_selection *, const struct rt_selection *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PROCESS_SELECTION_CAST | ( | _func | ) | ((int (*)(struct rt_db_internal *, struct db_i *, const struct rt_selection *, const struct rt_selection_operation *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_PREP_SERIALIZE_CAST | ( | _func | ) | ((int (*)(struct soltab *, const struct rt_db_internal *, struct bu_external *, size_t *))((void (*)(void))_func)) |
#define RTFUNCTAB_FUNC_LABELS_CAST | ( | _func | ) | ((void (*)(struct bv_scene_obj *, const struct rt_db_internal *))((void (*)(void))_func)) |