Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl > Class Template Reference

#include <broadphase-manager.hpp>

Inheritance diagram for pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >:
Inheritance graph
[legend]

Public Types

enum  { Options = _Options }
 
typedef GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl > Base
 
typedef std::vector< BroadPhaseManagerBroadPhaseManagerVector
 
typedef Base::Data Data
 
typedef Base::DataVector DataVector
 
typedef Base::GeometryData GeometryData
 
typedef Base::GeometryModel GeometryModel
 
typedef Base::Model Model
 
typedef _Scalar Scalar
 
- Public Types inherited from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >
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

 BroadPhaseManagerPoolBase (const BroadPhaseManagerPoolBase &other)
 Copy constructor from an other BroadPhaseManagerPoolTpl. More...
 
 BroadPhaseManagerPoolBase (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...
 
bool check () const
 Check the validity of the current broadphase. More...
 
BroadPhaseManagergetBroadPhaseManager (const size_t index)
 Returns the geometry_data at index. More...
 
const BroadPhaseManagergetBroadPhaseManager (const size_t index) const
 Returns the geometry_data at index. More...
 
BroadPhaseManagerVectorgetBroadPhaseManagers ()
 Access to the vector of broad phase managers. More...
 
const BroadPhaseManagerVectorgetBroadPhaseManagers () const
 Access to the vector of broad phase managers. More...
 
GeometryDatagetGeometryData (const size_t index)
 Returns the geometry_data at given index. More...
 
const GeometryDatagetGeometryData (const size_t index) const
 Returns the geometry_data at given index. More...
 
GeometryDataVectorgetGeometryDatas ()
 Returns the vector of Geometry Data. More...
 
const GeometryDataVectorgetGeometryDatas () const
 Returns the vector of Geometry Data. More...
 
GeometryModelgetGeometryModel (const size_t index)
 Returns the geometry_model at given index. More...
 
const GeometryModelgetGeometryModel (const size_t index) const
 Returns the geometry_model at given index. More...
 
GeometryModelVectorgetGeometryModels ()
 Returns the vector of Geometry Model. More...
 
const GeometryModelVectorgetGeometryModels () const
 Returns the vector of Geometry Model. More...
 
virtual void update (const GeometryData &geometry_data)
 Update the geometry datas with the new value. More...
 
virtual void update (const GeometryData &geometry_data_to_copy)
 Update the geometry datas with the new value. More...
 
virtual ~BroadPhaseManagerPoolBase ()
   More...
 
- Public Member Functions inherited from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >
 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...
 
GeometryDatagetGeometryData (const size_t index)
 Returns the geometry_data at given index. More...
 
const GeometryDatagetGeometryData (const size_t index) const
 Returns the geometry_data at given index. More...
 
GeometryDataVectorgetGeometryDatas ()
 Returns the vector of Geometry Data. More...
 
const GeometryDataVectorgetGeometryDatas () const
 Returns the vector of Geometry Data. More...
 
GeometryModelgetGeometryModel (const size_t index)
 Returns the geometry_model at given index. More...
 
const GeometryModelgetGeometryModel (const size_t index) const
 Returns the geometry_model at given index. More...
 
GeometryModelVectorgetGeometryModels ()
 Returns the vector of Geometry Model. More...
 
const GeometryModelVectorgetGeometryModels () 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 ~GeometryPoolTpl ()
   More...
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _BroadPhaseManagerDerived BroadPhaseManager
 
- Public Attributes inherited from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ModelPoolTpl< _Scalar, _Options, JointCollectionTpl > Base
 

Protected Member Functions

virtual void doResize (const size_t new_size)
   More...
 
void init ()
 

Protected Attributes

BroadPhaseManagerVector m_managers
 Broad phase managers associated to the pool. More...
 
- Protected Attributes inherited from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >
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...
 

Detailed Description

template<typename _BroadPhaseManagerDerived, typename _Scalar, int _Options, template< typename, int > class JointCollectionTpl>
class pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >

Definition at line 21 of file collision/pool/broadphase-manager.hpp.

Member Typedef Documentation

◆ Base

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef GeometryPoolTpl<_Scalar, _Options, JointCollectionTpl> pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::Base

Definition at line 27 of file collision/pool/broadphase-manager.hpp.

◆ BroadPhaseManagerVector

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef std::vector<BroadPhaseManager> pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::BroadPhaseManagerVector

Definition at line 43 of file collision/pool/broadphase-manager.hpp.

◆ Data

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef Base::Data pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::Data

Definition at line 35 of file collision/pool/broadphase-manager.hpp.

◆ DataVector

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef Base::DataVector pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::DataVector

Definition at line 36 of file collision/pool/broadphase-manager.hpp.

◆ GeometryData

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef Base::GeometryData pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::GeometryData

Definition at line 38 of file collision/pool/broadphase-manager.hpp.

◆ GeometryModel

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef Base::GeometryModel pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::GeometryModel

Definition at line 37 of file collision/pool/broadphase-manager.hpp.

◆ Model

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef Base::Model pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::Model

Definition at line 34 of file collision/pool/broadphase-manager.hpp.

◆ Scalar

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef _Scalar pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::Scalar

Definition at line 28 of file collision/pool/broadphase-manager.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
anonymous enum
Enumerator
Options 

Definition at line 29 of file collision/pool/broadphase-manager.hpp.

Constructor & Destructor Documentation

◆ BroadPhaseManagerPoolBase() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::BroadPhaseManagerPoolBase ( const Model model,
const GeometryModel geometry_model,
const size_t  pool_size = (size_t)omp_get_max_threads() 
)
inline

Default constructor from a model and a pool size.

Parameters
[in]modelinput model used for parallel computations.
[in]geometry_modelinput geometry model used for parallel computations.
[in]pool_sizetotal size of the pool.

Definition at line 51 of file collision/pool/broadphase-manager.hpp.

◆ BroadPhaseManagerPoolBase() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::BroadPhaseManagerPoolBase ( const BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl > &  other)
inline

Copy constructor from an other BroadPhaseManagerPoolTpl.

Parameters
[in]otherBroadPhaseManagerPoolTpl to copy.

Definition at line 64 of file collision/pool/broadphase-manager.hpp.

◆ ~BroadPhaseManagerPoolBase()

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
virtual pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::~BroadPhaseManagerPoolBase ( )
inlinevirtual

 

Destructor

Definition at line 145 of file collision/pool/broadphase-manager.hpp.

Member Function Documentation

◆ check()

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
bool pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::check ( ) const
inline

Check the validity of the current broadphase.

Definition at line 125 of file collision/pool/broadphase-manager.hpp.

◆ doResize()

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
virtual void pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::doResize ( const size_t  new_size)
inlineprotectedvirtual

 

Method to implement in the derived classes.

Reimplemented from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.

Definition at line 162 of file collision/pool/broadphase-manager.hpp.

◆ getBroadPhaseManager() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
BroadPhaseManager& pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::getBroadPhaseManager ( const size_t  index)
inline

Returns the geometry_data at index.

Definition at line 79 of file collision/pool/broadphase-manager.hpp.

◆ getBroadPhaseManager() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const BroadPhaseManager& pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::getBroadPhaseManager ( const size_t  index) const
inline

Returns the geometry_data at index.

Definition at line 71 of file collision/pool/broadphase-manager.hpp.

◆ getBroadPhaseManagers() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
BroadPhaseManagerVector& pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::getBroadPhaseManagers ( )
inline

Access to the vector of broad phase managers.

Definition at line 93 of file collision/pool/broadphase-manager.hpp.

◆ getBroadPhaseManagers() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const BroadPhaseManagerVector& pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::getBroadPhaseManagers ( ) const
inline

Access to the vector of broad phase managers.

Definition at line 87 of file collision/pool/broadphase-manager.hpp.

◆ getGeometryData() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryData& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryData
inline

Returns the geometry_data at given index.

Definition at line 108 of file multibody/pool/geometry.hpp.

◆ getGeometryData() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryData& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryData
inline

Returns the geometry_data at given index.

Definition at line 99 of file multibody/pool/geometry.hpp.

◆ getGeometryDatas() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryDataVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryDatas
inline

Returns the vector of Geometry Data.

Definition at line 123 of file multibody/pool/geometry.hpp.

◆ getGeometryDatas() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryDataVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryDatas
inline

Returns the vector of Geometry Data.

Definition at line 117 of file multibody/pool/geometry.hpp.

◆ getGeometryModel() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryModel& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModel
inline

Returns the geometry_model at given index.

Definition at line 90 of file multibody/pool/geometry.hpp.

◆ getGeometryModel() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryModel& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModel
inline

Returns the geometry_model at given index.

Definition at line 81 of file multibody/pool/geometry.hpp.

◆ getGeometryModels() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryModelVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModels
inline

Returns the vector of Geometry Model.

Definition at line 135 of file multibody/pool/geometry.hpp.

◆ getGeometryModels() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryModelVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModels
inline

Returns the vector of Geometry Model.

Definition at line 129 of file multibody/pool/geometry.hpp.

◆ init()

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
void pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::init ( )
inlineprotected

Definition at line 148 of file collision/pool/broadphase-manager.hpp.

◆ update() [1/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
virtual void pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::update ( const GeometryData geometry_data)
inlinevirtual

Update the geometry datas with the new value.

 

Parameters
[in]geometry_datanew geometry data value

Reimplemented from pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.

Definition at line 114 of file collision/pool/broadphase-manager.hpp.

◆ update() [2/2]

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
virtual void pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::update
inline

Update the geometry datas with the new value.

 

Parameters
[in]geometry_data_to_copynew geometry data value to copy

Definition at line 164 of file multibody/pool/geometry.hpp.

Member Data Documentation

◆ BroadPhaseManager

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _BroadPhaseManagerDerived pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::BroadPhaseManager

Definition at line 26 of file collision/pool/broadphase-manager.hpp.

◆ m_managers

template<typename _BroadPhaseManagerDerived , typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
BroadPhaseManagerVector pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >::m_managers
protected

Broad phase managers associated to the pool.

Definition at line 159 of file collision/pool/broadphase-manager.hpp.


The documentation for this class was generated from the following file:


pinocchio
Author(s):
autogenerated on Mon Dec 16 2024 03:41:07