cisst-saw
Loading...
Searching...
No Matches
msh3Utilities.h File Reference

Go to the source code of this file.

Functions

std::string getcwd_str ()
vct3x3 ComputePointCovariance (const vct3 &norm, double normPerpVar, double normPrllVar)
void ComputeCovEigenValues_SVD (const vct3x3 &M, vct3 &eigenValues)
void ComputeCovEigenValues_Trig (const vct3x3 &M, vct3 &eigenValues)
void ComputeCovEigenDecomposition_NonIter (const vct3x3 &M, vct3 &eigenValues, vct3x3 &eigenVectors)
void ComputeCovEigenDecomposition_SVD (const vct3x3 &M, vct3 &eigenValues, vct3x3 &eigenVectors)
void ComputeCovEigenDecomposition_SEP (const vct3x3 &M, vct3 &eigenValues, vct3x3 &eigenVectors)
void ComputeCovInverse_NonIter (const vct3x3 &M, vct3x3 &Minv)
void ComputeCovInverse_SVD (const vct3x3 &M, vct3x3 &Minv)
void ComputeCovInverse_Nmr (const vct3x3 &M, vct3x3 &Minv)
vct3x3Calc_RMRt (vct3x3 &R, vct3x3 &M)
vct3 ApproxRodriguesRotationBetweenUnitVectors (double DotProd, const vct3 &XProd)
vct3 RodriguesRotationBetweenUnitVectors (double DotProd, const vct3 &XProd)
void ComputeRodriguesJacobians (const vct3 &a, vctFixedSizeVector< vctRot3, 3 > &dRa)
vctRot3 euler2rot (double yaw, double pitch, double roll)
vct3x3 skew (const vct3 &v)
void skew (const vct3 &v, vct3x3 &sk)
void skew (const vct3 &v, vctDynamicMatrixRef< double > &sk)
size_t sub2ind (const vctFixedSizeVector< size_t, 3 > &size, const size_t i, const size_t j, const size_t k)
double round6 (double d)
double round3 (double d)
std::string ltrim (const std::string &s)
std::string rtrim (const std::string &s)
std::string trim (const std::string &s)
vct3 vctCentroid (const vctDynamicVector< vct3 > &A)
vct3 vctWeightedMean (const vctDynamicVector< vct3 > &A, const vctDoubleVec &W)
vctDoubleVec linspace (const double &min, const double &max, const int &n)
vctDoubleVec ComputeInverseTrilinearInterp (const vct3 &p, const vctDynamicVector< vct3 > &points)

Variables

const double m_to_mm =1000.0

Function Documentation

◆ ApproxRodriguesRotationBetweenUnitVectors()

vct3 ApproxRodriguesRotationBetweenUnitVectors ( double DotProd,
const vct3 & XProd )
inline

◆ Calc_RMRt()

vct3x3 & Calc_RMRt ( vct3x3 & R,
vct3x3 & M )
inline

◆ ComputeCovEigenDecomposition_NonIter()

void ComputeCovEigenDecomposition_NonIter ( const vct3x3 & M,
vct3 & eigenValues,
vct3x3 & eigenVectors )

◆ ComputeCovEigenDecomposition_SEP()

void ComputeCovEigenDecomposition_SEP ( const vct3x3 & M,
vct3 & eigenValues,
vct3x3 & eigenVectors )

◆ ComputeCovEigenDecomposition_SVD()

void ComputeCovEigenDecomposition_SVD ( const vct3x3 & M,
vct3 & eigenValues,
vct3x3 & eigenVectors )

◆ ComputeCovEigenValues_SVD()

void ComputeCovEigenValues_SVD ( const vct3x3 & M,
vct3 & eigenValues )

◆ ComputeCovEigenValues_Trig()

void ComputeCovEigenValues_Trig ( const vct3x3 & M,
vct3 & eigenValues )

◆ ComputeCovInverse_Nmr()

void ComputeCovInverse_Nmr ( const vct3x3 & M,
vct3x3 & Minv )

◆ ComputeCovInverse_NonIter()

void ComputeCovInverse_NonIter ( const vct3x3 & M,
vct3x3 & Minv )

◆ ComputeCovInverse_SVD()

void ComputeCovInverse_SVD ( const vct3x3 & M,
vct3x3 & Minv )

◆ ComputeInverseTrilinearInterp()

vctDoubleVec ComputeInverseTrilinearInterp ( const vct3 & p,
const vctDynamicVector< vct3 > & points )

◆ ComputePointCovariance()

vct3x3 ComputePointCovariance ( const vct3 & norm,
double normPerpVar,
double normPrllVar )

◆ ComputeRodriguesJacobians()

void ComputeRodriguesJacobians ( const vct3 & a,
vctFixedSizeVector< vctRot3, 3 > & dRa )

◆ euler2rot()

vctRot3 euler2rot ( double yaw,
double pitch,
double roll )

◆ getcwd_str()

std::string getcwd_str ( )

◆ linspace()

vctDoubleVec linspace ( const double & min,
const double & max,
const int & n )

◆ ltrim()

std::string ltrim ( const std::string & s)
inline

◆ RodriguesRotationBetweenUnitVectors()

vct3 RodriguesRotationBetweenUnitVectors ( double DotProd,
const vct3 & XProd )
inline

◆ round3()

double round3 ( double d)
inline

◆ round6()

double round6 ( double d)
inline

◆ rtrim()

std::string rtrim ( const std::string & s)
inline

◆ skew() [1/3]

vct3x3 skew ( const vct3 & v)
inline

◆ skew() [2/3]

void skew ( const vct3 & v,
vct3x3 & sk )
inline

◆ skew() [3/3]

void skew ( const vct3 & v,
vctDynamicMatrixRef< double > & sk )
inline

◆ sub2ind()

size_t sub2ind ( const vctFixedSizeVector< size_t, 3 > & size,
const size_t i,
const size_t j,
const size_t k )
inline

◆ trim()

std::string trim ( const std::string & s)
inline

◆ vctCentroid()

vct3 vctCentroid ( const vctDynamicVector< vct3 > & A)

◆ vctWeightedMean()

vct3 vctWeightedMean ( const vctDynamicVector< vct3 > & A,
const vctDoubleVec & W )

Variable Documentation

◆ m_to_mm

const double m_to_mm =1000.0