Public Member Functions | |
BroadPhaseManagerPoolBase (const BroadPhaseManagerPoolBase &other) | |
Copy constructor from an other BroadPhaseManagerPoolTpl. | |
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. | |
virtual | ~BroadPhaseManagerPoolBase () |
| |
bool | check () const |
Check the validity of the current broadphase. | |
BroadPhaseManager & | getBroadPhaseManager (const size_t index) |
Returns the geometry_data at index. | |
const BroadPhaseManager & | getBroadPhaseManager (const size_t index) const |
Returns the geometry_data at index. | |
BroadPhaseManagerVector & | getBroadPhaseManagers () |
Access to the vector of broad phase managers. | |
const BroadPhaseManagerVector & | getBroadPhaseManagers () const |
Access to the vector of broad phase managers. | |
GeometryData & | getGeometryData (const size_t index) |
Returns the geometry_data at given index. | |
const GeometryData & | getGeometryData (const size_t index) const |
Returns the geometry_data at given index. | |
GeometryDataVector & | getGeometryDatas () |
Returns the vector of Geometry Data. | |
const GeometryDataVector & | getGeometryDatas () const |
Returns the vector of Geometry Data. | |
GeometryModel & | getGeometryModel (const size_t index) |
Returns the geometry_model at given index. | |
const GeometryModel & | getGeometryModel (const size_t index) const |
Returns the geometry_model at given index. | |
GeometryModelVector & | getGeometryModels () |
Returns the vector of Geometry Model. | |
const GeometryModelVector & | getGeometryModels () const |
Returns the vector of Geometry Model. | |
virtual void | update (const GeometryData &geometry_data) |
Update the geometry datas with the new value. | |
virtual void | update (const GeometryData &geometry_data_to_copy) |
Update the geometry datas with the new value. | |
![]() | |
GeometryPoolTpl (const GeometryPoolTpl &other) | |
Copy constructor from an other GeometryPoolTpl. | |
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. | |
virtual | ~GeometryPoolTpl () |
| |
GeometryData & | getGeometryData (const size_t index) |
Returns the geometry_data at given index. | |
const GeometryData & | getGeometryData (const size_t index) const |
Returns the geometry_data at given index. | |
GeometryDataVector & | getGeometryDatas () |
Returns the vector of Geometry Data. | |
const GeometryDataVector & | getGeometryDatas () const |
Returns the vector of Geometry Data. | |
GeometryModel & | getGeometryModel (const size_t index) |
Returns the geometry_model at given index. | |
const GeometryModel & | getGeometryModel (const size_t index) const |
Returns the geometry_model at given index. | |
GeometryModelVector & | getGeometryModels () |
Returns the vector of Geometry Model. | |
const GeometryModelVector & | getGeometryModels () const |
Returns the vector of Geometry Model. | |
size_t | size () const |
Returns the size of the pool. | |
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. | |
void | update (const Data &data) |
Update all the datas with the input data value. | |
![]() | |
ModelPoolTpl (const Model &model, const size_t pool_size=(size_t) omp_get_max_threads()) | |
Default constructor from a model and a pool size. | |
ModelPoolTpl (const ModelPoolTpl &pool) | |
Copy constructor from an other PoolModel. | |
virtual | ~ModelPoolTpl () |
| |
Data & | getData (const size_t index) |
Returns a specific data. | |
const Data & | getData (const size_t index) const |
Return a specific data. | |
DataVector & | getDatas () |
Returns the data vector. | |
const DataVector & | getDatas () const |
Returns the data vector. | |
Model & | getModel (const size_t index) |
Returns a specific model. | |
const Model & | getModel (const size_t index) const |
Return a specific model. | |
ModelVector & | getModels () |
Returns the vector of models. | |
const ModelVector & | getModels () const |
Returns the vector of models. | |
void | resize (const size_t new_size) |
Set the size of the pool and perform the appropriate resize. | |
size_t | size () const |
Returns the size of the pool. | |
void | update (const Data &data) |
Update all the datas with the input data value. | |
Protected Member Functions | |
virtual void | doResize (const size_t new_size) |
| |
void | init () |
Protected Attributes | |
BroadPhaseManagerVector | m_managers |
Broad phase managers associated to the pool. | |
![]() | |
GeometryDataVector | m_geometry_datas |
Vector of Geometry Data associated to the pool. | |
GeometryModelVector | m_geometry_models |
Vector of Geometry Model associated to the pool. | |
![]() | |
DataVector | m_datas |
| |
ModelVector | m_models |
| |
Definition at line 21 of file broadphase-manager.hpp.
typedef GeometryPoolTpl<_Scalar, _Options, JointCollectionTpl> Base |
Definition at line 27 of file broadphase-manager.hpp.
typedef _BroadPhaseManagerDerived BroadPhaseManager |
Definition at line 26 of file broadphase-manager.hpp.
typedef std::vector<BroadPhaseManager> BroadPhaseManagerVector |
Definition at line 43 of file broadphase-manager.hpp.
typedef Base::Data Data |
Definition at line 35 of file broadphase-manager.hpp.
typedef Base::DataVector DataVector |
Definition at line 36 of file broadphase-manager.hpp.
typedef Base::GeometryData GeometryData |
Definition at line 38 of file broadphase-manager.hpp.
typedef Base::GeometryModel GeometryModel |
Definition at line 37 of file broadphase-manager.hpp.
typedef Base::Model Model |
Definition at line 34 of file broadphase-manager.hpp.
typedef _Scalar Scalar |
Definition at line 28 of file broadphase-manager.hpp.
anonymous enum |
Definition at line 29 of file broadphase-manager.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 51 of file broadphase-manager.hpp.
|
inline |
Copy constructor from an other BroadPhaseManagerPoolTpl.
[in] | other | BroadPhaseManagerPoolTpl to copy. |
Definition at line 64 of file broadphase-manager.hpp.
|
inline |
Check the validity of the current broadphase.
Definition at line 125 of file broadphase-manager.hpp.
|
inlineprotectedvirtual |
Method to implement in the derived classes.
Reimplemented from GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.
Definition at line 162 of file broadphase-manager.hpp.
|
inline |
Returns the geometry_data at index.
Definition at line 79 of file broadphase-manager.hpp.
|
inline |
Returns the geometry_data at index.
Definition at line 71 of file broadphase-manager.hpp.
|
inline |
Access to the vector of broad phase managers.
Definition at line 93 of file broadphase-manager.hpp.
|
inline |
Access to the vector of broad phase managers.
Definition at line 87 of file broadphase-manager.hpp.
|
inline |
Returns the geometry_data at given index.
Definition at line 108 of file geometry.hpp.
|
inline |
Returns the geometry_data at given index.
Definition at line 99 of file geometry.hpp.
|
inline |
Returns the vector of Geometry Data.
Definition at line 123 of file geometry.hpp.
|
inline |
Returns the vector of Geometry Data.
Definition at line 117 of file geometry.hpp.
|
inline |
Returns the geometry_model at given index.
Definition at line 90 of file geometry.hpp.
|
inline |
Returns the geometry_model at given index.
Definition at line 81 of file geometry.hpp.
|
inline |
Returns the vector of Geometry Model.
Definition at line 135 of file geometry.hpp.
|
inline |
Returns the vector of Geometry Model.
Definition at line 129 of file geometry.hpp.
|
inlineprotected |
Definition at line 148 of file broadphase-manager.hpp.
|
inlinevirtual |
Update the geometry datas with the new value.
[in] | geometry_data | new geometry data value |
Reimplemented from GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.
Definition at line 114 of file broadphase-manager.hpp.
|
inlinevirtual |
Update the geometry datas with the new value.
[in] | geometry_data_to_copy | new geometry data value to copy |
Reimplemented from GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.
Definition at line 164 of file geometry.hpp.
|
protected |
Broad phase managers associated to the pool.
Definition at line 159 of file broadphase-manager.hpp.