BRL-CAD
dm-plot.h
Go to the documentation of this file.
1 /* D M - P L O T . H
2  * BRL-CAD
3  *
4  * Copyright (c) 1993-2014 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 libdm */
21 /** @{ */
22 /** @file dm-plot.h
23  *
24  */
25 
26 #ifndef DM_PLOT_H
27 #define DM_PLOT_H
28 
29 /*
30  * Display coordinate conversion:
31  * GED is using -2048..+2048,
32  * and we define the PLOT file to use the same space. Easy!
33  */
34 #define GED_TO_PLOT(x) (x)
35 #define PLOT_TO_GED(x) (x)
36 
37 struct plot_vars {
38  struct bu_list l;
39  FILE *up_fp;
40  char ttybuf[BUFSIZ];
41  int floating;
42  int zclip;
43  int grid;
44  int is_3D;
45  int is_pipe;
46  int debug;
47  vect_t clipmin;
48  vect_t clipmax;
49  struct bu_vls vls;
50 };
51 
52 extern struct plot_vars head_plot_vars;
53 
54 #endif /* DM_PLOT_H */
55 
56 /** @} */
57 /*
58  * Local Variables:
59  * mode: C
60  * tab-width: 8
61  * indent-tabs-mode: t
62  * c-file-style: "stroustrup"
63  * End:
64  * ex: shiftwidth=4 tabstop=8
65  */
int is_pipe
Definition: dm-plot.h:45
Definition: list.h:118
FILE * up_fp
Definition: dm-plot.h:39
vect_t clipmax
Definition: dm-plot.h:48
int debug
Definition: dm-plot.h:46
vect_t clipmin
Definition: dm-plot.h:47
struct bu_vls vls
Definition: dm-plot.h:49
int is_3D
Definition: dm-plot.h:44
struct bu_list l
Definition: dm-plot.h:38
char ttybuf[BUFSIZ]
Definition: dm-plot.h:40
int zclip
Definition: dm-plot.h:42
Definition: vls.h:56
struct plot_vars head_plot_vars
Definition: dm-plot.c:58
int grid
Definition: dm-plot.h:43
int floating
Definition: dm-plot.h:41