|
AGXDynamics
2.31.1.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 | |
| Namespace agx 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< T, Allocator >::insert(), agx::VectorPOD< T, Allocator >::insert(), agx::Vector< T, Allocator >::push_back(), agx::VectorPOD< T, Allocator >::push_back(), agx::Vector< T, Allocator >::reserveAtLeast(), and agx::VectorPOD< T, Allocator >::reserveAtLeast().
| #define AGX_VECTOR_RESIZE_FACTOR 2.0f |
Definition at line 423 of file Vector.h.
Referenced by agx::Vector< T, Allocator >::increment(), agx::VectorPOD< T, Allocator >::increment(), agx::Vector< T, Allocator >::insert(), agx::VectorPOD< T, Allocator >::insert(), agx::Vector< T, Allocator >::push_back(), agx::VectorPOD< T, Allocator >::push_back(), agx::Vector< T, Allocator >::reserveAtLeast(), and agx::VectorPOD< T, Allocator >::reserveAtLeast().
| #define AGX_VECTOR_SHRINK_THRESHOLD 0.25f |
Definition at line 425 of file Vector.h.
Referenced by agx::Vector< T, Allocator >::clear(), agx::VectorPOD< T, Allocator >::clear(), agx::VectorPOD< T, Allocator >::operator=(), agxData::Vector< T >::resize(), agx::Vector< T, Allocator >::resize(), and agx::VectorPOD< T, Allocator >::resize().
| #define AGX_VECTOR_SMOOTHING_FACTOR 0.8f |
Definition at line 424 of file Vector.h.
Referenced by agx::Vector< T, Allocator >::clear(), and agx::VectorPOD< T, Allocator >::clear().
| #define m_capacity this->m_capacity |
Definition at line 430 of file Vector.h.
Referenced by agxData::EntityStorage::capacity(), agx::MemoryPoolOld< T >::capacity(), agx::MemoryPoolOld< T >::clear(), agx::Vector< T, Allocator >::clear(), agx::VectorPOD< T, Allocator >::clear(), agx::CellTable< CellIdT, HashT >::end(), agx::MemoryPoolOld< T >::garbageCollect(), agxData::Vector< T >::increment(), agx::Vector< T, Allocator >::increment(), agx::VectorPOD< T, Allocator >::increment(), agxData::Vector< T >::insert(), agx::Vector< T, Allocator >::insert(), agx::CellTable< CellIdT, HashT >::insert(), agx::VectorPOD< T, Allocator >::insert(), agx::VectorPOD< T, Allocator >::operator=(), agxData::Vector< T >::push_back(), agx::Vector< T, Allocator >::push_back(), agx::VectorPOD< T, Allocator >::push_back(), agxData::BufferT< T >::push_back(), agx::Vector< T, Allocator >::reserve(), agx::VectorPOD< T, Allocator >::reserve(), agx::Vector< T, Allocator >::reserveAtLeast(), agx::VectorPOD< T, Allocator >::reserveAtLeast(), agxData::Vector< T >::resize(), agx::Vector< T, Allocator >::resize(), agx::VectorPOD< T, Allocator >::resize(), agx::Vector< T, Allocator >::shrink_to_fit(), agx::VectorPOD< T, Allocator >::shrink_to_fit(), agx::Vector< T, Allocator >::swap(), agx::VectorPOD< T, Allocator >::swap(), agx::CellTable< CellIdT, HashT >::updateWithReordering(), agx::CellTable< CellIdT, HashT >::~CellTable(), agx::Vector< T, Allocator >::~Vector(), and agx::VectorPOD< T, Allocator >::~VectorPOD().
| #define m_elements static_cast<T *>(this->m_buffer) |
Definition at line 428 of file Vector.h.
Referenced by agx::StackArray< T, N >::at(), agx::Vector< T, Allocator >::at(), agx::VectorPOD< T, Allocator >::at(), agx::StackArray< T, N >::back(), agx::Vector< T, Allocator >::back(), agx::VectorPOD< T, Allocator >::back(), agx::StackArray< T, N >::begin(), agx::Vector< T, Allocator >::begin(), agx::VectorPOD< T, Allocator >::begin(), agx::Vector< T, Allocator >::end(), agx::VectorPOD< T, Allocator >::end(), agx::StackArray< T, N >::erase(), agx::Vector< T, Allocator >::erase(), agx::VectorPOD< T, Allocator >::erase(), agx::Vector< T, Allocator >::eraseFast(), agx::VectorPOD< T, Allocator >::eraseFast(), agx::Vector< T, Allocator >::find(), agx::VectorPOD< T, Allocator >::find(), agx::Vector< T, Allocator >::findAndErase(), agx::VectorPOD< T, Allocator >::findAndErase(), agx::StackArray< T, N >::front(), agx::Vector< T, Allocator >::front(), agx::VectorPOD< T, Allocator >::front(), agx::Vector< T, Allocator >::increment(), agx::VectorPOD< T, Allocator >::increment(), agx::Vector< T, Allocator >::insert(), agx::VectorPOD< T, Allocator >::insert(), agx::Vector< T, Allocator >::operator!=(), agx::VectorPOD< T, Allocator >::operator!=(), agx::StackArray< T, N >::operator=(), agx::Vector< T, Allocator >::operator=(), agx::VectorPOD< T, Allocator >::operator=(), agx::Vector< T, Allocator >::operator==(), agx::VectorPOD< T, Allocator >::operator==(), agx::StackArray< T, N >::operator[](), agx::Vector< T, Allocator >::operator[](), agx::VectorPOD< T, Allocator >::operator[](), agx::Vector< T, Allocator >::pop_back(), agx::Vector< T, Allocator >::ptr(), agx::VectorPOD< T, Allocator >::ptr(), agx::StackArray< T, N >::push_back(), agx::Vector< T, Allocator >::push_back(), agx::VectorPOD< T, Allocator >::push_back(), agxData::StackArray< T, N >::StackArray(), agx::StackArray< T, N >::StackArray(), agx::Vector< T, Allocator >::~Vector(), and agx::VectorPOD< T, Allocator >::~VectorPOD().
| #define m_size this->m_size |
Definition at line 429 of file Vector.h.
Referenced by agx::MemoryPool< T >::allocate(), agx::StackArray< T, N >::at(), agx::Vector< T, Allocator >::at(), agx::StackArray< T, N >::back(), agx::Vector< T, Allocator >::back(), agx::StackArray< T, N >::clear(), agxData::Vector< T >::clear(), agx::MemoryPool< T >::clear(), agx::Vector< T, Allocator >::clear(), agxData::BufferT< T >::clear(), agx::MemoryPool< T >::clearFast(), agx::Vector< T, Allocator >::contains(), agx::VectorPOD< T, Allocator >::contains(), agx::MemoryPool< T >::deallocate(), agx::StackArray< T, N >::empty(), agxSDK::LinkedSegmentRange< T >::empty(), agxData::EntityStorage::empty(), agx::Vector< T, Allocator >::end(), agx::VectorPOD< T, Allocator >::end(), agxData::Vector< T >::erase(), agx::StackArray< T, N >::erase(), agx::Vector< T, Allocator >::erase(), agx::CellTable< CellIdT, HashT >::erase(), agx::VectorPOD< T, Allocator >::erase(), agxData::Vector< T >::eraseFast(), agx::Vector< T, Allocator >::eraseFast(), agx::Vector< T, Allocator >::find(), agx::VectorPOD< T, Allocator >::find(), agx::Vector< T, Allocator >::findAndErase(), agx::VectorPOD< T, Allocator >::findAndErase(), agx::StackArray< T, N >::front(), agx::Vector< T, Allocator >::front(), agxOSG::Panel::getSize(), agxCollide::HeightFieldMeshData::getSize(), agx::Vector< T, Allocator >::increment(), agxData::Vector< T >::insert(), agx::Vector< T, Allocator >::insert(), agx::CellTable< CellIdT, HashT >::insert(), agx::Vector< T, Allocator >::operator!=(), agx::VectorPOD< T, Allocator >::operator!=(), agxSDK::LinkedSegmentRange< T >::operator=(), agx::StackArray< T, N >::operator=(), agx::Vector< T, Allocator >::operator=(), agx::Vector< T, Allocator >::operator==(), agx::VectorPOD< T, Allocator >::operator==(), agx::StackArray< T, N >::operator[](), agxSDK::LinkedSegmentRange< T >::operator[](), agx::Vector< T, Allocator >::operator[](), agx::StackArray< T, N >::pop_back(), agx::Vector< T, Allocator >::pop_back(), agxData::BufferT< T >::pop_back(), agx::StackArray< T, N >::push_back(), agxData::Vector< T >::push_back(), agx::Vector< T, Allocator >::push_back(), agx::VectorPOD< T, Allocator >::push_back(), agxData::BufferT< T >::push_back(), agxData::Vector< T >::resize(), agx::Vector< T, Allocator >::resize(), agx::Vector< T, Allocator >::shrink_to_fit(), agx::StackArray< T, N >::size(), agxSDK::LinkedSegmentRange< T >::size(), agxRender::RenderSingleton::Point::size(), agxData::EntityStorage::size(), agxRender::RenderSingleton::Line::size(), agxRender::RenderSingleton::Triangle::size(), agx::StackArray< T, N >::StackArray(), and agx::Vector< T, Allocator >::~Vector().