Revision: 56746
http://sourceforge.net/p/brlcad/code/56746
Author: iiizzzaaakkk
Date: 2013-08-12 16:16:01 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
Added rt_hrt_print() routine and removed rt_hrt_??port4() routines pertaining
to version 4 of database
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/hrt/hrt.c
Modified: brlcad/trunk/src/librt/primitives/hrt/hrt.c
===================================================================
--- brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-12 15:38:02 UTC (rev
56745)
+++ brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-12 16:16:01 UTC (rev
56746)
@@ -188,9 +188,14 @@
* R T _ H R T _ P R I N T
*/
void
-rt_hrt_print()
+rt_hrt_print(register const struct soltab *stp)
{
- bu_log("rt_hrt_print: Not implemented yet!\n");
+ register struct hrt_specific *hrt =
+ (struct hrt_specific *)stp->st_specific;
+
+ VPRINT("V", hrt->hrt_V);
+ bn_mat_print("S o R", hrt->hrt_SoR);
+ bn_mat_print("invRSSR", hrt->hrt_invRSSR);
}
@@ -364,20 +369,6 @@
/**
- * R T _ H R T _ I M P O R T
- *
- * Import a heart from the database format to the internal format.
- * Apply modeling transformations at the same time.
- */
-int
-rt_hrt_import4()
-{
- bu_log("rt_hrt_import4: Not implemented yet!\n");
- return -1;
-}
-
-
-/**
* R T _ H R T _ E X P O R T 5
*/
int
@@ -389,18 +380,6 @@
/**
- * R T _ H R T _ E X P O R T
- *
- */
-int
-rt_hrt_export4()
-{
- bu_log("rt_hrt_export4: Not implemented yet!\n");
- return 0;
-}
-
-
-/**
* R T _ H R T _ I M P O R T 5
*
* Import a HRT from the database format to the internal format.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits