Revision: 65138
http://sourceforge.net/p/brlcad/code/65138
Author: starseeker
Date: 2015-06-01 20:13:36 +0000 (Mon, 01 Jun 2015)
Log Message:
-----------
db_diff did something different and moved into librt - remove stale header
contents.
Modified Paths:
--------------
brlcad/trunk/include/analyze.h
Modified: brlcad/trunk/include/analyze.h
===================================================================
--- brlcad/trunk/include/analyze.h 2015-06-01 20:11:38 UTC (rev 65137)
+++ brlcad/trunk/include/analyze.h 2015-06-01 20:13:36 UTC (rev 65138)
@@ -126,112 +126,8 @@
voxelize(struct rt_i *rtip, fastf_t voxelSize[3], int levelOfDetail, void
(*create_boxes)(void *callBackData, int x, int y, int z, const char
*regionName, fastf_t percentageFill), void *callBackData);
-/* diff.c */
-/* One of the design goals of this API is to allow developers
- * to access the results of the diffing process in a structured
- * way that lets them create their own custom reports, scripts,
- * visualizations, etc. The functions diff_dp and diff_dbip are
- * the workhorse functions that do the actual diffing, and the
- * remainder of the API is devoted to accessing the results.
- */
-
-/**
- * Analyze the difference between two directory objects
- *
- * Returns a pointer to the results structure. If the first
- * parameter is NULL, diff_dp will create a results structure - else,
- * it uses the one provided. This allows a calling function to
- * allocate a large number of result containers at once.
- */
-ANALYZE_EXPORT void *
-diff_dp(void *result_in, struct directory *dp1, struct directory *dp2, struct
db_i *dbip1, struct db_i *dbip2);
-
-/**
- * Analyze the difference between two database objects
- *
- * Returns a bu_ptbl of results, which can be interpreted
- * by diff_result and friends. To free the elements call
- * diff_free_ptbl.
- */
-ANALYZE_EXPORT struct bu_ptbl *
-diff_dbip(struct db_i *dbip1, struct db_i *dbip2);
-
-/**
- * Free diff result
- */
-ANALYZE_EXPORT void
-diff_free(void *result);
-
-/**
- * Free diff results in a bu_ptbl
- */
-ANALYZE_EXPORT void
-diff_free_ptbl(struct bu_ptbl *results_table);
-
-typedef enum {
- DIFF_NONE = 0, /* No difference between objects */
- DIFF_REMOVED, /* Items removed, none added or changed */
- DIFF_ADDED, /* Items added, none removed or changed */
- DIFF_TYPECHANGE, /* Item underwent a change in type (e.g. sph -> arb8) */
- DIFF_BINARY, /* Only binary change testing available */
- DIFF /* Differences present (none of the above cases */
-} diff_t;
-
-/**
- * Report on the status of the result object - 0 is OK, 1 means
- * something went wrong with the diff.
- */
ANALYZE_EXPORT int
-diff_status(void *result);
-
-/**
- * Report on the type of diff result contained in the object
- */
-ANALYZE_EXPORT diff_t
-diff_type(void *result);
-
-typedef enum {
- DIFF_SHARED_PARAM = 0,
- DIFF_ORIG_ONLY_PARAM,
- DIFF_NEW_ONLY_PARAM,
- DIFF_CHANGED_ORIG_PARAM,
- DIFF_CHANGED_NEW_PARAM,
- DIFF_SHARED_ATTR,
- DIFF_ORIG_ONLY_ATTR,
- DIFF_NEW_ONLY_ATTR,
- DIFF_CHANGED_ORIG_ATTR,
- DIFF_CHANGED_NEW_ATTR
-} diff_result_t;
-
-/**
- * Return the attribute/value set corresponding to a particular
- * subgroup in the result, as enumerated by the diff_result_t
- * types.
- */
-ANALYZE_EXPORT struct bu_attribute_value_set *
-diff_result(void *result, diff_result_t result_type);
-
-typedef enum {
- DIFF_ORIG = 0,
- DIFF_NEW
-} diff_obj_t;
-
-/**
- * Return the directory pointer corresponding to either
- * the original object or the object being compared to it.
- */
-ANALYZE_EXPORT struct directory *
-diff_info_dp(void *result, diff_obj_t obj_type);
-
-/**
- * Return the rt_db_internal information for either
- * the original object or the object being compared to it.
- */
-ANALYZE_EXPORT struct rt_db_internal *
-diff_info_intern(void *result, diff_obj_t obj_type);
-
-ANALYZE_EXPORT int
analyze_raydiff(struct db_i *dbip, const char *obj1, const char *obj2, struct
bn_tol *tol);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits