amino
Lightweight Robot Utility Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mp_seq.h
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_SCENE_MP_SEQ_H
39 #define AMINO_RX_SCENE_MP_SEQ_H
40 
41 
45 struct aa_rx_sg;
46 
53 struct aa_rx_mp_seq;
54 
58 AA_API struct aa_rx_mp_seq *
59 aa_rx_mp_seq_create();
60 
61 
65 AA_API void
66 aa_rx_mp_seq_destroy( struct aa_rx_mp_seq * );
67 
78 AA_API void
79 aa_rx_mp_seq_append_all( struct aa_rx_mp_seq * mp_seq,
80  const struct aa_rx_sg *sg,
81  size_t n_path, const double *q_all_path );
82 
83 
87 AA_API size_t
88 aa_rx_mp_seq_count( struct aa_rx_mp_seq * mp_seq );
89 
90 
91 AA_API size_t
92 aa_rx_mp_seq_point_count( struct aa_rx_mp_seq * mp_seq );
93 
94 
107 AA_API void
108 aa_rx_mp_seq_elt( struct aa_rx_mp_seq * mp_seq, size_t i,
109  const struct aa_rx_sg **sg_ptr,
110  size_t *n_path_ptr,
111  const double **q_all_path_ptr );
112 
113 
114 AA_API void
115 aa_rx_mp_seq_qref( struct aa_rx_mp_seq * mp_seq, size_t i,
116  const struct aa_rx_sg **sg_ptr,
117  const double **q_all_ptr );
118 
119 #endif /*AMINO_RX_SCENE_MP_SEQ_H */
Opaque type for a scene_graph.
#define AA_API
calling and name mangling convention for functions
Definition: amino.h:95