BRL-CAD
Loading...
Searching...
No Matches
debug.h
Go to the documentation of this file.
1
/* D E B U G . H
2
* BRL-CAD
3
*
4
* Copyright (c) 2008-2025 United States Government as represented by
5
* the U.S. Army Research Laboratory.
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public License
9
* version 2.1 as published by the Free Software Foundation.
10
*
11
* This library is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this file; see the file named COPYING for more
18
* information.
19
*/
20
/** @addtogroup ged_debug
21
*
22
* Geometry EDiting Library Database Debugging Related Functions.
23
*
24
*/
25
/** @{ */
26
/** @file ged/debug.h */
27
28
#ifndef GED_DEBUG_H
29
#define GED_DEBUG_H
30
31
#include "
common.h
"
32
#include "
ged/defines.h
"
33
34
__BEGIN_DECLS
35
36
#define _GED_TRACE_MAX_LEVELS 12
37
struct
_ged_trace_data
{
38
struct
ged
*
gtd_gedp
;
39
struct
directory
*
gtd_path
[
_GED_TRACE_MAX_LEVELS
];
40
struct
directory
*
gtd_obj
[
_GED_TRACE_MAX_LEVELS
];
41
mat_t
gtd_xform
;
42
int
gtd_objpos
;
43
int
gtd_prflag
;
44
int
gtd_flag
;
45
};
46
47
/* defined in trace.c */
48
49
GED_EXPORT
extern
void
ged_trace
(
struct
directory
*dp,
50
int
pathpos
,
51
const
mat_t
old_xlate
,
52
struct
_ged_trace_data
*
gtdp
,
53
int
verbose
);
54
55
56
__END_DECLS
57
58
#endif
/* GED_DEBUG_H */
59
60
/** @} */
61
62
/*
63
* Local Variables:
64
* tab-width: 8
65
* mode: C
66
* indent-tabs-mode: t
67
* c-file-style: "stroustrup"
68
* End:
69
* ex: shiftwidth=4 tabstop=8
70
*/
dvec
Definition
dvec.h:74
common.h
Header file for the BRL-CAD common definitions.
defines.h
ged_trace
void ged_trace(struct directory *dp, int pathpos, const mat_t old_xlate, struct _ged_trace_data *gtdp, int verbose)
_GED_TRACE_MAX_LEVELS
#define _GED_TRACE_MAX_LEVELS
Definition
debug.h:36
mat_t
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
Definition
vmath.h:370
_ged_trace_data
Definition
debug.h:37
_ged_trace_data::gtd_gedp
struct ged * gtd_gedp
Definition
debug.h:38
_ged_trace_data::gtd_path
struct directory * gtd_path[_GED_TRACE_MAX_LEVELS]
Definition
debug.h:39
_ged_trace_data::gtd_flag
int gtd_flag
Definition
debug.h:44
_ged_trace_data::gtd_xform
mat_t gtd_xform
Definition
debug.h:41
_ged_trace_data::gtd_prflag
int gtd_prflag
Definition
debug.h:43
_ged_trace_data::gtd_objpos
int gtd_objpos
Definition
debug.h:42
_ged_trace_data::gtd_obj
struct directory * gtd_obj[_GED_TRACE_MAX_LEVELS]
Definition
debug.h:40
directory
Definition
directory.h:62
ged
Definition
defines.h:167
include
ged
debug.h
Generated on Sat Jul 5 2025 01:23:50 for BRL-CAD by
1.9.8