BRL-CAD
adc.h
Go to the documentation of this file.
1 /* A D C . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2004-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 
21 /*----------------------------------------------------------------------*/
22 /* @file adc.h */
23 /** @addtogroup adc */
24 /** @{ */
25 
26 #ifndef BN_ADC_H
27 #define BN_ADC_H
28 
29 #include "common.h"
30 #include "vmath.h"
31 #include "bn/defines.h"
32 
34 
35 /* TODO - find another, more appropriate home for these... may just have to
36  * duplicate the logic in libdm and libged */
37 #include "dm/bview.h"
38 BN_EXPORT void adc_model_to_adc_view(struct bview_adc_state *adcs, mat_t model2view, fastf_t amax);
39 BN_EXPORT void adc_grid_to_adc_view(struct bview_adc_state *adcs, mat_t model2view, fastf_t amax);
40 BN_EXPORT void adc_view_to_adc_grid(struct bview_adc_state *adcs, mat_t model2view);
41 BN_EXPORT void adc_reset(struct bview_adc_state *adcs, mat_t view2model, mat_t model2view);
42 
44 
45 #endif /* BN_ADC_H */
46 /** @} */
47 /*
48  * Local Variables:
49  * mode: C
50  * tab-width: 8
51  * indent-tabs-mode: t
52  * c-file-style: "stroustrup"
53  * End:
54  * ex: shiftwidth=4 tabstop=8
55  */
void adc_model_to_adc_view(struct bview_adc_state *adcs, mat_t model2view, fastf_t amax)
Definition: clip.c:192
void adc_grid_to_adc_view(struct bview_adc_state *adcs, mat_t model2view, fastf_t amax)
Definition: clip.c:201
Header file for the BRL-CAD common definitions.
#define __BEGIN_DECLS
Definition: common.h:73
#define __END_DECLS
Definition: common.h:74
double fastf_t
Definition: defines.h:300
void adc_reset(struct bview_adc_state *adcs, mat_t view2model, mat_t model2view)
Definition: clip.c:229
void adc_view_to_adc_grid(struct bview_adc_state *adcs, mat_t model2view)
Definition: clip.c:215