BRL-CAD
adc.h
Go to the documentation of this file.
1 /* A D C . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2004-2024 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 bv_adc
21  */
22 /** @{ */
23 /** @file bv/adc.h */
24 
25 #ifndef BG_ADC_H
26 #define BG_ADC_H
27 
28 #include "common.h"
29 #include "vmath.h"
30 #include "bv/defines.h"
31 
32 __BEGIN_DECLS
33 
34 BV_EXPORT void adc_model_to_adc_view(struct bv_adc_state *adcs, mat_t model2view, fastf_t amax);
35 BV_EXPORT void adc_grid_to_adc_view(struct bv_adc_state *adcs, mat_t model2view, fastf_t amax);
36 BV_EXPORT void adc_view_to_adc_grid(struct bv_adc_state *adcs, mat_t model2view);
37 BV_EXPORT void adc_reset(struct bv_adc_state *adcs, mat_t view2model, mat_t model2view);
38 
39 __END_DECLS
40 
41 #endif /* BG_ADC_H */
42 
43 /** @} */
44 /*
45  * Local Variables:
46  * mode: C
47  * tab-width: 8
48  * indent-tabs-mode: t
49  * c-file-style: "stroustrup"
50  * End:
51  * ex: shiftwidth=4 tabstop=8
52  */
Header file for the BRL-CAD common definitions.
void adc_model_to_adc_view(struct bv_adc_state *adcs, mat_t model2view, fastf_t amax)
void adc_grid_to_adc_view(struct bv_adc_state *adcs, mat_t model2view, fastf_t amax)
void adc_reset(struct bv_adc_state *adcs, mat_t view2model, mat_t model2view)
void adc_view_to_adc_grid(struct bv_adc_state *adcs, mat_t model2view)
double fastf_t
fastest 64-bit (or larger) floating point type
Definition: vmath.h:334
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
Definition: vmath.h:370
fundamental vector, matrix, quaternion math macros