#include "common.h"
#include <stdio.h>
#include <math.h>
#include "tcl.h"
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "db.h"
#include "nmg.h"
#include "raytrace.h"
#include "rtgeom.h"
#include "./debug.h"
Include dependency graph for table.c:
Go to the source code of this file.
Defines | |
#define | RT_DECLARE_INTERFACE(name) |
#define | rt_tor_xform rt_generic_xform |
#define | rt_tgc_xform rt_generic_xform |
#define | rt_ell_xform rt_generic_xform |
#define | rt_arb_xform rt_generic_xform |
#define | rt_ars_xform rt_generic_xform |
#define | rt_rec_xform rt_generic_xform |
#define | rt_pg_xform rt_generic_xform |
#define | rt_nurb_xform rt_generic_xform |
#define | rt_sph_xform rt_generic_xform |
#define | rt_ebm_xform rt_generic_xform |
#define | rt_vol_xform rt_generic_xform |
#define | rt_arbn_xform rt_generic_xform |
#define | rt_pipe_xform rt_generic_xform |
#define | rt_part_xform rt_generic_xform |
#define | rt_nmg_xform rt_generic_xform |
#define | rt_rpc_xform rt_generic_xform |
#define | rt_rhc_xform rt_generic_xform |
#define | rt_epa_xform rt_generic_xform |
#define | rt_ehy_xform rt_generic_xform |
#define | rt_eto_xform rt_generic_xform |
#define | rt_grp_xform rt_generic_xform |
#define | rt_hf_xform rt_generic_xform |
#define | rt_dsp_xform rt_generic_xform |
#define | rt_sketch_xform rt_generic_xform |
#define | rt_submodel_xform rt_generic_xform |
#define | rt_cline_xform rt_generic_xform |
#define | rt_superell_xform rt_generic_xform |
#define | rt_metaball_xform rt_generic_xform |
#define | DEF(func, args) |
#define | IDEF(func, args) |
#define | NDEF(func, args) |
Functions | |
int | rt_comb_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_comb_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_binexpm_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_binunif_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_binmime_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_binexpm_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip, struct resource *resp, const int minor_type) |
int | rt_binunif_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip, struct resource *resp, const int minor_type) |
void | rt_binunif_ifree (struct rt_db_internal *ip, struct resource *resp) |
int | rt_binunif_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local, struct resource *resp, struct db_i *db_i) |
void | rt_binunif_make (const struct rt_functab *ftp, struct rt_db_internal *intern, double diameter) |
int | rt_binunif_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_binunif_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_comb_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *item) |
int | rt_comb_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_comb_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
void | rt_comb_make (const struct rt_functab *ftp, struct rt_db_internal *intern, double diameter) |
int | rt_parsetab_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_parsetab_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *) |
int | rt_parsetab_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
void | rt_generic_make (const struct rt_functab *ftp, struct rt_db_internal *intern, double diameter) |
int | rt_ebm_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_ebm_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_ebm_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
void | rt_ebm_make (const struct rt_functab *, struct rt_db_internal *, double) |
int | rt_arbn_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_arbn_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_ars_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_ars_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_dsp_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_dsp_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
void | rt_dsp_make (const struct rt_functab *, struct rt_db_internal *, double) |
int | rt_pipe_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_pipe_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_nurb_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_nurb_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_nmg_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_nmg_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
void | rt_nmg_make (const struct rt_functab *, struct rt_db_internal *, double) |
int | rt_bot_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_bot_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_bot_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
int | rt_sketch_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_sketch_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_sketch_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
int | rt_cline_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_cline_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_cline_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
int | rt_extrude_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_extrude_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv, struct resource *resp) |
int | rt_extrude_tclform (const struct rt_functab *ftp, Tcl_Interp *interp) |
void | rt_vstub (struct soltab *stp[], struct xray *rp[], struct seg segp[], int n, struct application *ap) |
int | rt_generic_xform (struct rt_db_internal *op, const mat_t mat, struct rt_db_internal *ip, int free, struct db_i *dbip, struct resource *resp) |
int | rt_nul_tclget (Tcl_Interp *interp, const struct rt_db_internal *intern, const char *attr) |
int | rt_nul_tcladjust (Tcl_Interp *interp, struct rt_db_internal *intern, int argc, char **argv) |
int | rt_nul_tclform (struct rt_functab *ftp, Tcl_Interp *interp) const |
void | rt_nul_make (struct rt_functab *ftp, struct rt_db_internal *intern, double diameter) const |
int | IDEF (rt_nul_prep,(struct soltab *stp, struct rt_db_internal *ip, struct rt_i *rtip)) |
int | rt_id_solid (struct bu_external *ep) |
const struct rt_functab * | rt_get_functab_by_label (const char *label) |
Variables | |
const struct bu_structparse | rt_nul_parse [] |
const struct rt_functab | rt_functab [] |
const int | rt_nfunctab = sizeof(rt_functab)/sizeof(struct rt_functab) |
Author - Michael John Muuss
Source - SECAD/VLD Computing Consortium, Bldg 394 The U. S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005
Definition in file table.c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: |
|
Value: |
|
Value: |
|
|
|
|
|
|
|
|
|
|
R T _ B I N U N I F _ E X P O R T 5 Create the "body" portion of external form Definition at line 354 of file db5_bin.c. References bcopy, bu_bomb(), bu_cv_cookie(), bu_cv_optimize(), bu_cv_w_cookie(), BU_INIT_EXTERNAL, bu_log(), bu_malloc(), bu_plong(), rt_binunif_internal::count, DB5_MINORTYPE_BINU_16BITINT, DB5_MINORTYPE_BINU_16BITINT_U, DB5_MINORTYPE_BINU_32BITINT, DB5_MINORTYPE_BINU_32BITINT_U, DB5_MINORTYPE_BINU_64BITINT, DB5_MINORTYPE_BINU_64BITINT_U, DB5_MINORTYPE_BINU_8BITINT, DB5_MINORTYPE_BINU_8BITINT_U, DB5_MINORTYPE_BINU_DOUBLE, DB5_MINORTYPE_BINU_FLOAT, bu_external::ext_buf, bu_external::ext_nbytes, htond(), htonf(), rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, RT_CK_BINUNIF, RT_CK_DB_INTERNAL, SIZEOF_NETWORK_DOUBLE, SIZEOF_NETWORK_FLOAT, rt_binunif_internal::type, rt_binunif_internal::u, and rt_binunif_internal::uint8. Referenced by rt_binunif_tclget(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 636 of file db5_bin.c. References BU_ASSERT, bu_calloc(), rt_binunif_internal::count, DB5_MAJORTYPE_BINARY_UNIF, DB5_MINORTYPE_BINU_8BITINT, ID_BINUNIF, rt_db_internal::idb_major_type, rt_db_internal::idb_meth, rt_db_internal::idb_ptr, rt_binunif_internal::int8, rt_binunif_internal::magic, NULL, RT_BINUNIF_INTERNAL_MAGIC, rt_binunif_internal::type, and rt_binunif_internal::u. Here is the call graph for this function: ![]() |
|
Definition at line 655 of file db5_bin.c. References bu_free_external(), bu_vls_init(), bu_vls_printf(), bu_vls_strcat(), bu_vls_strcpy(), rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, NULL, rt_binunif_export5(), RT_CHECK_BINUNIF, status, TCL_ERROR, and TCL_OK. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 898 of file tcl.c. References rt_comb_internal::aircode, bu_vls_addr(), bu_vls_strlen(), db_tcl_tree_describe(), rt_comb_internal::GIFTmater, rt_db_internal::idb_ptr, rt_comb_internal::inherit, interp, rt_comb_internal::los, rt_comb_internal::material, rt_comb_internal::region_flag, rt_comb_internal::region_id, rt_comb_internal::rgb, rt_comb_internal::rgb_valid, RT_CK_COMB_TCL, RT_CK_DB_INTERNAL, rt_comb_internal::shader, TCL_OK, rt_comb_internal::tree, and V3ARGS. Here is the call graph for this function: ![]() |
|
Definition at line 1043 of file tcl.c. References rt_db_internal::idb_ptr, interp, rt_comb_internal::region_flag, RT_CK_COMB, RT_CK_DB_INTERNAL, RT_CK_RESOURCE, TCL_ERROR, and TCL_OK. |
|
Definition at line 1383 of file tcl.c. References interp, NULL, RT_CK_FUNCTAB, and TCL_OK. |
|
Definition at line 1401 of file tcl.c. References rt_comb_internal::aircode, bu_calloc(), bu_vls_init(), DB5_MAJORTYPE_BRLCAD, rt_comb_internal::GIFTmater, ID_COMBINATION, rt_db_internal::idb_major_type, rt_db_internal::idb_meth, rt_db_internal::idb_ptr, rt_comb_internal::inherit, rt_comb_internal::los, rt_comb_internal::magic, rt_comb_internal::material, rt_comb_internal::region_flag, rt_comb_internal::region_id, rt_comb_internal::rgb, rt_comb_internal::rgb_valid, RT_COMB_MAGIC, rt_comb_internal::shader, rt_comb_internal::temperature, and rt_comb_internal::tree. Here is the call graph for this function: ![]() |
|
Definition at line 1324 of file tcl.c. References bu_vls_addr(), bu_vls_free(), bu_vls_init(), bu_vls_printf(), bu_vls_struct_item(), bu_vls_struct_item_named(), bu_vls_trunc(), rt_functab::ft_label, rt_functab::ft_parsetab, rt_db_internal::idb_meth, rt_db_internal::idb_ptr, interp, NULL, RT_CK_DB_INTERNAL, RT_CK_FUNCTAB, bu_structparse::sp_name, status, TCL_ERROR, and TCL_OK. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 1480 of file tcl.c. References bu_structparse_get_terse_form(), rt_functab::ft_label, rt_functab::ft_parsetab, interp, NULL, RT_CK_FUNCTAB, TCL_ERROR, and TCL_OK. Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
|
|
|
R T _ P I P E _ T C L _ G E T Examples - db get name V# get coordinates for vertex # db get name I# get inner radius for vertex # db get name O# get outer radius for vertex # db get name R# get bendradius for vertex # db get name P# get all data for vertex # db get name N get number of vertices Definition at line 3785 of file g_pipe.c. References BU_LIST_FOR, bu_vls_addr(), bu_vls_free(), bu_vls_init(), bu_vls_printf(), bu_vls_strcat(), rt_db_internal::idb_ptr, interp, NULL, rt_pipe_internal::pipe_segs_head, RT_PIPE_CK_MAGIC, status, TCL_ERROR, TCL_OK, and V3ARGS. Here is the call graph for this function: ![]() |
|
Definition at line 3878 of file g_pipe.c. References atof(), bu_calloc(), BU_LIST_FOR, BU_LIST_INIT, BU_LIST_INSERT, BU_LIST_LAST, bu_next_token(), bu_list::forw, rt_db_internal::idb_ptr, interp, wdb_pipept::l, NULL, rt_pipe_internal::pipe_segs_head, wdb_pipept::pp_bendradius, wdb_pipept::pp_coord, wdb_pipept::pp_id, wdb_pipept::pp_od, RT_CK_DB_INTERNAL, RT_PIPE_CK_MAGIC, Tcl_DecrRefCount, TCL_ERROR, TCL_OK, TCL_STATIC, and VSETALL. Here is the call graph for this function: ![]() |
|
Definition at line 1223 of file g_nurb.c. References bu_vls_init(), bu_vls_printf(), bu_vls_strcpy(), rt_db_internal::idb_ptr, NULL, and status. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 2764 of file g_nmg.c. References BU_LIST_FIRST, BU_LIST_FIRST_MAGIC, BU_LIST_FOR, BU_LIST_FOR_BACKWARDS, BU_LIST_NON_EMPTY, bu_ptbl_free(), BU_PTBL_GET, bu_ptbl_init(), BU_PTBL_LEN, bu_ptbl_locate(), bu_vls_free(), bu_vls_init(), bu_vls_printf(), bu_vls_strcat(), bu_vls_strcpy(), rt_db_internal::idb_ptr, interp, NMG_CK_MODEL, NMG_CK_VERTEX, nmg_vertex_tabulate(), NMG_VERTEXUSE_MAGIC, NULL, OT_SAME, TCL_ERROR, TCL_STATIC, and V3ARGS. Here is the call graph for this function: ![]() |
|
Definition at line 2905 of file g_nmg.c. References rt_db_internal::idb_ptr, interp, NMG_CK_MODEL, NULL, RT_CK_DB_INTERNAL, Tcl_DecrRefCount, TCL_ERROR, TCL_OK, and TCL_STATIC. |
|
Definition at line 3061 of file g_nmg.c. References DB5_MAJORTYPE_BRLCAD, ID_NMG, rt_db_internal::idb_major_type, rt_db_internal::idb_meth, rt_db_internal::idb_ptr, and nmg_mm(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 1945 of file g_sketch.c. References bu_vls_free(), bu_vls_init(), bu_vls_printf(), bu_vls_strcat(), bu_vls_strcpy(), curve_to_tcl_list(), rt_db_internal::idb_ptr, NULL, RT_SKETCH_CK_MAGIC, TCL_ERROR, V2ARGS, and V3ARGS. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 1933 of file g_sketch.c. References interp, RT_CK_FUNCTAB, and TCL_OK. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 530 of file table.c. References bu_bomb(). Here is the call graph for this function: ![]() |
|
Definition at line 1099 of file table.c. References ID_ARB8, ID_EHY, ID_ELL, ID_EPA, ID_ETO, ID_GRIP, ID_HALF, ID_NULL, ID_RHC, ID_RPC, ID_TGC, and ID_TOR. |
|
Initial value: {
{""}
}
|