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

#include <fwd.hpp>

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

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...
 
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 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...
 

Detailed Description

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

Definition at line 24 of file multibody/pool/fwd.hpp.

Member Typedef Documentation

◆ Data

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

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

◆ DataVector

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

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

◆ GeometryData

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef ::pinocchio::GeometryData pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryData

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

◆ GeometryDataVector

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef std::vector<GeometryData, Eigen::aligned_allocator<GeometryData> > pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryDataVector

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

◆ GeometryModel

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef ::pinocchio::GeometryModel pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryModel

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

◆ GeometryModelVector

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
typedef std::vector<GeometryModel, Eigen::aligned_allocator<GeometryModel> > pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryModelVector

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

◆ Model

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

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

◆ ModelVector

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

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

◆ Scalar

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

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

Member Enumeration Documentation

◆ anonymous enum

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

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

Constructor & Destructor Documentation

◆ GeometryPoolTpl() [1/2]

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::GeometryPoolTpl ( 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 42 of file multibody/pool/geometry.hpp.

◆ GeometryPoolTpl() [2/2]

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

Copy constructor from an other GeometryPoolTpl.

Parameters
[in]otherGeometryPoolTpl to copy.

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

◆ ~GeometryPoolTpl()

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

 

Destructor

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

Member Function Documentation

◆ doResize()

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
virtual void pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::doResize ( const size_t  new_size)
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.

◆ getGeometryData() [1/2]

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryData& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryData ( const size_t  index)
inline

Returns the geometry_data at given index.

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

◆ getGeometryData() [2/2]

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryData& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryData ( const size_t  index) const
inline

Returns the geometry_data at given index.

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

◆ getGeometryDatas() [1/2]

template<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 _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryDataVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryDatas ( ) const
inline

Returns the vector of Geometry Data.

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

◆ getGeometryModel() [1/2]

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryModel& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModel ( const size_t  index)
inline

Returns the geometry_model at given index.

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

◆ getGeometryModel() [2/2]

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryModel& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModel ( const size_t  index) const
inline

Returns the geometry_model at given index.

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

◆ getGeometryModels() [1/2]

template<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 _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
const GeometryModelVector& pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::getGeometryModels ( ) const
inline

Returns the vector of Geometry Model.

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

◆ sync()

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
void pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::sync ( const GeometryModel geometry_model,
const std::vector< GeomIndex > &  geometry_indexes 
)
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.

◆ update()

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

Update the geometry datas with the new value.

 

Parameters
[in]geometry_data_to_copynew geometry data value to copy

Reimplemented in pinocchio::BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >.

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

Member Data Documentation

◆ Base

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
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.

◆ m_geometry_datas

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryDataVector pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::m_geometry_datas
protected

Vector of Geometry Data associated to the pool.

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

◆ m_geometry_models

template<typename _Scalar , int _Options, template< typename, int > class JointCollectionTpl>
GeometryModelVector pinocchio::GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >::m_geometry_models
protected

Vector of Geometry Model associated to the pool.

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


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


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:15