cheshirekow  v0.1.0
dispatch.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of mpblocks.
5  *
6  * mpblocks is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * mpblocks is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef MPBLOCKS_CUDA_CERT_DISPATCH_H_
28 #define MPBLOCKS_CUDA_CERT_DISPATCH_H_
29 
32 #include <mpblocks/cuda.h>
33 #include <mpblocks/cuda/linalg2.h>
34 
35 namespace mpblocks {
36 namespace cuda_cert {
37 
38 
42 int inContact( CertSet& certset, uint_t cert,
43  const Matrix3f& R0,
44  const Matrix3f& Rv,
45  const Vector3f& T0,
46  const Vector3f& dT,
47  float gamma,
48  float dilate);
49 
50 int inContact_dbg( CertSet& certset, uint_t cert,
51  const Matrix3f& R0,
52  const Matrix3f& Rv,
53  const Vector3f& T0,
54  const Vector3f& dT,
55  float gamma,
56  float dilate);
57 
59 int inContact( CertSet2& certset, uint_t obj, uint_t cert,
60  const Matrix3f& R0,
61  const Matrix3f& Rv,
62  const Vector3f& T0,
63  const Vector3f& dT,
64  float gamma);
65 
66 int inContact_dbg( CertSet2& certset, uint_t obj, uint_t cert,
67  const Matrix3f& R0,
68  const Matrix3f& Rv,
69  const Vector3f& T0,
70  const Vector3f& dT,
71  float gamma);
72 
73 
74 
75 } //< namespace cuda_cert
76 } //< namespace mpblocks
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 #endif // DISPATCH_H_
cuda::linalg2::Matrix< float, 3, 3 > Matrix3f
check if the specified certificate is in collision
Definition: dispatch.h:40
provides a convenience interface for managing a set of workspace certificates in GPU memory...
Definition: CertSet.h:67
provides a convenience interface for managing a set of workspace certificates in GPU memory...
Definition: CertSet2.h:62
int inContact_dbg(CertSet &certset, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma, float dilate)
unsigned int uint_t
Definition: CertSet.h:38
cuda::linalg2::Matrix< float, 3, 1 > Vector3f
Definition: dispatch.h:41
int inContact(CertSet &certset, uint_t cert, const Matrix3f &R0, const Matrix3f &Rv, const Vector3f &T0, const Vector3f &dT, float gamma, float dilate)