rtprivate.h

Go to the documentation of this file.
00001 /*                     R T P R I V A T E . H
00002  * BRL-CAD
00003  *
00004  * Copyright (c) 1985-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 rt */
00022 /*@{*/
00023 /** @file rtprivate.h
00024  *
00025  *@brief
00026  *      Things to support the "rt" program and the link to liboptical
00027  *
00028  */
00029 
00030 #ifndef __RTPRIVATE_H__
00031 #define __RTPRIVATE_H__
00032 
00033 #include "common.h"
00034 
00035 #include <stdio.h>
00036 
00037 #include "raytrace.h"
00038 #include "optical.h"
00039 
00040 /* default parseable title length  (v4 was 132) */
00041 #define RT_BUFSIZE 1024
00042 
00043 /* do.c */
00044 extern void do_ae(double azim, double elev);
00045 extern int do_frame( int framenumber );
00046 extern void def_tree( register struct rt_i *rtip );
00047 extern void do_prep( struct rt_i *rtip );
00048 extern int old_way( FILE *fp );
00049 
00050 /* opt.c */
00051 extern int get_args( int argc, char **argv );
00052 extern int              query_x;
00053 extern int              query_y;
00054 extern int              Query_one_pixel;
00055 extern int              query_rdebug;
00056 extern int              query_debug;
00057 extern int              benchmark;
00058 
00059 /* view.c */
00060 #if 0
00061 extern void view_eol(register struct application *ap);
00062 extern void do_run( int a, int b );
00063 extern void view_2init( register struct application *ap, char   *framename);
00064 extern void view_setup(struct rt_i      *rtip);
00065 extern void view_pixel(register struct application *ap);
00066 extern void view_cleanup(struct rt_i    *rtip);
00067 extern int view_end(struct application *ap);
00068 extern int view_init(register struct application *ap,
00069                      char *file,
00070                      char *obj,
00071                      int minus_o);
00072 #else
00073 extern void view_eol();
00074 extern void do_run();
00075 extern void view_2init();
00076 extern void view_setup();
00077 extern void view_pixel();
00078 extern void view_cleanup();
00079 extern void view_end();
00080 extern int view_init();
00081 
00082 #endif
00083 
00084 #endif  /* __RTPRIVATE_H__ */
00085 /*@}*/
00086 /*
00087  * Local Variables:
00088  * mode: C
00089  * tab-width: 8
00090  * c-basic-offset: 4
00091  * indent-tabs-mode: t
00092  * End:
00093  * ex: shiftwidth=4 tabstop=8
00094  */
00095 

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