Public Member Functions | Static Public Attributes | Private Attributes | Friends | List of all members
Vclip::Mat3 Class Reference

#include <mv.h>

Public Member Functions

void add (const Mat3 &M, const Mat3 &N)
 
void add (const Mat3 &M)
 
Real det () const
 
Vect3 diag () const
 
int invert (const Mat3 &M)
 
int invert ()
 
void invXform (const Vect3 &v, Vect3 &xv) const
 
void invXform (Vect3 &v) const
 
 Mat3 ()
 
 Mat3 (const Vect3 &diag, const Vect3 &sym)
 
 Mat3 (const Vect3 &axis, Real angle, int normalizeAxis=1)
 
 Mat3 (const Quat &q)
 
void mult (const Mat3 &M, const Mat3 &N)
 
void negate (const Mat3 &M)
 
void negate ()
 
const Vect3operator[] (int i) const
 
Vect3operator[] (int i)
 
void postmult (const Mat3 &M)
 
void premult (const Mat3 &M)
 
ostream & print (ostream &os) const
 
void scale (const Mat3 &M, Real s)
 
void scale (Real s)
 
void set (const Vect3 &diag, const Vect3 &sym)
 
void set (const Vect3 &axis, Real angle, int normalizeAxis=1)
 
void set (const Quat &q)
 
void setSkew (const Vect3 &v)
 
void setXcol (const Vect3 &v)
 
void setYcol (const Vect3 &v)
 
void setZcol (const Vect3 &v)
 
void sub (const Mat3 &M, const Mat3 &N)
 
void sub (const Mat3 &M)
 
Vect3 sym () const
 
void symmetrize (const Mat3 &M)
 
void symmetrize ()
 
Vect3 xcol () const
 
void xform (const Vect3 &v, Vect3 &xv) const
 
void xform (Vect3 &v) const
 
void xpose (const Mat3 &M)
 
void xpose ()
 
const Vect3xrow () const
 
Vect3xrow ()
 
Vect3 ycol () const
 
const Vect3yrow () const
 
Vect3yrow ()
 
Vect3 zcol () const
 
const Vect3zrow () const
 
Vect3zrow ()
 

Static Public Attributes

static const Mat3 ID
 
static const Mat3 ZERO
 

Private Attributes

Real xx
 
Real xy
 
Real xz
 
Real yx
 
Real yy
 
Real yz
 
Real zx
 
Real zy
 
Real zz
 

Friends

class MatX
 
class Quat
 

Detailed Description

Definition at line 298 of file mv.h.

Constructor & Destructor Documentation

◆ Mat3() [1/4]

Vclip::Mat3::Mat3 ( )
inline

Definition at line 314 of file mv.h.

◆ Mat3() [2/4]

Vclip::Mat3::Mat3 ( const Vect3 diag,
const Vect3 sym 
)
inline

Definition at line 315 of file mv.h.

◆ Mat3() [3/4]

Vclip::Mat3::Mat3 ( const Vect3 axis,
Real  angle,
int  normalizeAxis = 1 
)
inline

Definition at line 316 of file mv.h.

◆ Mat3() [4/4]

Vclip::Mat3::Mat3 ( const Quat q)
inline

Definition at line 318 of file mv.h.

Member Function Documentation

◆ add() [1/2]

void Vclip::Mat3::add ( const Mat3 M,
const Mat3 N 
)
inline

Definition at line 1145 of file mv.h.

◆ add() [2/2]

void Vclip::Mat3::add ( const Mat3 M)
inline

Definition at line 1161 of file mv.h.

◆ det()

Real Vclip::Mat3::det ( ) const
inline

Definition at line 1049 of file mv.h.

◆ diag()

Vect3 Vclip::Mat3::diag ( ) const
inline

Definition at line 357 of file mv.h.

◆ invert() [1/2]

int Vclip::Mat3::invert ( const Mat3 M)

◆ invert() [2/2]

int Vclip::Mat3::invert ( )

◆ invXform() [1/2]

void Vclip::Mat3::invXform ( const Vect3 v,
Vect3 xv 
) const
inline

Definition at line 1256 of file mv.h.

◆ invXform() [2/2]

void Vclip::Mat3::invXform ( Vect3 v) const
inline

Definition at line 1264 of file mv.h.

◆ mult()

void Vclip::Mat3::mult ( const Mat3 M,
const Mat3 N 
)

◆ negate() [1/2]

void Vclip::Mat3::negate ( const Mat3 M)
inline

Definition at line 1113 of file mv.h.

◆ negate() [2/2]

void Vclip::Mat3::negate ( )
inline

Definition at line 1129 of file mv.h.

◆ operator[]() [1/2]

const Vect3& Vclip::Mat3::operator[] ( int  i) const
inline

Definition at line 332 of file mv.h.

◆ operator[]() [2/2]

Vect3& Vclip::Mat3::operator[] ( int  i)
inline

Definition at line 333 of file mv.h.

◆ postmult()

void Vclip::Mat3::postmult ( const Mat3 M)

◆ premult()

void Vclip::Mat3::premult ( const Mat3 M)

◆ print()

ostream& Vclip::Mat3::print ( ostream &  os) const

◆ scale() [1/2]

void Vclip::Mat3::scale ( const Mat3 M,
Real  s 
)
inline

Definition at line 1209 of file mv.h.

◆ scale() [2/2]

void Vclip::Mat3::scale ( Real  s)
inline

Definition at line 1223 of file mv.h.

◆ set() [1/3]

void Vclip::Mat3::set ( const Vect3 diag,
const Vect3 sym 
)
inline

Definition at line 994 of file mv.h.

◆ set() [2/3]

void Vclip::Mat3::set ( const Vect3 axis,
Real  angle,
int  normalizeAxis = 1 
)
inline

Definition at line 1005 of file mv.h.

◆ set() [3/3]

void Vclip::Mat3::set ( const Quat q)

◆ setSkew()

void Vclip::Mat3::setSkew ( const Vect3 v)
inline

Definition at line 1037 of file mv.h.

◆ setXcol()

void Vclip::Mat3::setXcol ( const Vect3 v)
inline

Definition at line 1013 of file mv.h.

◆ setYcol()

void Vclip::Mat3::setYcol ( const Vect3 v)
inline

Definition at line 1021 of file mv.h.

◆ setZcol()

void Vclip::Mat3::setZcol ( const Vect3 v)
inline

Definition at line 1029 of file mv.h.

◆ sub() [1/2]

void Vclip::Mat3::sub ( const Mat3 M,
const Mat3 N 
)
inline

Definition at line 1177 of file mv.h.

◆ sub() [2/2]

void Vclip::Mat3::sub ( const Mat3 M)
inline

Definition at line 1193 of file mv.h.

◆ sym()

Vect3 Vclip::Mat3::sym ( ) const
inline

Definition at line 358 of file mv.h.

◆ symmetrize() [1/2]

void Vclip::Mat3::symmetrize ( const Mat3 M)
inline

Definition at line 1091 of file mv.h.

◆ symmetrize() [2/2]

void Vclip::Mat3::symmetrize ( )
inline

Definition at line 1102 of file mv.h.

◆ xcol()

Vect3 Vclip::Mat3::xcol ( ) const
inline

Definition at line 348 of file mv.h.

◆ xform() [1/2]

void Vclip::Mat3::xform ( const Vect3 v,
Vect3 xv 
) const
inline

Definition at line 1237 of file mv.h.

◆ xform() [2/2]

void Vclip::Mat3::xform ( Vect3 v) const
inline

Definition at line 1245 of file mv.h.

◆ xpose() [1/2]

void Vclip::Mat3::xpose ( const Mat3 M)
inline

Definition at line 1057 of file mv.h.

◆ xpose() [2/2]

void Vclip::Mat3::xpose ( )
inline

Definition at line 1073 of file mv.h.

◆ xrow() [1/2]

const Vect3& Vclip::Mat3::xrow ( ) const
inline

Definition at line 339 of file mv.h.

◆ xrow() [2/2]

Vect3& Vclip::Mat3::xrow ( )
inline

Definition at line 343 of file mv.h.

◆ ycol()

Vect3 Vclip::Mat3::ycol ( ) const
inline

Definition at line 349 of file mv.h.

◆ yrow() [1/2]

const Vect3& Vclip::Mat3::yrow ( ) const
inline

Definition at line 340 of file mv.h.

◆ yrow() [2/2]

Vect3& Vclip::Mat3::yrow ( )
inline

Definition at line 344 of file mv.h.

◆ zcol()

Vect3 Vclip::Mat3::zcol ( ) const
inline

Definition at line 350 of file mv.h.

◆ zrow() [1/2]

const Vect3& Vclip::Mat3::zrow ( ) const
inline

Definition at line 341 of file mv.h.

◆ zrow() [2/2]

Vect3& Vclip::Mat3::zrow ( )
inline

Definition at line 345 of file mv.h.

Friends And Related Function Documentation

◆ MatX

friend class MatX
friend

Definition at line 301 of file mv.h.

◆ Quat

friend class Quat
friend

Definition at line 300 of file mv.h.

Member Data Documentation

◆ ID

const Mat3 Vclip::Mat3::ID
static

Definition at line 412 of file mv.h.

◆ xx

Real Vclip::Mat3::xx
private

Definition at line 306 of file mv.h.

◆ xy

Real Vclip::Mat3::xy
private

Definition at line 306 of file mv.h.

◆ xz

Real Vclip::Mat3::xz
private

Definition at line 306 of file mv.h.

◆ yx

Real Vclip::Mat3::yx
private

Definition at line 306 of file mv.h.

◆ yy

Real Vclip::Mat3::yy
private

Definition at line 306 of file mv.h.

◆ yz

Real Vclip::Mat3::yz
private

Definition at line 306 of file mv.h.

◆ ZERO

const Mat3 Vclip::Mat3::ZERO
static

Definition at line 411 of file mv.h.

◆ zx

Real Vclip::Mat3::zx
private

Definition at line 306 of file mv.h.

◆ zy

Real Vclip::Mat3::zy
private

Definition at line 306 of file mv.h.

◆ zz

Real Vclip::Mat3::zz
private

Definition at line 306 of file mv.h.


The documentation for this class was generated from the following file:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:22