SOFA plugin: SofaMatrix  master
Open source framework for multi-physics simuation
sofa::type Namespace Reference

Namespaces

 functionality
 
 pairwise
 
 trait
 

Classes

class  BoundingBox
 
class  BoundingBox1D
 
class  BoundingBox2D
 
class  CPUMemoryManager
 
class  DualQuatCoord3
 
class  fixed_array
 
class  Frame
 
class  Mat
 
class  Material
 
class  MatNoInit
 
class  MatSym
 
struct  NoInit
 
class  PrimitiveGroup
 
struct  qNoInit
 
class  Quat
 
class  QuatNoInit
 
class  Ray
 
struct  Rebind
 
struct  Rebind< _T, _OtherType >
 
class  RGBAColor
 
class  SpatialVector
 
struct  StrongType
 
class  SVector
 
class  TBoundingBox
 
class  Transform
 
class  Vec
 
class  VecNoInit
 
class  vector
 
class  vector_device
 
struct  BaseMatrixImageProxy
 A simple proxy of a BaseMatrix, compatible with a Data that can be visualized in the GUI, as a bitmap, with a BaseMatrixImageViewerWidget. More...
 

Typedefs

typedef Vec< 1, float > Vec1f
 
typedef Vec< 1, double > Vec1d
 
typedef Vec< 1, int > Vec1i
 
typedef Vec< 1, unsigned > Vec1u
 
typedef Vec< 1, SReal > Vec1
 
typedef Vec< 2, float > Vec2f
 
typedef Vec< 2, double > Vec2d
 
typedef Vec< 2, int > Vec2i
 
typedef Vec< 2, unsigned > Vec2u
 
typedef Vec< 2, SReal > Vec2
 
typedef Vec< 3, float > Vec3f
 
typedef Vec< 3, double > Vec3d
 
typedef Vec< 3, int > Vec3i
 
typedef Vec< 3, unsigned > Vec3u
 
typedef Vec< 3, SReal > Vec3
 
typedef Vec< 4, float > Vec4f
 
typedef Vec< 4, double > Vec4d
 
typedef Vec< 4, int > Vec4i
 
typedef Vec< 4, unsigned > Vec4u
 
typedef Vec< 4, SReal > Vec4
 
typedef Vec< 6, float > Vec6f
 
typedef Vec< 6, double > Vec6d
 
typedef Vec< 6, int > Vec6i
 
typedef Vec< 6, unsigned > Vec6u
 
typedef Vec< 6, SReal > Vec6
 
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< 6, 6, float > Mat6x6f
 
typedef Mat< 6, 6, double > Mat6x6d
 
typedef Mat< 2, 2, SReal > Mat2x2
 
typedef Mat< 3, 3, SReal > Mat3x3
 
typedef Mat< 4, 4, SReal > Mat4x4
 
typedef Mat< 6, 6, SReal > Mat6x6
 
typedef Mat< 2, 2, SReal > Matrix2
 
typedef Mat< 3, 3, SReal > Matrix3
 
typedef Mat< 4, 4, SReal > Matrix4
 
typedef type::Quat< double > Quatd
 
typedef type::Quat< float > Quatf
 
typedef BoundingBox BoundingBox3D
 
typedef fixed_array< int, 1 > FixedArray1i
 
typedef fixed_array< unsigned int, 1 > FixedArray1I
 
typedef fixed_array< int, 2 > FixedArray2i
 
typedef fixed_array< unsigned int, 2 > FixedArray2I
 
typedef fixed_array< int, 3 > FixedArray3i
 
typedef fixed_array< unsigned int, 3 > FixedArray3I
 
typedef fixed_array< int, 4 > FixedArray4i
 
typedef fixed_array< unsigned int, 4 > FixedArray4I
 
typedef fixed_array< int, 5 > FixedArray5i
 
typedef fixed_array< unsigned int, 5 > FixedArray5I
 
typedef fixed_array< int, 6 > FixedArray6i
 
typedef fixed_array< unsigned int, 6 > FixedArray6I
 
typedef fixed_array< int, 7 > FixedArray7i
 
typedef fixed_array< unsigned int, 7 > FixedArray7I
 
typedef fixed_array< int, 8 > FixedArray8i
 
typedef fixed_array< unsigned int, 8 > FixedArray8I
 
typedef fixed_array< float, 1 > FixedArray1f
 
typedef fixed_array< double, 1 > FixedArray1d
 
typedef fixed_array< float, 2 > FixedArray2f
 
typedef fixed_array< double, 2 > FixedArray2d
 
typedef fixed_array< float, 3 > FixedArray3f
 
typedef fixed_array< double, 3 > FixedArray3d
 
typedef fixed_array< float, 4 > FixedArray4f
 
typedef fixed_array< double, 4 > FixedArray4d
 
typedef fixed_array< float, 5 > FixedArray5f
 
typedef fixed_array< double, 5 > FixedArray5d
 
typedef fixed_array< float, 6 > FixedArray6f
 
typedef fixed_array< double, 6 > FixedArray6d
 
typedef fixed_array< float, 7 > FixedArray7f
 
typedef fixed_array< double, 7 > FixedArray7d
 
typedef fixed_array< float, 8 > FixedArray8f
 
typedef fixed_array< double, 8 > FixedArray8d
 
typedef boost::container::stable_vector< T, A > stable_vector
 
typedef typename Rebind< T, B >::to rebind_to
 

Functions

BoundingBox::bbox_t make_neutralBBox ()
 
constexpr auto make_array (Ts &&... ts) -> fixed_array< std::common_type_t< Ts... >, sizeof...(Ts)>
 
 fixed_array (First, Rest...) -> fixed_array< std::common_type_t< First, Rest... >, 1+sizeof...(Rest)>
 
constexpr sofa::type::fixed_array< T, N > makeHomogeneousArray (const T &value)
 
constexpr FixedArray makeHomogeneousArray (const typename FixedArray::value_type &value)
 
constexpr bool operator< (const fixed_array< T, N > &v1, const fixed_array< T, N > &v2) noexcept
 
constexpr bool operator> (const fixed_array< T, N > &v1, const fixed_array< T, N > &v2) noexcept
 
std::ostream & operator<< (std::ostream &out, const sofa::type::Frame &c)
 
SOFA_TYPE_API void init ()
 
SOFA_TYPE_API bool isInitialized ()
 
SOFA_TYPE_API void cleanup ()
 
SOFA_TYPE_API bool isCleanedUp ()
 
SOFA_TYPE_API void printUninitializedLibraryWarning (const std::string &library, const std::string &initFunction)
 
SOFA_TYPE_API void printLibraryNotCleanedUpWarning (const std::string &library, const std::string &cleanupFunction)
 
constexpr Mat< C, P, real > multTranspose (const Mat< L, C, real > &m1, const Mat< L, P, real > &m2) noexcept
 
constexpr real determinant (const Mat< 3, 3, real > &m) noexcept
 
constexpr real determinant (const Mat< 2, 2, real > &m) noexcept
 
constexpr real determinant (const Mat< 2, 3, real > &m) noexcept
 
constexpr real determinant (const Mat< 3, 2, real > &m) noexcept
 
real oneNorm (const Mat< 3, 3, real > &A)
 
real infNorm (const Mat< 3, 3, real > &A)
 
constexpr real trace (const Mat< N, N, real > &m) noexcept
 
constexpr Vec< N, real > diagonal (const Mat< N, N, real > &m)
 
bool invertMatrix (Mat< S, S, real > &dest, const Mat< S, S, real > &from)
 
constexpr bool invertMatrix (Mat< 3, 3, real > &dest, const Mat< 3, 3, real > &from)
 
constexpr bool invertMatrix (Mat< 2, 2, real > &dest, const Mat< 2, 2, real > &from)
 
constexpr bool invertMatrix (Mat< 1, 1, real > &dest, const Mat< 1, 1, real > &from)
 
constexpr bool transformInvertMatrix (Mat< S, S, real > &dest, const Mat< S, S, real > &from)
 
std::ostream & operator<< (std::ostream &o, const Mat< L, C, real > &m)
 
std::istream & operator>> (std::istream &in, Mat< L, C, real > &m)
 
void printMatlab (std::ostream &o, const Mat< L, C, real > &m)
 
void printMaple (std::ostream &o, const Mat< L, C, real > &m)
 
constexpr Mat< Tu::size(), Tv::size(), typename Tu::value_type > dyad (const Tu &u, const Tv &v) noexcept
 
constexpr real scalarProduct (const Mat< L, C, real > &left, const Mat< L, C, real > &right) noexcept
 
constexpr Mat< 3, 3, Real > crossProductMatrix (const Vec< 3, Real > &v) noexcept
 
constexpr Mat< L, L, Real > tensorProduct (const Vec< L, Real > &a, const Vec< L, Real > &b) noexcept
 
constexpr Mat< L, P, real > operator* (const Mat< L, C, real > &m1, const Mat< C, P, real > &m2) noexcept
 
constexpr Mat< 3, 3, real > operator* (const Mat< 3, 3, real > &m1, const Mat< 3, 3, real > &m2) noexcept
 
constexpr Mat< 3, 3, real > multTranspose (const Mat< 3, 3, real > &m1, const Mat< 3, 3, real > &m2) noexcept
 
bool cholDcmp (Mat< n, n, real > &L, const Mat< n, n, real > &M)
 
void cholBksb (Vec< n, real > &x, const Mat< n, n, real > &L, const Vec< n, real > &b)
 
bool cholSlv (Vec< n, real > &x, const Mat< n, n, real > &M, const Vec< n, real > &b)
 
bool cholInv (Mat< n, n, real > &Inv, const Mat< n, n, real > &M)
 
bool solveLCP (const Vec< dim, real > &q, const Mat< dim, dim, real > &M, Vec< dim *2, real > &res)
 
void ludcmp (Mat< n, n, Real > &a, Vec< n, int > &indx)
 
void lubksb (const Mat< n, n, Real > &a, const Vec< n, int > &indx, Vec< n, Real > &b)
 
void luinv (Mat< n, n, Real > &inv, Mat< n, n, Real > &m)
 
const T1 S_MAX (const T1 &a, const T2 &b)
 
const T1 S_MIN (const T1 &a, const T2 &b)
 
const T1 S_SIGN (const T1 &a, const T2 &b)
 
const T S_SQR (const T a)
 
T1 pythag (const T1 a, const T2 b)
 
void svddcmp (Mat< m, n, Real > &a, Vec< n, Real > &w, Mat< n, m, Real > &v)
 
Real cond (Mat< m, n, Real > &a)
 
std::ostream & operator<< (std::ostream &out, const Material &m)
 
std::istream & operator>> (std::istream &in, Material &m)
 
Mat< D, D, real > operator* (const Mat< D, D, real > &a, const MatSym< D, real > &b)
 
real determinant (const MatSym< 3, real > &m)
 
real determinant (const MatSym< 2, real > &m)
 
real trace (const MatSym< 3, real > &m)
 
real trace (const MatSym< 2, real > &m)
 
bool invertMatrix (MatSym< S, real > &dest, const MatSym< S, real > &from)
 
bool invertMatrix (MatSym< 3, real > &dest, const MatSym< 3, real > &from)
 
bool invertMatrix (MatSym< 2, real > &dest, const MatSym< 2, real > &from)
 
std::ostream & operator<< (std::ostream &o, const MatSym< D, real > &m)
 
std::istream & operator>> (std::istream &in, MatSym< D, real > &m)
 
real scalarProduct (const MatSym< D, real > &left, const MatSym< D, real > &right)
 
real scalarProduct (const MatSym< D, real > &left, const Mat< D, D, real > &right)
 
real scalarProduct (const Mat< D, D, real > &left, const MatSym< D, real > &right)
 
std::ostream & operator<< (std::ostream &out, const PrimitiveGroup &g)
 
std::istream & operator>> (std::istream &in, PrimitiveGroup &g)
 
template SOFA_TYPE_API std::ostream & operator<< (std::ostream &out, const Quat< double > &v)
 
template SOFA_TYPE_API std::istream & operator>> (std::istream &in, Quat< double > &v)
 
template SOFA_TYPE_API std::ostream & operator<< (std::ostream &out, const Quat< float > &v)
 
template SOFA_TYPE_API std::istream & operator>> (std::istream &in, Quat< float > &v)
 
SOFA_TYPE_API std::ostream & operator<< (std::ostream &out, const Quat< Real > &v)
 
SOFA_TYPE_API std::istream & operator>> (std::istream &in, Quat< Real > &v)
 
SOFA_TYPE_API std::istream & operator>> (std::istream &i, RGBAColor &t)
 
SOFA_TYPE_API std::ostream & operator<< (std::ostream &out, const RGBAColor &t)
 
constexpr RGBAColor operator- (const RGBAColor &l, const RGBAColor &r)
 
constexpr RGBAColor operator+ (const RGBAColor &l, const RGBAColor &r)
 
constexpr RGBAColor operator/ (const RGBAColor &l, const float div)
 
 requires (!CanTypeRebind< _T< A >, _OtherType >) struct Rebind< _T< A >
 
 Vec (First, Rest...) -> Vec< 1+sizeof...(Rest), std::common_type_t< First, Rest... > >
 
 VecNoInit (First, Rest...) -> VecNoInit< 1+sizeof...(Rest), std::common_type_t< First, Rest... > >
 
std::istream & operator>> (std::istream &in, Vec< N, Real > &v)
 
std::ostream & operator<< (std::ostream &out, const Vec< N, Real > &v)
 
constexpr Vec< 3, real1 > cross (const Vec< 3, real1 > &a, const Vec< 3, real2 > &b) noexcept
 
constexpr real1 cross (const type::Vec< 2, real1 > &a, const type::Vec< 2, real2 > &b) noexcept
 
constexpr real dot (const Vec< N, real > &a, const Vec< N, real > &b) noexcept
 
constexpr Vec< N, real > operator* (const double &a, const Vec< N, real > &V) noexcept
 
constexpr Vec< N, real > operator* (const float &a, const Vec< N, real > &V) noexcept
 
constexpr bool operator< (const Vec< N, T > &v1, const Vec< N, T > &v2) noexcept
 
void SOFA_TYPE_API vector_access_failure (const void *vec, const std::size_t size, const std::size_t i, const std::type_info &type)
 
void remove (T1 &v, const T2 &elem)
 
void removeValue (T1 &v, const T2 &elem)
 
void removeIndex (std::vector< T, TT > &v, size_t index)
 
SOFA_TYPE_API int getInteger (const std::string &s, std::stringstream &msg, unsigned int &numErrors)
 
SOFA_TYPE_API unsigned int getUnsignedInteger (const std::string &s, std::stringstream &msg, unsigned int &numErrors)
 
SReal dot (const V1 &vector1, const V2 &vector2)
 
SReal norm (const V &v)
 
void axpy (V1 &result, Scalar a, const V2 &x, const V3 &y)
 

Variables

template class SOFA_TYPE_API DualQuatCoord3< double >
 
template class SOFA_TYPE_API DualQuatCoord3< float >
 
template class SOFA_TYPE_API fixed_array< float, 2 >
 
template class SOFA_TYPE_API fixed_array< double, 2 >
 
template class SOFA_TYPE_API fixed_array< float, 3 >
 
template class SOFA_TYPE_API fixed_array< double, 3 >
 
template class SOFA_TYPE_API fixed_array< float, 4 >
 
template class SOFA_TYPE_API fixed_array< double, 4 >
 
template class SOFA_TYPE_API fixed_array< float, 5 >
 
template class SOFA_TYPE_API fixed_array< double, 5 >
 
template class SOFA_TYPE_API fixed_array< float, 6 >
 
template class SOFA_TYPE_API fixed_array< double, 6 >
 
template class SOFA_TYPE_API fixed_array< float, 7 >
 
template class SOFA_TYPE_API fixed_array< double, 7 >
 
concept isRigidType
 
template class SOFA_TYPE_API Quat< double >
 
template class SOFA_TYPE_API Quat< float >
 
constexpr qNoInit QNOINIT
 
const std::map< std::string, RGBAColorstringToColorMap
 
constexpr RGBAColor g_white
 
constexpr RGBAColor g_black
 
constexpr RGBAColor g_red
 
constexpr RGBAColor g_green
 
constexpr RGBAColor g_blue
 
constexpr RGBAColor g_cyan
 
constexpr RGBAColor g_magenta
 
constexpr RGBAColor g_yellow
 
constexpr RGBAColor g_gray
 
constexpr RGBAColor g_darkgray
 
constexpr RGBAColor g_lightgray
 
constexpr RGBAColor g_orange
 
constexpr RGBAColor g_purple
 
constexpr RGBAColor g_pink
 
constexpr RGBAColor g_brown
 
constexpr RGBAColor g_lime
 
constexpr RGBAColor g_teal
 
constexpr RGBAColor g_navy
 
constexpr RGBAColor g_olive
 
constexpr RGBAColor g_maroon
 
constexpr RGBAColor g_silver
 
constexpr RGBAColor g_gold
 
template class SOFA_TYPE_API SpatialVector< double >
 
template class SOFA_TYPE_API SpatialVector< float >
 
concept CanTypeRebind
 
 _OtherType
 
template class SOFA_TYPE_API Transform< double >
 
template class SOFA_TYPE_API Transform< float >
 
template class SOFA_TYPE_API Vec< 2, float >
 
template class SOFA_TYPE_API Vec< 2, int >
 
template class SOFA_TYPE_API Vec< 2, double >
 
template class SOFA_TYPE_API Vec< 2, unsigned >
 
template class SOFA_TYPE_API Vec< 3, float >
 
template class SOFA_TYPE_API Vec< 3, int >
 
template class SOFA_TYPE_API Vec< 3, double >
 
template class SOFA_TYPE_API Vec< 3, unsigned >
 
template class SOFA_TYPE_API Vec< 4, float >
 
template class SOFA_TYPE_API Vec< 4, int >
 
template class SOFA_TYPE_API Vec< 4, double >
 
template class SOFA_TYPE_API Vec< 4, unsigned >
 
template class SOFA_TYPE_API Vec< 6, float >
 
template class SOFA_TYPE_API Vec< 6, int >
 
template class SOFA_TYPE_API Vec< 6, double >
 
template class SOFA_TYPE_API Vec< 6, unsigned >
 
constexpr NoInit NOINIT