#include <sofa/defaulttype/Vec.h>#include <sofa/core/objectmodel/BaseContext.h>#include <sofa/helper/vector.h>#include <iostream>#include <algorithm>

Go to the source code of this file.
Data Structures | |
| class | sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal > |
| class | sofa::defaulttype::StdVectorTypes< TCoord, TDeriv, TReal >::SparseData< T > |
| class | sofa::defaulttype::ExtVectorAllocator< T > |
| Custom vector allocator class allowing data to be allocated at a specific location (such as for transmission through DMA, PCI-Express, Shared Memory, Network). More... | |
| class | sofa::defaulttype::ExtVector< T > |
| Custom vector class. More... | |
| class | sofa::defaulttype::DefaultAllocator< T > |
| class | sofa::defaulttype::ResizableExtVector< T > |
| Resizable custom vector class using DefaultAllocator. More... | |
| class | sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal > |
| class | sofa::defaulttype::ExtVectorTypes< TCoord, TDeriv, TReal >::SparseData< T > |
Namespaces | |
| namespace | sofa |
| Main SOFA namespace. | |
| namespace | sofa::defaulttype |
| Default data types for the most common cases (1D/2D/3D vectors, rigid frames). | |
| namespace | sofa::core |
| Base standardized classes. | |
| namespace | sofa::core::componentmodel |
| SOFA Component Model. | |
| namespace | sofa::core::componentmodel::behavior |
| Abstract API of components related to the behavior of simulated objects. | |
| namespace | sofa::core::objectmodel |
| SOFA Object Model. | |
Typedefs | |
| typedef StdVectorTypes< Vec3d, Vec3d, double > | sofa::defaulttype::Vec3dTypes |
| 3D DOFs, double precision | |
| typedef StdVectorTypes< Vec3f, Vec3f, float > | sofa::defaulttype::Vec3fTypes |
| 3D DOFs, single precision | |
| typedef ExtVectorTypes< Vec3d, Vec3d, double > | sofa::defaulttype::ExtVec3dTypes |
| 3D external DOFs, double precision | |
| typedef ExtVectorTypes< Vec3f, Vec3f, float > | sofa::defaulttype::ExtVec3fTypes |
| 3D external DOFs, single precision | |
| typedef StdVectorTypes< Vec2d, Vec2d, double > | sofa::defaulttype::Vec2dTypes |
| 2D DOFs, double precision | |
| typedef StdVectorTypes< Vec2f, Vec2f, float > | sofa::defaulttype::Vec2fTypes |
| 2D DOFs, single precision | |
| typedef ExtVectorTypes< Vec2d, Vec2d, double > | sofa::defaulttype::ExtVec2dTypes |
| 2D external DOFs, double precision | |
| typedef ExtVectorTypes< Vec2f, Vec2f, float > | sofa::defaulttype::ExtVec2fTypes |
| 2D external DOFs, single precision | |
| typedef StdVectorTypes< Vec1d, Vec1d, double > | sofa::defaulttype::Vec1dTypes |
| 1D DOFs, double precision | |
| typedef StdVectorTypes< Vec1f, Vec1f, float > | sofa::defaulttype::Vec1fTypes |
| 1D DOFs, single precision | |
| typedef ExtVectorTypes< Vec1d, Vec1d, double > | sofa::defaulttype::ExtVec1dTypes |
| 1D external DOFs, double precision | |
| typedef ExtVectorTypes< Vec1f, Vec1f, float > | sofa::defaulttype::ExtVec1fTypes |
| 1D external DOFs, single precision | |
| typedef StdVectorTypes< Vec6d, Vec6d, double > | sofa::defaulttype::Vec6dTypes |
| 6D DOFs, double precision | |
| typedef StdVectorTypes< Vec6f, Vec6f, float > | sofa::defaulttype::Vec6fTypes |
| 6D DOFs, single precision | |
| typedef ExtVectorTypes< Vec6d, Vec6d, double > | sofa::defaulttype::ExtVec6dTypes |
| 6D external DOFs, double precision | |
| typedef ExtVectorTypes< Vec6f, Vec6f, float > | sofa::defaulttype::ExtVec6fTypes |
| 6D external DOFs, single precision | |
| typedef Vec6dTypes | sofa::defaulttype::Vec6Types |
| 6D DOFs, double precision (default) | |
| typedef Vec3dTypes | sofa::defaulttype::Vec3Types |
| 3D DOFs, double precision (default) | |
| typedef Vec2dTypes | sofa::defaulttype::Vec2Types |
| 2D DOFs, double precision (default) | |
| typedef Vec1dTypes | sofa::defaulttype::Vec1Types |
| 1D DOFs, double precision (default) | |
| typedef ExtVec6dTypes | sofa::defaulttype::ExtVec6Types |
| 6D external DOFs, double precision (default) | |
| typedef ExtVec3dTypes | sofa::defaulttype::ExtVec3Types |
| 3D external DOFs, double precision (default) | |
| typedef ExtVec2dTypes | sofa::defaulttype::ExtVec2Types |
| 2D external DOFs, double precision (default) | |
| typedef ExtVec1dTypes | sofa::defaulttype::ExtVec1Types |
| 1D external DOFs, double precision (default) | |
Functions | |
| template<class Coord , class Deriv , class Vec , class M , class SV > | |
| Deriv | sofa::core::componentmodel::behavior::inertiaForce (const SV &, const Vec &, const M &, const Coord &, const Deriv &) |
| Return the inertia force applied to a body referenced in a moving coordinate system. | |
1.5.7.1