amino  1.0-beta2
Lightweight Robot Utility Library
rxtype.h
Go to the documentation of this file.
1 /* -*- mode: C; c-basic-offset: 4; -*- */
2 /* ex: set shiftwidth=4 tabstop=4 expandtab: */
3 /*
4  * Copyright (c) 2015, Rice University
5  * All rights reserved.
6  *
7  * Author(s): Neil T. Dantam <ntd@rice.edu>
8  *
9  * Redistribution and use in source and binary forms, with or
10  * without modification, are permitted provided that the following
11  * conditions are met:
12  * * Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  * * Redistributions in binary form must reproduce the above
15  * copyright notice, this list of conditions and the following
16  * disclaimer in the documentation and/or other materials provided
17  * with the distribution.
18  * * Neither the name of copyright holder the names of its
19  * contributors may be used to endorse or promote products derived
20  * from this software without specific prior written permission.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
23  * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
24  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
27  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
30  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
31  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34  * POSSIBILITY OF SUCH DAMAGE.
35  *
36  */
37 
38 #ifndef AMINO_RX_RXTYPE_H
39 #define AMINO_RX_RXTYPE_H
40 
46 #define AA_RX_TF_LEN 7
47 
53 /* Opaque types shared between different RX modules
54  */
55 
63 struct aa_rx_sg;
64 
69 struct aa_rx_geom;
70 
78 struct aa_rx_geom_opt;
79 
80 struct aa_rx_octree;
81 
82 struct aa_rx_geom_octree;
83 
84 
88 struct aa_rx_cl_geom;
89 
90 
95 struct aa_rx_win;
96 
101 struct aa_sdl_display_params;
102 
103 
112 typedef int (*aa_sdl_display_fun)(
113  void *context,
114  struct aa_sdl_display_params *params);
115 
123 typedef int (*aa_sdl_win_display_fun)(
124  struct aa_rx_win *win,
125  void *context,
126  struct aa_sdl_display_params *params);
127 
128 
129 struct aa_rx_fk;
130 
131 #endif /*AMINO_RX_RXTYPE_H*/
int(* aa_sdl_display_fun)(void *context, struct aa_sdl_display_params *params)
Display handler function to call in SDL loop.
Definition: rxtype.h:112
int(* aa_sdl_win_display_fun)(struct aa_rx_win *win, void *context, struct aa_sdl_display_params *params)
Display handler function for amino windows to call in SDL loop.
Definition: rxtype.h:123
Opaque structure for geometry options.
Definition: rxtype.h:69
Container for scene geometry.
Definition: rxtype.h:63
Opaque type for a scene_graph.
Opaque type for a window.
Definition: rxtype.h:88
Parameters for SDL display function.
Definition: rxtype.h:95