dm-plot.h

Go to the documentation of this file.
00001 /*                          D M - P L O T . H
00002  * BRL-CAD
00003  *
00004  * Copyright (c) 1993-2006 United States Government as represented by
00005  * the U.S. Army Research Laboratory.
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License
00009  * as published by the Free Software Foundation; either version 2.1 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this file; see the file named COPYING for more
00019  * information.
00020  */
00021 /** @addtogroup libdm */
00022 /*@{*/
00023 /** @file dm-plot.h
00024  *
00025  */
00026 #ifndef SEEN_DM_PLOT
00027 #define SEEN_DM_PLOT
00028 
00029 /*
00030  * Display coordinate conversion:
00031  *  GED is using -2048..+2048,
00032  *  and we define the PLOT file to use the same space.  Easy!
00033  */
00034 #define GED_TO_PLOT(x)  (x)
00035 #define PLOT_TO_GED(x)  (x)
00036 
00037 struct plot_vars {
00038   struct bu_list l;
00039   FILE *up_fp;
00040   char ttybuf[BUFSIZ];
00041   int floating;
00042   int zclip;
00043   int grid;
00044   int is_3D;
00045   int is_pipe;
00046   int debug;
00047   vect_t clipmin;
00048   vect_t clipmax;
00049   struct bu_vls vls;
00050 };
00051 
00052 extern struct plot_vars head_plot_vars;
00053 
00054 #endif /* SEEN_DM_PLOT */
00055 
00056 /*@}*/
00057 /*
00058  * Local Variables:
00059  * mode: C
00060  * tab-width: 8
00061  * c-basic-offset: 4
00062  * indent-tabs-mode: t
00063  * End:
00064  * ex: shiftwidth=4 tabstop=8
00065  */
00066 

Generated on Mon Sep 18 01:24:40 2006 for BRL-CAD by  doxygen 1.4.6