Go to the documentation of this file.
38 #ifndef FCL_DATA_TYPES_H
39 #define FCL_DATA_TYPES_H
47 #include <Eigen/Dense>
48 #include <Eigen/StdVector>
49 #include "fcl/export.h"
79 template <
typename S,
int N>
83 using VectorX = Eigen::Matrix<S, Eigen::Dynamic, 1>;
92 using Transform3 = Eigen::Transform<S, 3, Eigen::Isometry>;
122 template <
typename _Tp>
125 template <
typename _Key,
typename _Tp,
typename _Compare = std::less<_Key>>
127 Eigen::aligned_allocator<std::pair<const _Key, _Tp>>>;
129 #if EIGEN_VERSION_AT_LEAST(3,2,9)
131 template <
typename _Tp,
typename... _Args>
134 typedef typename std::remove_const<_Tp>::type _Tp_nc;
135 return std::allocate_shared<_Tp>(Eigen::aligned_allocator<_Tp_nc>(),
136 std::forward<_Args>(__args)...);
164 : std::allocator<T>() {}
167 : std::allocator<T>(other) {}
171 : std::allocator<T>(other) {}
177 Eigen::internal::check_size_for_overflow<T>(num);
178 return static_cast<pointer>( Eigen::internal::aligned_malloc(num *
sizeof(T)) );
183 Eigen::internal::aligned_free(p);
187 template <
typename _Tp,
typename... _Args>
190 typedef typename std::remove_const<_Tp>::type _Tp_nc;
192 std::forward<_Args>(__args)...);
std::ptrdiff_t difference_type
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
Eigen::Matrix< S, N, 1 > VectorN
FCL_DEPRECATED double FCL_REAL
Quaternion< float > Quaternionf
aligned_allocator_cpp11()
Eigen::Quaternion< S > Quaternion
~aligned_allocator_cpp11()
Matrix3< float > Matrix3f
const typedef T & const_reference
FCL_DEPRECATED std::int64_t FCL_INT64
VectorN< float, N > VectorNf
Transform3< double > Transform3d
Aligned allocator that is compatible with c++11.
Eigen::Matrix< S, 6, 1 > Vector6
aligned_allocator_cpp11(const aligned_allocator_cpp11< U > &other)
Eigen::Matrix< S, Eigen::Dynamic, 1 > VectorX
aligned_allocator_cpp11< U > other
Vector3< double > Vector3d
Eigen::AngleAxis< S > AngleAxis
Eigen::Matrix< S, 2, 1 > Vector2
FCL_DEPRECATED std::uint64_t FCL_UINT64
AngleAxis< double > AngleAxisd
Eigen::Matrix< S, 3, 1 > Vector3
Translation3< float > Translation3f
Eigen::Matrix< S, 3, 3 > Matrix3
AngleAxis< float > AngleAxisf
Translation3< double > Translation3d
aligned_allocator_cpp11(const aligned_allocator_cpp11 &other)
Transform3< float > Transform3f
VectorX< float > VectorXf
VectorN< double, N > VectorNd
FCL_DEPRECATED std::int32_t FCL_INT32
VectorX< double > VectorXd
std::shared_ptr< _Tp > make_aligned_shared(_Args &&... __args)
Quaternion< double > Quaterniond
Eigen::Matrix< S, 7, 1 > Vector7
Eigen::Translation< S, 3 > Translation3
pointer allocate(size_type num, const void *=0)
Vector3< float > Vector3f
const typedef T * const_pointer
std::map< _Key, _Tp, _Compare, Eigen::aligned_allocator< std::pair< const _Key, _Tp > >> aligned_map
Matrix3< double > Matrix3d
void deallocate(pointer p, size_type)
FCL_DEPRECATED std::uint32_t FCL_UINT32
std::vector< _Tp, Eigen::aligned_allocator< _Tp > > aligned_vector
fcl
Author(s):
autogenerated on Fri Mar 14 2025 02:38:18