|
AGX Dynamics
2.37.2.0
|
#include <type_traits>#include <agx/agx.h>#include <agx/Allocator.h>#include <agx/Container.h>#include <ostream>#include <cstring>#include <iterator>Go to the source code of this file.
Classes | |
| class | agx::Vector< T, Allocator > |
| Templated vector class. More... | |
| class | agx::VectorPOD< T, Allocator > |
| Vector containing 'raw' data. More... | |
Namespaces | |
| agx | |
| The agx namespace contains the dynamics/math part of the AGX Dynamics API. | |
Macros | |
| #define | AGX_DECLARE_VECTOR_TYPES(type) |
| #define | AGX_VECTOR_MIN_SIZE 4 |
| #define | AGX_VECTOR_RESIZE_FACTOR 2.0f |
| #define | AGX_VECTOR_SHRINK_THRESHOLD 0.25f |
| #define | AGX_VECTOR_SMOOTHING_FACTOR 0.8f |
| #define | m_capacity this->m_capacity |
| #define | m_elements static_cast<T *>(this->m_buffer) |
| #define | m_size this->m_size |
Functions | |
| template<typename T , typename A > | |
| Vector< T, A >::iterator | agx::begin (Vector< T, A > &v) |
| template<typename T , typename A > | |
| Vector< T, A >::const_iterator | agx::begin (const Vector< T, A > &v) |
| template<typename T , typename A > | |
| VectorPOD< T, A >::iterator | agx::begin (VectorPOD< T, A > &v) |
| template<typename T , typename A > | |
| VectorPOD< T, A >::const_iterator | agx::begin (const VectorPOD< T, A > &v) |
| template<typename T , typename A > | |
| Vector< T, A >::iterator | agx::end (Vector< T, A > &v) |
| template<typename T , typename A > | |
| Vector< T, A >::const_iterator | agx::end (const Vector< T, A > &v) |
| template<typename T , typename A > | |
| VectorPOD< T, A >::iterator | agx::end (VectorPOD< T, A > &v) |
| template<typename T , typename A > | |
| VectorPOD< T, A >::const_iterator | agx::end (const VectorPOD< T, A > &v) |
| template<typename T , typename A > | |
| std::ostream & | agx::operator<< (std::ostream &output, const Vector< T, A > &vec) |
| template<typename T , typename A > | |
| std::ostream & | agx::operator<< (std::ostream &output, const VectorPOD< T, A > &vec) |
| template<typename VectorT > | |
| std::ostream & | agx::printVector (std::ostream &output, const VectorT &vec) |
| template<class T > | |
| void | agx::swap (Vector< T > &x, Vector< T > &y) |
| template<class T > | |
| void | agx::swap (VectorPOD< T > &x, VectorPOD< T > &y) |
| #define AGX_DECLARE_VECTOR_TYPES | ( | type | ) |
| #define AGX_VECTOR_MIN_SIZE 4 |
Definition at line 426 of file Vector.h.
Referenced by agx::Vector< WireContactConstraintRef >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::Vector< WireContactConstraintRef >::push_back(), agx::VectorPOD< agx::Vec6 >::push_back(), agx::Vector< WireContactConstraintRef >::reserveAtLeast(), and agx::VectorPOD< agx::Vec6 >::reserveAtLeast().
| #define AGX_VECTOR_RESIZE_FACTOR 2.0f |
Definition at line 423 of file Vector.h.
Referenced by agx::Vector< WireContactConstraintRef >::increment(), agx::VectorPOD< agx::Vec6 >::increment(), agx::Vector< WireContactConstraintRef >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::Vector< WireContactConstraintRef >::push_back(), agx::VectorPOD< agx::Vec6 >::push_back(), agx::Vector< WireContactConstraintRef >::reserveAtLeast(), and agx::VectorPOD< agx::Vec6 >::reserveAtLeast().
| #define AGX_VECTOR_SHRINK_THRESHOLD 0.25f |
Definition at line 425 of file Vector.h.
Referenced by agx::Vector< WireContactConstraintRef >::clear(), agx::VectorPOD< agx::Vec6 >::clear(), agx::VectorPOD< agx::Vec6 >::operator=(), agxData::Vector< T >::resize(), agx::Vector< WireContactConstraintRef >::resize(), and agx::VectorPOD< agx::Vec6 >::resize().
| #define AGX_VECTOR_SMOOTHING_FACTOR 0.8f |
Definition at line 424 of file Vector.h.
Referenced by agx::Vector< WireContactConstraintRef >::clear(), and agx::VectorPOD< agx::Vec6 >::clear().
| #define m_capacity this->m_capacity |
Definition at line 430 of file Vector.h.
Referenced by agx::MemoryPoolOld< T >::acquire(), agxData::EntityStorage::capacity(), agxData::Buffer::capacity(), agx::Vector< WireContactConstraintRef >::clear(), agx::VectorPOD< agx::Vec6 >::clear(), agx::CellTable< CellIdT, HashT >::end(), agxData::Vector< T >::increment(), agx::Vector< WireContactConstraintRef >::increment(), agx::VectorPOD< agx::Vec6 >::increment(), agxData::Vector< T >::insert(), agx::Vector< WireContactConstraintRef >::insert(), agx::CellTable< CellIdT, HashT >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::CellTable< CellIdT, HashT >::template_iterator< T >::operator=(), agx::VectorPOD< agx::Vec6 >::operator=(), agxData::Vector< T >::push_back(), agx::Vector< WireContactConstraintRef >::push_back(), agx::VectorPOD< agx::Vec6 >::push_back(), agx::Vector< WireContactConstraintRef >::reserve(), agx::VectorPOD< agx::Vec6 >::reserve(), agx::Vector< WireContactConstraintRef >::reserveAtLeast(), agx::VectorPOD< agx::Vec6 >::reserveAtLeast(), agxData::Vector< T >::resize(), agx::Vector< WireContactConstraintRef >::resize(), agx::VectorPOD< agx::Vec6 >::resize(), agx::Vector< WireContactConstraintRef >::shrink_to_fit(), agx::VectorPOD< agx::Vec6 >::shrink_to_fit(), agx::Vector< WireContactConstraintRef >::swap(), agx::VectorPOD< agx::Vec6 >::swap(), agx::CellTable< CellIdT, HashT >::updateWithReordering(), agx::GlobalResult::~BufferSet(), agx::CellTable< CellIdT, HashT >::~CellTable(), agx::Vector< WireContactConstraintRef >::~Vector(), and agx::VectorPOD< agx::Vec6 >::~VectorPOD().
| #define m_elements static_cast<T *>(this->m_buffer) |
Definition at line 428 of file Vector.h.
Referenced by agx::StackArray< agx::Real, N >::at(), agx::Vector< WireContactConstraintRef >::at(), agx::VectorPOD< agx::Vec6 >::at(), agx::StackArray< agx::Real, N >::back(), agx::Vector< WireContactConstraintRef >::back(), agx::VectorPOD< agx::Vec6 >::back(), agx::StackArray< agx::Real, N >::begin(), agx::Vector< WireContactConstraintRef >::begin(), agx::VectorPOD< agx::Vec6 >::begin(), agx::Vector< WireContactConstraintRef >::end(), agx::VectorPOD< agx::Vec6 >::end(), agx::StackArray< agx::Real, N >::erase(), agx::Vector< WireContactConstraintRef >::erase(), agx::VectorPOD< agx::Vec6 >::erase(), agx::Vector< WireContactConstraintRef >::eraseFast(), agx::VectorPOD< agx::Vec6 >::eraseFast(), agx::Vector< WireContactConstraintRef >::find(), agx::VectorPOD< agx::Vec6 >::find(), agx::Vector< WireContactConstraintRef >::findAndErase(), agx::VectorPOD< agx::Vec6 >::findAndErase(), agx::StackArray< agx::Real, N >::front(), agx::Vector< WireContactConstraintRef >::front(), agx::VectorPOD< agx::Vec6 >::front(), agx::Vector< WireContactConstraintRef >::increment(), agx::VectorPOD< agx::Vec6 >::increment(), agx::Vector< WireContactConstraintRef >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::Vector< WireContactConstraintRef >::operator!=(), agx::VectorPOD< agx::Vec6 >::operator!=(), agx::StackArray< agx::Real, N >::operator=(), agx::Vector< WireContactConstraintRef >::operator=(), agx::VectorPOD< agx::Vec6 >::operator=(), agx::Vector< WireContactConstraintRef >::operator==(), agx::VectorPOD< agx::Vec6 >::operator==(), agx::StackArray< agx::Real, N >::operator[](), agx::Vector< WireContactConstraintRef >::operator[](), agx::VectorPOD< agx::Vec6 >::operator[](), agx::Vector< WireContactConstraintRef >::pop_back(), agx::Vector< WireContactConstraintRef >::ptr(), agx::VectorPOD< agx::Vec6 >::ptr(), agx::StackArray< agx::Real, N >::push_back(), agx::Vector< WireContactConstraintRef >::push_back(), agx::VectorPOD< agx::Vec6 >::push_back(), agx::StackArray< agx::Real, N >::StackArray(), agx::Vector< WireContactConstraintRef >::~Vector(), and agx::VectorPOD< agx::Vec6 >::~VectorPOD().
| #define m_size this->m_size |
Definition at line 429 of file Vector.h.
Referenced by agx::MemoryPool< agx::RangeJob >::allocate(), agx::Vector< WireContactConstraintRef >::allocator(), agx::VectorPOD< agx::Vec6 >::allocator(), agx::StackArray< agx::Real, N >::at(), agx::Vector< WireContactConstraintRef >::at(), agx::VectorPOD< agx::Vec6 >::at(), agx::StackArray< agx::Real, N >::back(), agx::Vector< WireContactConstraintRef >::back(), agx::VectorPOD< agx::Vec6 >::back(), agx::StackArray< agx::Real, N >::clear(), agxData::Vector< T >::clear(), agx::MemoryPool< agx::RangeJob >::clear(), agx::Vector< WireContactConstraintRef >::clear(), agx::VectorPOD< agx::Vec6 >::clear(), agx::MemoryPool< agx::RangeJob >::clearFast(), agxRender::RenderSingleton::Point::color(), agxRender::RenderSingleton::Line::color(), agx::Vector< WireContactConstraintRef >::contains(), agx::VectorPOD< agx::Vec6 >::contains(), agx::MemoryPool< agx::RangeJob >::deallocate(), agx::StackArray< agx::Real, N >::empty(), agxData::EntityStorage::empty(), agxData::Buffer::empty(), agx::List< CameraDescriptionRef >::empty(), agx::Vector< WireContactConstraintRef >::end(), agx::CellTable< CellIdT, HashT >::end(), agx::VectorPOD< agx::Vec6 >::end(), agxData::Vector< T >::erase(), agx::StackArray< agx::Real, N >::erase(), agx::Vector< WireContactConstraintRef >::erase(), agx::CellTable< CellIdT, HashT >::erase(), agx::VectorPOD< agx::Vec6 >::erase(), agx::List< CameraDescriptionRef >::erase(), agxData::Vector< T >::eraseFast(), agx::Vector< WireContactConstraintRef >::eraseFast(), agx::VectorPOD< agx::Vec6 >::eraseFast(), agx::Vector< WireContactConstraintRef >::find(), agx::VectorPOD< agx::Vec6 >::find(), agx::Vector< WireContactConstraintRef >::findAndErase(), agx::VectorPOD< agx::Vec6 >::findAndErase(), agx::StackArray< agx::Real, N >::front(), agx::Vector< WireContactConstraintRef >::front(), agx::VectorPOD< agx::Vec6 >::front(), agxData::BinaryData::getByteStream(), agxOSG::Panel::getSize(), agxData::Format::getSize(), agxCollide::HeightFieldMeshData::getSize(), agx::Vector< WireContactConstraintRef >::increment(), agx::VectorPOD< agx::Vec6 >::increment(), agxData::Vector< T >::insert(), agx::Vector< WireContactConstraintRef >::insert(), agx::CellTable< CellIdT, HashT >::insert(), agx::VectorPOD< agx::Vec6 >::insert(), agx::List< CameraDescriptionRef >::insert(), agx::LSquareComplianceMatrix::LSquareComplianceMatrix(), agx::Vector< WireContactConstraintRef >::operator!=(), agx::VectorPOD< agx::Vec6 >::operator!=(), agx::StackArray< agx::Real, N >::operator=(), agx::Vector< WireContactConstraintRef >::operator=(), agx::VectorPOD< agx::Vec6 >::operator=(), agx::Vector< WireContactConstraintRef >::operator==(), agx::VectorPOD< agx::Vec6 >::operator==(), agx::StackArray< agx::Real, N >::operator[](), agx::LSquareComplianceMatrix::operator[](), agx::Vector< WireContactConstraintRef >::operator[](), agx::VectorPOD< agx::Vec6 >::operator[](), agx::StackArray< agx::Real, N >::pop_back(), agx::Vector< WireContactConstraintRef >::pop_back(), agx::VectorPOD< agx::Vec6 >::pop_back(), agx::StackArray< agx::Real, N >::push_back(), agxData::Vector< T >::push_back(), agx::Vector< WireContactConstraintRef >::push_back(), agx::VectorPOD< agx::Vec6 >::push_back(), agxData::Vector< T >::resize(), agx::Vector< WireContactConstraintRef >::resize(), agx::VectorPOD< agx::Vec6 >::resize(), agx::List< CameraDescriptionRef >::reverse(), agx::Vector< WireContactConstraintRef >::shrink_to_fit(), agx::VectorPOD< agx::Vec6 >::shrink_to_fit(), agx::StackArray< agx::Real, N >::size(), agxData::BinaryData::size(), agxRender::RenderSingleton::Point::size(), agxData::EntityStorage::size(), agxRender::RenderSingleton::Line::size(), agx::LSquareComplianceMatrix::size(), agxData::Buffer::size(), agxModel::IDSpan< T >::size(), agx::MemoryPool< agx::RangeJob >::size(), agxRender::RenderSingleton::Triangle::size(), agx::List< CameraDescriptionRef >::size(), agx::List< CameraDescriptionRef >::sort(), agx::List< CameraDescriptionRef >::splice(), agx::StackArray< agx::Real, N >::StackArray(), agx::Vector< WireContactConstraintRef >::swap(), agx::VectorPOD< agx::Vec6 >::swap(), agx::List< CameraDescriptionRef >::swap(), and agx::Vector< WireContactConstraintRef >::~Vector().