GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: python/doxygen_autodoc/hpp/fcl/math/transform.h Lines: 36 40 90.0 %
Date: 2024-02-09 12:57:42 Branches: 20 50 40.0 %

Line Branch Exec Source
1
#ifndef DOXYGEN_AUTODOC_HPP_FCL_MATH_TRANSFORM_H
2
#define DOXYGEN_AUTODOC_HPP_FCL_MATH_TRANSFORM_H
3
4
#include "/root/robotpkg/path/py-hpp-fcl/work/hpp-fcl-2.4.1/doc/python/doxygen.hh"
5
6
#include <hpp/fcl/math/transform.h>
7
8
namespace doxygen {
9
10
template <>
11
struct class_doc_impl< hpp::fcl::Transform3f >
12
{
13
5
static inline const char* run ()
14
{
15
5
  return "Simple transform class used locally by InterpMotion. ";
16
}
17
static inline const char* attribute (const char* attrib)
18
{
19
  (void)attrib; // turn off unused parameter warning.
20
  return "";
21
}
22
};
23
24
template <>
25
struct constructor_0_impl< hpp::fcl::Transform3f >
26
{
27
5
static inline const char* doc ()
28
{
29
5
  return "Default transform is no movement. ";
30
}
31
5
static inline boost::python::detail::keywords<0+1> args ()
32
{
33
5
  return (boost::python::arg("self"));
34
}
35
};
36
37
template <typename Matrixx3Like, typename Vector3Like>
38
struct constructor_2_impl< hpp::fcl::Transform3f, const Eigen::MatrixBase< Matrixx3Like > &, const Eigen::MatrixBase< Vector3Like > & >
39
{
40
5
static inline const char* doc ()
41
{
42
5
  return "Construct transform from rotation and translation. ";
43
}
44
5
static inline boost::python::detail::keywords<2+1> args ()
45
{
46


5
  return (boost::python::arg("self"), boost::python::arg("R_"), boost::python::arg("T_"));
47
}
48
};
49
50
template <typename Vector3Like>
51
struct constructor_2_impl< hpp::fcl::Transform3f, const hpp::fcl::Quaternion3f &, const Eigen::MatrixBase< Vector3Like > & >
52
{
53
5
static inline const char* doc ()
54
{
55
5
  return "Construct transform from rotation and translation. ";
56
}
57
5
static inline boost::python::detail::keywords<2+1> args ()
58
{
59


5
  return (boost::python::arg("self"), boost::python::arg("q_"), boost::python::arg("T_"));
60
}
61
};
62
63
template <>
64
struct constructor_1_impl< hpp::fcl::Transform3f, const hpp::fcl::Matrix3f & >
65
{
66
5
static inline const char* doc ()
67
{
68
5
  return "Construct transform from rotation. ";
69
}
70
5
static inline boost::python::detail::keywords<1+1> args ()
71
{
72

10
  return (boost::python::arg("self"), boost::python::arg("R_"));
73
}
74
};
75
76
template <>
77
struct constructor_1_impl< hpp::fcl::Transform3f, const hpp::fcl::Quaternion3f & >
78
{
79
5
static inline const char* doc ()
80
{
81
5
  return "Construct transform from rotation. ";
82
}
83
5
static inline boost::python::detail::keywords<1+1> args ()
84
{
85

10
  return (boost::python::arg("self"), boost::python::arg("q_"));
86
}
87
};
88
89
template <>
90
struct constructor_1_impl< hpp::fcl::Transform3f, const hpp::fcl::Vec3f & >
91
{
92
5
static inline const char* doc ()
93
{
94
5
  return "Construct transform from translation. ";
95
}
96
5
static inline boost::python::detail::keywords<1+1> args ()
97
{
98

10
  return (boost::python::arg("self"), boost::python::arg("T_"));
99
}
100
};
101
102
template <>
103
struct constructor_1_impl< hpp::fcl::Transform3f, const hpp::fcl::Transform3f & >
104
{
105
5
static inline const char* doc ()
106
{
107
5
  return "Construct transform from other transform. ";
108
}
109
5
static inline boost::python::detail::keywords<1+1> args ()
110
{
111

10
  return (boost::python::arg("self"), boost::python::arg("tf"));
112
}
113
};
114
115
inline const char* member_func_doc ( hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &))
116
{
117
  if (function_ptr == static_cast< hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &)>(&hpp::fcl::Transform3f::operator=))
118
    return "operator = ";
119
  return "";
120
}
121
122
inline boost::python::detail::keywords<2> member_func_args ( hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &))
123
{
124
  if (function_ptr == static_cast< hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &)>(&hpp::fcl::Transform3f::operator=))
125
    return (boost::python::arg("self"), boost::python::arg("tf"));
126
  return (boost::python::arg("self"), boost::python::arg("arg0"));
127
}
128
129
10
inline const char* member_func_doc (const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*function_ptr) () const)
130
{
131

10
  if (function_ptr == static_cast<const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getTranslation))
132
10
    return "get translation ";
133
  if (function_ptr == static_cast<const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::translation))
134
    return "get translation ";
135
  return "";
136
}
137
138
inline boost::python::detail::keywords<1> member_func_args (const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*function_ptr) () const)
139
{
140
  if (function_ptr == static_cast<const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getTranslation))
141
    return (boost::python::arg("self"));
142
  if (function_ptr == static_cast<const hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::translation))
143
    return (boost::python::arg("self"));
144
  return (boost::python::arg("self"));
145
}
146
147
inline const char* member_func_doc ( hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*function_ptr) ())
148
{
149
  if (function_ptr == static_cast< hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::translation))
150
    return "get translation ";
151
  return "";
152
}
153
154
inline boost::python::detail::keywords<1> member_func_args ( hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*function_ptr) ())
155
{
156
  if (function_ptr == static_cast< hpp::fcl::Vec3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::translation))
157
    return (boost::python::arg("self"));
158
  return (boost::python::arg("self"));
159
}
160
161
inline const char* member_func_doc (const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*function_ptr) () const)
162
{
163
  if (function_ptr == static_cast<const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getRotation))
164
    return "get rotation ";
165
  if (function_ptr == static_cast<const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::rotation))
166
    return "get rotation ";
167
  return "";
168
}
169
170
inline boost::python::detail::keywords<1> member_func_args (const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*function_ptr) () const)
171
{
172
  if (function_ptr == static_cast<const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getRotation))
173
    return (boost::python::arg("self"));
174
  if (function_ptr == static_cast<const hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::rotation))
175
    return (boost::python::arg("self"));
176
  return (boost::python::arg("self"));
177
}
178
179
inline const char* member_func_doc ( hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*function_ptr) ())
180
{
181
  if (function_ptr == static_cast< hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::rotation))
182
    return "get rotation ";
183
  return "";
184
}
185
186
inline boost::python::detail::keywords<1> member_func_args ( hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*function_ptr) ())
187
{
188
  if (function_ptr == static_cast< hpp::fcl::Matrix3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::rotation))
189
    return (boost::python::arg("self"));
190
  return (boost::python::arg("self"));
191
}
192
193
inline const char* member_func_doc ( hpp::fcl::Quaternion3f (hpp::fcl::Transform3f::*function_ptr) () const)
194
{
195
  if (function_ptr == static_cast< hpp::fcl::Quaternion3f (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getQuatRotation))
196
    return "get quaternion ";
197
  return "";
198
}
199
200
inline boost::python::detail::keywords<1> member_func_args ( hpp::fcl::Quaternion3f (hpp::fcl::Transform3f::*function_ptr) () const)
201
{
202
  if (function_ptr == static_cast< hpp::fcl::Quaternion3f (hpp::fcl::Transform3f::*) () const>(&hpp::fcl::Transform3f::getQuatRotation))
203
    return (boost::python::arg("self"));
204
  return (boost::python::arg("self"));
205
}
206
207
template <typename Matrix3Like, typename Vector3Like>
208
inline const char* member_func_doc (void (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Matrix3Like > &, const Eigen::MatrixBase< Vector3Like > &))
209
{
210
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Matrix3Like > &, const Eigen::MatrixBase< Vector3Like > &)>(&hpp::fcl::Transform3f::setTransform))
211
    return "set transform from rotation and translation ";
212
  return "";
213
}
214
215
template <typename Matrix3Like, typename Vector3Like>
216
inline boost::python::detail::keywords<3> member_func_args (void (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Matrix3Like > &, const Eigen::MatrixBase< Vector3Like > &))
217
{
218
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Matrix3Like > &, const Eigen::MatrixBase< Vector3Like > &)>(&hpp::fcl::Transform3f::setTransform))
219
    return (boost::python::arg("self"), boost::python::arg("R_"), boost::python::arg("T_"));
220
  return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
221
}
222
223
inline const char* member_func_doc (void (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Quaternion3f &, const hpp::fcl::Vec3f &))
224
{
225
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const hpp::fcl::Quaternion3f &, const hpp::fcl::Vec3f &)>(&hpp::fcl::Transform3f::setTransform))
226
    return "set transform from rotation and translation ";
227
  return "";
228
}
229
230
inline boost::python::detail::keywords<3> member_func_args (void (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Quaternion3f &, const hpp::fcl::Vec3f &))
231
{
232
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const hpp::fcl::Quaternion3f &, const hpp::fcl::Vec3f &)>(&hpp::fcl::Transform3f::setTransform))
233
    return (boost::python::arg("self"), boost::python::arg("q_"), boost::python::arg("T_"));
234
  return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1"));
235
}
236
237
template <typename Derived>
238
inline const char* member_func_doc (void (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Derived > &))
239
{
240
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &)>(&hpp::fcl::Transform3f::setRotation))
241
    return "set transform from rotation ";
242
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &)>(&hpp::fcl::Transform3f::setTranslation))
243
    return "set transform from translation ";
244
  return "";
245
}
246
247
template <typename Derived>
248
inline boost::python::detail::keywords<2> member_func_args (void (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Derived > &))
249
{
250
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &)>(&hpp::fcl::Transform3f::setRotation))
251
    return (boost::python::arg("self"), boost::python::arg("R_"));
252
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &)>(&hpp::fcl::Transform3f::setTranslation))
253
    return (boost::python::arg("self"), boost::python::arg("T_"));
254
  return (boost::python::arg("self"), boost::python::arg("arg0"));
255
}
256
257
inline const char* member_func_doc (void (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Quaternion3f &))
258
{
259
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const hpp::fcl::Quaternion3f &)>(&hpp::fcl::Transform3f::setQuatRotation))
260
    return "set transform from rotation ";
261
  return "";
262
}
263
264
inline boost::python::detail::keywords<2> member_func_args (void (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Quaternion3f &))
265
{
266
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) (const hpp::fcl::Quaternion3f &)>(&hpp::fcl::Transform3f::setQuatRotation))
267
    return (boost::python::arg("self"), boost::python::arg("q_"));
268
  return (boost::python::arg("self"), boost::python::arg("arg0"));
269
}
270
271
template <typename Derived>
272
inline const char* member_func_doc ( hpp::fcl::Vec3f (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Derived > &) const)
273
{
274
  if (function_ptr == static_cast< hpp::fcl::Vec3f (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &) const>(&hpp::fcl::Transform3f::transform))
275
    return "transform a given vector by the transform ";
276
  return "";
277
}
278
279
template <typename Derived>
280
inline boost::python::detail::keywords<2> member_func_args ( hpp::fcl::Vec3f (hpp::fcl::Transform3f::*function_ptr) (const Eigen::MatrixBase< Derived > &) const)
281
{
282
  if (function_ptr == static_cast< hpp::fcl::Vec3f (hpp::fcl::Transform3f::*) (const Eigen::MatrixBase< Derived > &) const>(&hpp::fcl::Transform3f::transform))
283
    return (boost::python::arg("self"), boost::python::arg("v"));
284
  return (boost::python::arg("self"), boost::python::arg("arg0"));
285
}
286
287
5
inline const char* member_func_doc ( hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) ())
288
{
289

5
  if (function_ptr == static_cast< hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::inverseInPlace))
290
5
    return "inverse transform ";
291
  return "";
292
}
293
294
inline boost::python::detail::keywords<1> member_func_args ( hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) ())
295
{
296
  if (function_ptr == static_cast< hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::inverseInPlace))
297
    return (boost::python::arg("self"));
298
  return (boost::python::arg("self"));
299
}
300
301
inline const char* member_func_doc ( hpp::fcl::Transform3f (hpp::fcl::Transform3f::*function_ptr) ())
302
{
303
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::inverse))
304
    return "inverse transform ";
305
  return "";
306
}
307
308
inline boost::python::detail::keywords<1> member_func_args ( hpp::fcl::Transform3f (hpp::fcl::Transform3f::*function_ptr) ())
309
{
310
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::inverse))
311
    return (boost::python::arg("self"));
312
  return (boost::python::arg("self"));
313
}
314
315
inline const char* member_func_doc ( hpp::fcl::Transform3f (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &) const)
316
{
317
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::inverseTimes))
318
    return "inverse the transform and multiply with another ";
319
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator*))
320
    return "multiply with another transform ";
321
  return "";
322
}
323
324
inline boost::python::detail::keywords<2> member_func_args ( hpp::fcl::Transform3f (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &) const)
325
{
326
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::inverseTimes))
327
    return (boost::python::arg("self"), boost::python::arg("other"));
328
  if (function_ptr == static_cast< hpp::fcl::Transform3f (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator*))
329
    return (boost::python::arg("self"), boost::python::arg("other"));
330
  return (boost::python::arg("self"), boost::python::arg("arg0"));
331
}
332
333
inline const char* member_func_doc (const hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &))
334
{
335
  if (function_ptr == static_cast<const hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &)>(&hpp::fcl::Transform3f::operator*=))
336
    return "multiply with another transform ";
337
  return "";
338
}
339
340
inline boost::python::detail::keywords<2> member_func_args (const hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &))
341
{
342
  if (function_ptr == static_cast<const hpp::fcl::Transform3f & (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &)>(&hpp::fcl::Transform3f::operator*=))
343
    return (boost::python::arg("self"), boost::python::arg("other"));
344
  return (boost::python::arg("self"), boost::python::arg("arg0"));
345
}
346
347
inline const char* member_func_doc (bool (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::FCL_REAL &) const)
348
{
349
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::FCL_REAL &) const>(&hpp::fcl::Transform3f::isIdentity))
350
    return "check whether the transform is identity ";
351
  return "";
352
}
353
354
inline boost::python::detail::keywords<2> member_func_args (bool (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::FCL_REAL &) const)
355
{
356
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::FCL_REAL &) const>(&hpp::fcl::Transform3f::isIdentity))
357
    return (boost::python::arg("self"), boost::python::arg("prec"));
358
  return (boost::python::arg("self"), boost::python::arg("arg0"));
359
}
360
361
inline const char* member_func_doc (void (hpp::fcl::Transform3f::*function_ptr) ())
362
{
363
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::setIdentity))
364
    return "set the transform to be identity transform ";
365
  return "";
366
}
367
368
inline boost::python::detail::keywords<1> member_func_args (void (hpp::fcl::Transform3f::*function_ptr) ())
369
{
370
  if (function_ptr == static_cast<void (hpp::fcl::Transform3f::*) ()>(&hpp::fcl::Transform3f::setIdentity))
371
    return (boost::python::arg("self"));
372
  return (boost::python::arg("self"));
373
}
374
375
inline const char* member_func_doc (bool (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &) const)
376
{
377
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator==))
378
    return "";
379
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator!=))
380
    return "";
381
  return "";
382
}
383
384
inline boost::python::detail::keywords<2> member_func_args (bool (hpp::fcl::Transform3f::*function_ptr) (const hpp::fcl::Transform3f &) const)
385
{
386
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator==))
387
    return (boost::python::arg("self"), boost::python::arg("other"));
388
  if (function_ptr == static_cast<bool (hpp::fcl::Transform3f::*) (const hpp::fcl::Transform3f &) const>(&hpp::fcl::Transform3f::operator!=))
389
    return (boost::python::arg("self"), boost::python::arg("other"));
390
  return (boost::python::arg("self"), boost::python::arg("arg0"));
391
}
392
} // namespace doxygen
393
394
#endif // DOXYGEN_AUTODOC_HPP_FCL_MATH_TRANSFORM_H
395