#include <fwd.hpp>
Public Types | |
enum | { Options = _Options } |
typedef Base::Data | Data |
typedef Base::DataVector | DataVector |
typedef ::pinocchio::GeometryData | GeometryData |
typedef std::vector< GeometryData, Eigen::aligned_allocator< GeometryData > > | GeometryDataVector |
typedef ::pinocchio::GeometryModel | GeometryModel |
typedef std::vector< GeometryModel, Eigen::aligned_allocator< GeometryModel > > | GeometryModelVector |
typedef Base::Model | Model |
typedef Base::ModelVector | ModelVector |
typedef _Scalar | Scalar |
Public Member Functions | |
GeometryPoolTpl (const GeometryPoolTpl &other) | |
Copy constructor from an other GeometryPoolTpl. More... | |
GeometryPoolTpl (const Model &model, const GeometryModel &geometry_model, const size_t pool_size=(size_t) omp_get_max_threads()) | |
Default constructor from a model and a pool size. More... | |
GeometryData & | getGeometryData (const size_t index) |
Returns the geometry_data at given index. More... | |
const GeometryData & | getGeometryData (const size_t index) const |
Returns the geometry_data at given index. More... | |
GeometryDataVector & | getGeometryDatas () |
Returns the vector of Geometry Data. More... | |
const GeometryDataVector & | getGeometryDatas () const |
Returns the vector of Geometry Data. More... | |
GeometryModel & | getGeometryModel (const size_t index) |
Returns the geometry_model at given index. More... | |
const GeometryModel & | getGeometryModel (const size_t index) const |
Returns the geometry_model at given index. More... | |
GeometryModelVector & | getGeometryModels () |
Returns the vector of Geometry Model. More... | |
const GeometryModelVector & | getGeometryModels () const |
Returns the vector of Geometry Model. More... | |
void | sync (const GeometryModel &geometry_model, const std::vector< GeomIndex > &geometry_indexes) |
Synchronize the internal geometry models with the input geometry for all given geometry indexes by cloning the related geometryObjects. More... | |
virtual void | update (const GeometryData &geometry_data_to_copy) |
Update the geometry datas with the new value. More... | |
virtual | ~GeometryPoolTpl () |
More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ModelPoolTpl< _Scalar, _Options, JointCollectionTpl > | Base |
Protected Member Functions | |
virtual void | doResize (const size_t new_size) |
More... | |
Protected Attributes | |
GeometryDataVector | m_geometry_datas |
Vector of Geometry Data associated to the pool. More... | |
GeometryModelVector | m_geometry_models |
Vector of Geometry Model associated to the pool. More... | |
Definition at line 24 of file multibody/pool/fwd.hpp.
typedef Base::Data pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::Data |
Definition at line 27 of file multibody/pool/geometry.hpp.
typedef Base::DataVector pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::DataVector |
Definition at line 29 of file multibody/pool/geometry.hpp.
typedef ::pinocchio::GeometryData pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryData |
Definition at line 31 of file multibody/pool/geometry.hpp.
typedef std::vector<GeometryData, Eigen::aligned_allocator<GeometryData> > pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryDataVector |
Definition at line 34 of file multibody/pool/geometry.hpp.
typedef ::pinocchio::GeometryModel pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryModel |
Definition at line 30 of file multibody/pool/geometry.hpp.
typedef std::vector<GeometryModel, Eigen::aligned_allocator<GeometryModel> > pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryModelVector |
Definition at line 33 of file multibody/pool/geometry.hpp.
typedef Base::Model pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::Model |
Definition at line 26 of file multibody/pool/geometry.hpp.
typedef Base::ModelVector pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::ModelVector |
Definition at line 28 of file multibody/pool/geometry.hpp.
typedef _Scalar pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::Scalar |
Definition at line 20 of file multibody/pool/geometry.hpp.
anonymous enum |
Enumerator | |
---|---|
Options |
Definition at line 21 of file multibody/pool/geometry.hpp.
|
inline |
Default constructor from a model and a pool size.
[in] | model | input model used for parallel computations. |
[in] | geometry_model | input geometry model used for parallel computations. |
[in] | pool_size | total size of the pool. |
Definition at line 42 of file multibody/pool/geometry.hpp.
|
inline |
Copy constructor from an other GeometryPoolTpl.
[in] | other | GeometryPoolTpl to copy. |
Definition at line 67 of file multibody/pool/geometry.hpp.
|
inlinevirtual |
|
inlineprotectedvirtual |
Method to implement in the derived classes.
Reimplemented in pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >.
Definition at line 187 of file multibody/pool/geometry.hpp.
|
inline |
Returns the geometry_data at given index.
Definition at line 108 of file multibody/pool/geometry.hpp.
|
inline |
Returns the geometry_data at given index.
Definition at line 99 of file multibody/pool/geometry.hpp.
|
inline |
Returns the vector of Geometry Data.
Definition at line 123 of file multibody/pool/geometry.hpp.
|
inline |
Returns the vector of Geometry Data.
Definition at line 117 of file multibody/pool/geometry.hpp.
|
inline |
Returns the geometry_model at given index.
Definition at line 90 of file multibody/pool/geometry.hpp.
|
inline |
Returns the geometry_model at given index.
Definition at line 81 of file multibody/pool/geometry.hpp.
|
inline |
Returns the vector of Geometry Model.
Definition at line 135 of file multibody/pool/geometry.hpp.
|
inline |
Returns the vector of Geometry Model.
Definition at line 129 of file multibody/pool/geometry.hpp.
|
inline |
Synchronize the internal geometry models with the input geometry for all given geometry indexes by cloning the related geometryObjects.
Definition at line 145 of file multibody/pool/geometry.hpp.
|
inlinevirtual |
Update the geometry datas with the new value.
[in] | geometry_data_to_copy | new geometry data value to copy |
Reimplemented in pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >.
Definition at line 164 of file multibody/pool/geometry.hpp.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ModelPoolTpl<_Scalar, _Options, JointCollectionTpl> pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::Base |
Definition at line 19 of file multibody/pool/geometry.hpp.
|
protected |
Vector of Geometry Data associated to the pool.
Definition at line 184 of file multibody/pool/geometry.hpp.
|
protected |
Vector of Geometry Model associated to the pool.
Definition at line 177 of file multibody/pool/geometry.hpp.