Revision: 41931
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41931&view=rev
Author:   starseeker
Date:     2011-01-04 16:57:07 +0000 (Tue, 04 Jan 2011)

Log Message:
-----------
Er yeah, also want the table updates that go with adding ft_brep...

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/arb8/arb8_brep.cpp
    brlcad/trunk/src/librt/primitives/table.c
    brlcad/trunk/src/librt/primitives/tor/tor_brep.cpp

Modified: brlcad/trunk/src/librt/primitives/arb8/arb8_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/arb8/arb8_brep.cpp        2011-01-04 
16:55:29 UTC (rev 41930)
+++ brlcad/trunk/src/librt/primitives/arb8/arb8_brep.cpp        2011-01-04 
16:57:07 UTC (rev 41931)
@@ -40,7 +40,7 @@
  * R T _ A R B 8 _ B R E P
  */
 extern "C" void
-rt_arb8_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol 
*tol)
+rt_arb_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol 
*tol)
 {
     struct rt_db_internal *tmp_internal = (struct rt_db_internal *) 
bu_malloc(sizeof(struct rt_db_internal), "allocate structure");
     RT_INIT_DB_INTERNAL(tmp_internal);

Modified: brlcad/trunk/src/librt/primitives/table.c
===================================================================
--- brlcad/trunk/src/librt/primitives/table.c   2011-01-04 16:55:29 UTC (rev 
41930)
+++ brlcad/trunk/src/librt/primitives/table.c   2011-01-04 16:57:07 UTC (rev 
41931)
@@ -56,6 +56,7 @@
        BU_EXTERN(void rt_##name##_vshot, (struct soltab *stp[], struct xray 
*rp[], struct seg *segp, int n, struct application *ap)); \
        BU_EXTERN(int rt_##name##_tess, (struct nmgregion **r, struct model *m, 
struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol 
*tol)); \
        BU_EXTERN(int rt_##name##_tnurb, (struct nmgregion **r, struct model 
*m, struct rt_db_internal *ip, const struct bn_tol *tol)); \
+       BU_EXTERN(void rt_##name##_brep, (ON_Brep **b, struct rt_db_internal 
*ip, const struct bn_tol *tol)); \
        BU_EXTERN(int rt_##name##_import5, (struct rt_db_internal *ip, const 
struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct 
resource *resp)); \
        BU_EXTERN(int rt_##name##_export5, (struct bu_external *ep, const 
struct rt_db_internal *ip, double local2mm, const struct db_i *dbip, struct 
resource *resp)); \
        BU_EXTERN(int rt_##name##_import4, (struct rt_db_internal *ip, const 
struct bu_external *ep, const mat_t mat, const struct db_i *dbip, struct 
resource *resp)); \
@@ -172,6 +173,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,
@@ -199,6 +201,7 @@
        rt_tor_vshot,
        rt_tor_tess,
        NULL,
+       rt_tor_brep,
        rt_tor_import5,
        rt_tor_export5,
        rt_tor_import4,
@@ -234,6 +237,7 @@
        rt_tgc_vshot,
        rt_tgc_tess,
        rt_tgc_tnurb,
+       rt_tgc_brep,
        rt_tgc_import5,
        rt_tgc_export5,
        rt_tgc_import4,
@@ -269,6 +273,7 @@
        rt_ell_vshot,
        rt_ell_tess,
        rt_ell_tnurb,
+       rt_ell_brep,
        rt_ell_import5,
        rt_ell_export5,
        rt_ell_import4,
@@ -304,6 +309,7 @@
        rt_arb_vshot,
        rt_arb_tess,
        rt_arb_tnurb,
+       rt_arb_brep,
        rt_arb_import5,
        rt_arb_export5,
        rt_arb_import4,
@@ -339,6 +345,7 @@
        NULL,
        rt_ars_tess,
        NULL,
+       NULL,
        rt_ars_import5,
        rt_ars_export5,
        rt_ars_import4,
@@ -374,6 +381,7 @@
        rt_hlf_vshot,
        rt_hlf_tess,
        NULL,
+       NULL,
        rt_hlf_import5,
        rt_hlf_export5,
        rt_hlf_import4,
@@ -409,6 +417,7 @@
        rt_rec_vshot,
        rt_tgc_tess,
        NULL,
+       rt_tgc_brep,
        rt_tgc_import5,
        rt_tgc_export5,
        rt_tgc_import4,
@@ -446,6 +455,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        rt_pg_import4,
        rt_pg_export4,
        rt_pg_ifree,
@@ -479,6 +489,7 @@
        NULL,
        rt_nurb_tess,
        NULL,
+       NULL,
        rt_nurb_import5,
        rt_nurb_export5,
        rt_nurb_import4,
@@ -514,6 +525,7 @@
        rt_sph_vshot,
        rt_ell_tess,
        rt_ell_tnurb,
+       rt_ell_brep,
        rt_ell_import5,
        rt_ell_export5,
        rt_ell_import4,
@@ -549,6 +561,7 @@
        NULL,
        rt_nmg_tess,
        NULL,
+       rt_nmg_brep,
        rt_nmg_import5,
        rt_nmg_export5,
        rt_nmg_import4,
@@ -584,6 +597,7 @@
        NULL,
        rt_ebm_tess,
        NULL,
+       rt_ebm_brep,
        rt_ebm_import5,
        rt_ebm_export5,
        rt_ebm_import4,
@@ -619,6 +633,7 @@
        NULL,
        rt_vol_tess,
        NULL,
+       rt_vol_brep,
        rt_vol_import5,
        rt_vol_export5,
        rt_vol_import4,
@@ -654,6 +669,7 @@
        NULL,
        rt_arbn_tess,
        NULL,
+       rt_arbn_brep,
        rt_arbn_import5,
        rt_arbn_export5,
        rt_arbn_import4,
@@ -689,6 +705,7 @@
        NULL,
        rt_pipe_tess,
        NULL,
+       rt_pipe_brep,
        rt_pipe_import5,
        rt_pipe_export5,
        rt_pipe_import4,
@@ -724,6 +741,7 @@
        NULL,
        rt_part_tess,
        NULL,
+       NULL,
        rt_part_import5,
        rt_part_export5,
        rt_part_import4,
@@ -759,6 +777,7 @@
        NULL,
        rt_rpc_tess,
        NULL,
+       rt_rpc_brep,
        rt_rpc_import5,
        rt_rpc_export5,
        rt_rpc_import4,
@@ -794,6 +813,7 @@
        NULL,
        rt_rhc_tess,
        NULL,
+       rt_rhc_brep,
        rt_rhc_import5,
        rt_rhc_export5,
        rt_rhc_import4,
@@ -829,6 +849,7 @@
        NULL,
        rt_epa_tess,
        NULL,
+       rt_epa_brep,
        rt_epa_import5,
        rt_epa_export5,
        rt_epa_import4,
@@ -864,6 +885,7 @@
        NULL,
        rt_ehy_tess,
        NULL,
+       rt_ehy_brep,
        rt_ehy_import5,
        rt_ehy_export5,
        rt_ehy_import4,
@@ -899,6 +921,7 @@
        NULL,
        rt_eto_tess,
        NULL,
+       rt_eto_brep,
        rt_eto_import5,
        rt_eto_export5,
        rt_eto_import4,
@@ -934,6 +957,7 @@
        NULL,
        rt_grp_tess,
        NULL,
+       NULL,
        rt_grp_import5,
        rt_grp_export5,
        rt_grp_import4,
@@ -977,6 +1001,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,
@@ -1004,6 +1029,7 @@
        NULL,
        rt_hf_tess,
        NULL,
+       NULL,
        rt_hf_import5,
        rt_hf_export5,
        rt_hf_import4,
@@ -1039,6 +1065,7 @@
        NULL,
        rt_dsp_tess,
        NULL,
+       rt_dsp_brep,
        rt_dsp_import5,
        rt_dsp_export5,
        rt_dsp_import4,
@@ -1074,6 +1101,7 @@
        NULL,
        NULL,
        NULL,
+       rt_sketch_brep,
        rt_sketch_import5,
        rt_sketch_export5,
        rt_sketch_import4,
@@ -1109,6 +1137,7 @@
        NULL,
        rt_extrude_tess,
        NULL,
+       rt_extrude_brep,
        rt_extrude_import5,
        rt_extrude_export5,
        rt_extrude_import4,
@@ -1144,6 +1173,7 @@
        NULL,
        rt_submodel_tess,
        NULL,
+       NULL,
        rt_submodel_import5,
        rt_submodel_export5,
        rt_submodel_import4,
@@ -1179,6 +1209,7 @@
        NULL,
        rt_cline_tess,
        NULL,
+       NULL,
        rt_cline_import5,
        rt_cline_export5,
        rt_cline_import4,
@@ -1214,6 +1245,7 @@
        NULL,
        rt_bot_tess,
        NULL,
+       rt_bot_brep,
        rt_bot_import5,
        rt_bot_export5,
        rt_bot_import4,
@@ -1249,6 +1281,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        rt_comb_import5,
        rt_comb_export5,
        rt_comb_import4,
@@ -1294,6 +1327,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,
@@ -1322,6 +1356,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        rt_binunif_export5,
        NULL,
        NULL,
@@ -1366,6 +1401,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,
@@ -1393,6 +1429,7 @@
        NULL,
        rt_superell_tess,
        NULL,
+       NULL,
        rt_superell_import5,
        rt_superell_export5,
        rt_superell_import4,
@@ -1428,6 +1465,7 @@
        NULL,
        rt_metaball_tess,
        NULL,
+       NULL,
        rt_metaball_import5,
        rt_metaball_export5,
        NULL,
@@ -1464,6 +1502,7 @@
        NULL,
        rt_brep_tess,
        NULL,
+       NULL,
        rt_brep_import5,
        rt_brep_export5,
        NULL,
@@ -1507,6 +1546,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,
@@ -1535,6 +1575,7 @@
        NULL,
        rt_hyp_tess,
        NULL,
+       rt_hyp_brep,
        rt_hyp_import5,
        rt_hyp_export5,
        NULL,
@@ -1570,6 +1611,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        rt_constraint_import5,
        rt_constraint_export5,
        NULL,
@@ -1605,6 +1647,7 @@
        NULL,
        rt_revolve_tess,
        NULL,
+       rt_revolve_brep,
        rt_revolve_import5,
        rt_revolve_export5,
        NULL,
@@ -1640,6 +1683,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        rt_pnts_import5,
        rt_pnts_export5,
        NULL,
@@ -1683,6 +1727,7 @@
        NULL,
        NULL,
        NULL,
+       NULL,
        0,
        0,
        NULL,

Modified: brlcad/trunk/src/librt/primitives/tor/tor_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/tor/tor_brep.cpp  2011-01-04 16:55:29 UTC 
(rev 41930)
+++ brlcad/trunk/src/librt/primitives/tor/tor_brep.cpp  2011-01-04 16:57:07 UTC 
(rev 41931)
@@ -31,7 +31,7 @@
 
 
 extern "C" void
-rt_tor_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol 
*)
+rt_tor_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol 
*tol)
 {
     struct rt_tor_internal *tip;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to