|
template<class T > |
using | VirtualTypeInfo = DataTypeInfoDynamicWrapper< DataTypeInfo< T >> |
| We make an alias to wrap around the old name to the new one. More...
|
|
typedef Mat< 1, 1, float > | Mat1x1f |
|
typedef Mat< 1, 1, double > | Mat1x1d |
|
typedef Mat< 2, 2, float > | Mat2x2f |
|
typedef Mat< 2, 2, double > | Mat2x2d |
|
typedef Mat< 3, 3, float > | Mat3x3f |
|
typedef Mat< 3, 3, double > | Mat3x3d |
|
typedef Mat< 3, 4, float > | Mat3x4f |
|
typedef Mat< 3, 4, double > | Mat3x4d |
|
typedef Mat< 4, 4, float > | Mat4x4f |
|
typedef Mat< 4, 4, double > | Mat4x4d |
|
typedef Mat< 2, 2, SReal > | Mat2x2 |
|
typedef Mat< 3, 3, SReal > | Mat3x3 |
|
typedef Mat< 4, 4, SReal > | Mat4x4 |
|
typedef Mat< 2, 2, SReal > | Matrix2 |
|
typedef Mat< 3, 3, SReal > | Matrix3 |
|
typedef Mat< 4, 4, SReal > | Matrix4 |
|
typedef helper::Quater< double > | Quatd |
| alias More...
|
|
typedef helper::Quater< float > | Quatf |
| alias More...
|
|
typedef helper::Quater< SReal > | Quat |
| alias More...
|
|
typedef Quat | Quaternion |
| alias More...
|
|
typedef sofa::helper::types::RGBAColor | RGBAColor |
|
typedef StdRigidTypes< 3, double > | Rigid3dTypes |
|
typedef RigidMass< 3, double > | Rigid3dMass |
|
typedef StdRigidTypes< 3, float > | Rigid3fTypes |
|
typedef RigidMass< 3, float > | Rigid3fMass |
|
typedef StdRigidTypes< 3, SReal > | Rigid3Types |
| un-defined precision type More...
|
|
typedef StdRigidTypes< 3, SReal > | RigidTypes |
| alias (beurk) More...
|
|
typedef RigidMass< 3, SReal > | Rigid3Mass |
| un-defined precision type More...
|
|
typedef StdRigidTypes< 2, double > | Rigid2dTypes |
|
typedef RigidMass< 2, double > | Rigid2dMass |
|
typedef StdRigidTypes< 2, float > | Rigid2fTypes |
|
typedef RigidMass< 2, float > | Rigid2fMass |
|
typedef StdRigidTypes< 2, SReal > | Rigid2Types |
|
typedef RigidMass< 2, SReal > | Rigid2Mass |
|
typedef std::map< std::string, TemplateAlias > | TemplateAliasesMap |
|
typedef TemplateAliasesMap::const_iterator | TemplateAliasesMapIterator |
|
typedef std::pair< std::string, bool > | TemplateAlias |
|
typedef StdVectorTypes< Vec3d, Vec3d, double > | Vec3dTypes |
| 3D DOFs, double precision More...
|
|
typedef StdVectorTypes< Vec2d, Vec2d, double > | Vec2dTypes |
| 2D DOFs, double precision More...
|
|
typedef StdVectorTypes< Vec1d, Vec1d, double > | Vec1dTypes |
| 1D DOFs, double precision More...
|
|
typedef StdVectorTypes< Vec6d, Vec6d, double > | Vec6dTypes |
| 6D DOFs, double precision More...
|
|
typedef StdVectorTypes< Vec3f, Vec3f, float > | Vec3fTypes |
| 3f DOFs, single precision More...
|
|
typedef StdVectorTypes< Vec2f, Vec2f, float > | Vec2fTypes |
| 2f DOFs, single precision More...
|
|
typedef StdVectorTypes< Vec1f, Vec1f, float > | Vec1fTypes |
| 1f DOFs, single precision More...
|
|
typedef StdVectorTypes< Vec6f, Vec6f, float > | Vec6fTypes |
| 6f DOFs, single precision More...
|
|
typedef StdVectorTypes< Vec6, Vec6, Vec6::value_type > | Vec6Types |
| 6D DOFs, double precision (default) More...
|
|
typedef StdVectorTypes< Vec3, Vec3, Vec3::value_type > | Vec3Types |
| 3D DOFs, double precision (default) More...
|
|
typedef StdVectorTypes< Vec2, Vec2, Vec2::value_type > | Vec2Types |
| 2D DOFs, double precision (default) More...
|
|
typedef StdVectorTypes< Vec1, Vec1, Vec1::value_type > | Vec1Types |
| 1D DOFs, double precision (default) More...
|
|
|
int | hexval (char c) |
|
bool | isValidEncoding (const std::string &s) |
|
SOFA_DEFAULTTYPE_API std::istream & | operator>> (std::istream &i, RGBAColor &t) |
|
std::ostream & | operator<< (std::ostream &out, const sofa::defaulttype::Frame &c) |
|
SOFA_DEFAULTTYPE_API void | init () |
| Initialize the SofaDefaultType library, as well as it dependency: SofaHelper. More...
|
|
SOFA_DEFAULTTYPE_API bool | isInitialized () |
| Return true if and only if the SofaDefaultType library has been initialized. More...
|
|
SOFA_DEFAULTTYPE_API void | cleanup () |
| Clean up the resources used by the SofaDefaultType library, as well as its dependency: SofaHelper. More...
|
|
SOFA_DEFAULTTYPE_API bool | isCleanedUp () |
| Return true if and only if the SofaDefaultType library has been cleaned up. More...
|
|
template<class MatrixRow , class VecDeriv > |
VecDeriv::Real | SparseMatrixVecDerivMult (const MatrixRow &row, const VecDeriv &vec) |
|
template<typename LhsDeriv , typename RhsDeriv , typename Real > |
void | addMultTransposeEigen (MapMapSparseMatrix< LhsDeriv > &lhs, const Eigen::SparseMatrix< Real, Eigen::RowMajor > &jacobian, const MapMapSparseMatrix< RhsDeriv > &rhs) |
| Computes lhs += jacobian^T * rhs. More...
|
|
template<class real > |
real | determinant (const Mat< 3, 3, real > &m) |
| Determinant of a 3x3 matrix. More...
|
|
template<class real > |
real | determinant (const Mat< 2, 2, real > &m) |
| Determinant of a 2x2 matrix. More...
|
|
template<class real > |
real | determinant (const Mat< 2, 3, real > &m) |
|
template<class real > |
real | determinant (const Mat< 3, 2, real > &m) |
|
template<class real > |
real | oneNorm (const Mat< 3, 3, real > &A) |
|
template<class real > |
real | infNorm (const Mat< 3, 3, real > &A) |
|
template<sofa::Size N, class real > |
real | trace (const Mat< N, N, real > &m) |
| trace of a square matrix More...
|
|
template<sofa::Size N, class real > |
Vec< N, real > | diagonal (const Mat< N, N, real > &m) |
| diagonal of a square matrix More...
|
|
template<sofa::Size S, class real > |
bool | invertMatrix (Mat< S, S, real > &dest, const Mat< S, S, real > &from) |
| Matrix inversion (general case). More...
|
|
template<class real > |
bool | invertMatrix (Mat< 3, 3, real > &dest, const Mat< 3, 3, real > &from) |
| Matrix inversion (special case 3x3). More...
|
|
template<class real > |
bool | invertMatrix (Mat< 2, 2, real > &dest, const Mat< 2, 2, real > &from) |
| Matrix inversion (special case 2x2). More...
|
|
template<sofa::Size S, class real > |
bool | transformInvertMatrix (Mat< S, S, real > &dest, const Mat< S, S, real > &from) |
| Inverse Matrix considering the matrix as a transformation. More...
|
|
template<sofa::Size L, sofa::Size C, typename real > |
std::ostream & | operator<< (std::ostream &o, const Mat< L, C, real > &m) |
|
template<sofa::Size L, sofa::Size C, typename real > |
std::istream & | operator>> (std::istream &in, sofa::defaulttype::Mat< L, C, real > &m) |
|
template<sofa::Size L, sofa::Size C, typename real > |
void | printMatlab (std::ostream &o, const Mat< L, C, real > &m) |
| printing in other software formats More...
|
|
template<sofa::Size L, sofa::Size C, typename real > |
void | printMaple (std::ostream &o, const Mat< L, C, real > &m) |
|
template<sofa::Size L, sofa::Size C, typename T > |
Mat< L, C, T > | dyad (const Vec< L, T > &u, const Vec< C, T > &v) |
| Create a matrix as . More...
|
|
template<sofa::Size L, sofa::Size C, typename real > |
real | scalarProduct (const Mat< L, C, real > &left, const Mat< L, C, real > &right) |
| Compute the scalar product of two matrix (sum of product of all terms) More...
|
|
template<class Real > |
defaulttype::Mat< 3, 3, Real > | crossProductMatrix (const defaulttype::Vec< 3, Real > &v) |
|
template<Size n, class real > |
bool | cholDcmp (Mat< n, n, real > &L, const Mat< n, n, real > &M) |
|
template<Size n, class real > |
void | cholBksb (Vec< n, real > &x, const Mat< n, n, real > &L, const Vec< n, real > &b) |
|
template<Size n, class real > |
bool | cholSlv (Vec< n, real > &x, const Mat< n, n, real > &M, const Vec< n, real > &b) |
|
template<Size n, class real > |
bool | cholInv (Mat< n, n, real > &Inv, const Mat< n, n, real > &M) |
|
template<int n, typename Real > |
void | ludcmp (Mat< n, n, Real > &a, Vec< n, int > &indx) |
| Compute the LU decomposition of matrix a. a is replaced by its pivoted LU decomposition. indx stores pivoting indices. More...
|
|
template<int n, typename Real > |
void | lubksb (const Mat< n, n, Real > &a, const Vec< n, int > &indx, Vec< n, Real > &b) |
| Compute the solution of Mx=b. b is replaced by x. a and indx together represent the LU decomposition of m, as given my method ludcmp. More...
|
|
template<int n, typename Real > |
void | luinv (Mat< n, n, Real > &inv, Mat< n, n, Real > &m) |
|
template<class T1 , class T2 > |
const T1 | S_MAX (const T1 &a, const T2 &b) |
| return the max of two values More...
|
|
template<class T1 , class T2 > |
const T1 | S_MIN (const T1 &a, const T2 &b) |
| return the min of two values More...
|
|
template<class T1 , class T2 > |
const T1 | S_SIGN (const T1 &a, const T2 &b) |
|
template<class T > |
const T | S_SQR (const T a) |
|
template<class T1 , class T2 > |
T1 | pythag (const T1 a, const T2 b) |
| Computes sqrt(a^2 + b^2) without destructive underflow or overflow. More...
|
|
template<int m, int n, typename Real > |
void | svddcmp (Mat< m, n, Real > &a, Vec< n, Real > &w, Mat< n, m, Real > &v) |
| Compute the SVD decomposition of matrix a (from nr). a is replaced by its pivoted LU decomposition. indx stores pivoting indices. More...
|
|
template<int m, int n, typename Real > |
Real | cond (Mat< m, n, Real > &a) |
| return the condition number of the matrix a following the euclidian norm (using the svd decomposition to find singular values) More...
|
|
template<class real > |
real | determinant (const MatSym< 3, real > &m) |
| Determinant of a 3x3 matrix. More...
|
|
template<class real > |
real | determinant (const MatSym< 2, real > &m) |
| Determinant of a 2x2 matrix. More...
|
|
template<class real > |
real | trace (const MatSym< 3, real > &m) |
| Trace of a 3x3 matrix. More...
|
|
template<class real > |
real | trace (const MatSym< 2, real > &m) |
| Trace of a 2x2 matrix. More...
|
|
template<int S, class real > |
bool | invertMatrix (MatSym< S, real > &dest, const MatSym< S, real > &from) |
| Matrix inversion (general case). More...
|
|
template<class real > |
bool | invertMatrix (MatSym< 3, real > &dest, const MatSym< 3, real > &from) |
| Matrix inversion (special case 3x3). More...
|
|
template<class real > |
bool | invertMatrix (MatSym< 2, real > &dest, const MatSym< 2, real > &from) |
| Matrix inversion (special case 2x2). More...
|
|
template<int D, class real > |
std::ostream & | operator<< (std::ostream &o, const MatSym< D, real > &m) |
|
template<int D, class real > |
std::istream & | operator>> (std::istream &in, MatSym< D, real > &m) |
|
template<int D, typename real > |
real | scalarProduct (const MatSym< D, real > &left, const MatSym< D, real > &right) |
| Compute the scalar product of two matrix (sum of product of all terms) More...
|
|
template<int D, typename real > |
real | scalarProduct (const MatSym< D, real > &left, const Mat< D, D, real > &right) |
|
template<int D, typename real > |
real | scalarProduct (const Mat< D, D, real > &left, const MatSym< D, real > &right) |
|
template<typename real , typename real2 > |
RigidDeriv< 3, real > | operator* (RigidDeriv< 3, real > r, real2 a) |
|
template<typename real , typename real2 > |
RigidDeriv< 3, real > | operator/ (RigidDeriv< 3, real > r, real2 a) |
|
template<sofa::Size N, typename T > |
RigidDeriv< N, T >::Pos & | getLinear (RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
const RigidDeriv< N, T >::Pos & | getLinear (const RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
RigidDeriv< N, T >::Rot & | getAngular (RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
const RigidDeriv< N, T >::Rot & | getAngular (const RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
RigidDeriv< N, T >::Pos & | getVCenter (RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
const RigidDeriv< N, T >::Pos & | getVCenter (const RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
RigidDeriv< N, T >::Rot & | getVOrientation (RigidDeriv< N, T > &v) |
|
template<sofa::Size N, typename T > |
const RigidDeriv< N, T >::Rot & | getVOrientation (const RigidDeriv< N, T > &v) |
|
template<typename T , typename R > |
Vec< 3, T > | velocityAtRotatedPoint (const RigidDeriv< 3, R > &v, const Vec< 3, T > &p) |
| Velocity at point p, where p is the offset from the origin of the frame, given in the same coordinate system as the velocity of the origin. More...
|
|
template<typename real > |
RigidDeriv< 3, real > | operator* (const RigidDeriv< 3, real > &d, const RigidMass< 3, real > &m) |
|
template<typename real > |
RigidDeriv< 3, real > | operator* (const RigidMass< 3, real > &m, const RigidDeriv< 3, real > &d) |
|
template<typename real > |
RigidDeriv< 3, real > | operator/ (const RigidDeriv< 3, real > &d, const RigidMass< 3, real > &m) |
|
template<typename real , typename real2 > |
RigidDeriv< 2, real > | operator* (RigidDeriv< 2, real > r, real2 a) |
|
template<typename real , typename real2 > |
RigidDeriv< 2, real > | operator/ (RigidDeriv< 2, real > r, real2 a) |
|
template<typename R , typename T > |
Vec< 2, R > | velocityAtRotatedPoint (const RigidDeriv< 2, T > &v, const Vec< 2, R > &p) |
| Velocity at point p, where p is the offset from the origin of the frame, given in the same coordinate system as the velocity of the origin. More...
|
|
template<typename real > |
RigidDeriv< 2, real > | operator* (const RigidDeriv< 2, real > &d, const RigidMass< 2, real > &m) |
|
template<typename real > |
RigidDeriv< 2, real > | operator/ (const RigidDeriv< 2, real > &d, const RigidMass< 2, real > &m) |
|
template<typename T > |
const Vec< 3, T > | getVCenter (const Vec< 6, T > &v) |
|
template<typename T > |
const Vec< 3, T > | getVOrientation (const Vec< 6, T > &v) |
|
TemplateAliasesMap & | getTemplateAliasesMap () |
|
template<class T > |
constexpr bool | isDouble () |
|
template<> |
constexpr bool | isDouble< double > () |
|
constexpr bool | isSRealDouble () |
|
constexpr bool | isSRealFloat () |
|
|
Helper Functions to more easily create tests and check the results.
|