Public Member Functions | Static Public Member Functions
rtc::SMat5< T > Class Template Reference

#include <rtcSMat5.h>

Inheritance diagram for rtc::SMat5< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void set (const T x11, const T x12, const T x13, const T x14, const T x15, const T x21, const T x22, const T x23, const T x24, const T x25, const T x31, const T x32, const T x33, const T x34, const T x35, const T x41, const T x42, const T x43, const T x44, const T x45, const T x51, const T x52, const T x53, const T x54, const T x55)
void setCols (const Vec5< T > &q0, const Vec5< T > &q1, const Vec5< T > &q2, const Vec5< T > &q3, const Vec5< T > &q4)
void setRows (const Vec5< T > &q0, const Vec5< T > &q1, const Vec5< T > &q2, const Vec5< T > &q3, const Vec5< T > &q4)
 SMat5 ()
 SMat5 (const T *d)
 SMat5 (const T diagVal)
 SMat5 (const Vec5< T > &diagVec)
 SMat5 (const Mat< T, 5, 5 > &m)
 SMat5 (const T x11, const T x12, const T x13, const T x14, const T x15, const T x21, const T x22, const T x23, const T x24, const T x25, const T x31, const T x32, const T x33, const T x34, const T x35, const T x41, const T x42, const T x43, const T x44, const T x45, const T x51, const T x52, const T x53, const T x54, const T x55)
 SMat5 (const Vec5< T > &q0, const Vec5< T > &q1, const Vec5< T > &q2, const Vec5< T > &q3, const Vec5< T > &q4)
template<class U >
 SMat5 (const Mat< U, 5, 5 > &m)

Static Public Member Functions

static SMat5< T > fromCols (const Vec5< T > &q0, const Vec5< T > &q1, const Vec5< T > &q2, const Vec5< T > &q3, const Vec5< T > &q4)
static SMat5< T > fromRows (const Vec5< T > &q0, const Vec5< T > &q1, const Vec5< T > &q2, const Vec5< T > &q3, const Vec5< T > &q4)

Detailed Description

template<class T>
class rtc::SMat5< T >

A 4x4 matrix. A specialization of a square matrix.

Definition at line 40 of file rtcSMat5.h.


Constructor & Destructor Documentation

template<class T >
rtc::SMat5< T >::SMat5 ( ) [inline]

Ctor that doesn't initialize anything.

Definition at line 97 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const T *  d) [inline]

Ctor that initializes from an array.

Parameters:
dthe (row major) data array of length 4

Definition at line 103 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const T  diagVal) [inline]

Ctor that makes a multiple of the identity matrix.

Parameters:
diagValthe value to which all diagonal entries will be set

Definition at line 109 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const Vec5< T > &  diagVec) [inline]

Ctor that makes a (mostly) zero matrix with diagonal entries from vec.

Parameters:
diagVecthe vector of values that should appear on the diagonal

Definition at line 115 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const Mat< T, 5, 5 > &  m) [inline]

Ctor that initializes from a Mat<T,5,5>.

Definition at line 120 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const T  x11,
const T  x12,
const T  x13,
const T  x14,
const T  x15,
const T  x21,
const T  x22,
const T  x23,
const T  x24,
const T  x25,
const T  x31,
const T  x32,
const T  x33,
const T  x34,
const T  x35,
const T  x41,
const T  x42,
const T  x43,
const T  x44,
const T  x45,
const T  x51,
const T  x52,
const T  x53,
const T  x54,
const T  x55 
) [inline]

Ctor that initializes matrix entries directly.

Definition at line 125 of file rtcSMat5.h.

template<class T >
rtc::SMat5< T >::SMat5 ( const Vec5< T > &  q0,
const Vec5< T > &  q1,
const Vec5< T > &  q2,
const Vec5< T > &  q3,
const Vec5< T > &  q4 
) [inline]

Ctor that initializes matrix from columns.

Definition at line 140 of file rtcSMat5.h.

template<class T >
template<class U >
rtc::SMat5< T >::SMat5 ( const Mat< U, 5, 5 > &  m) [inline]

Casting Ctor that initializes from a Mat<U,5,5>

Definition at line 149 of file rtcSMat5.h.


Member Function Documentation

template<class T >
SMat5< T > rtc::SMat5< T >::fromCols ( const Vec5< T > &  q0,
const Vec5< T > &  q1,
const Vec5< T > &  q2,
const Vec5< T > &  q3,
const Vec5< T > &  q4 
) [inline, static]

Create matrix from columns.

Definition at line 165 of file rtcSMat5.h.

template<class T >
SMat5< T > rtc::SMat5< T >::fromRows ( const Vec5< T > &  q0,
const Vec5< T > &  q1,
const Vec5< T > &  q2,
const Vec5< T > &  q3,
const Vec5< T > &  q4 
) [inline, static]

Create matrix from rows.

Definition at line 156 of file rtcSMat5.h.

template<class T >
void rtc::SMat5< T >::set ( const T  x11,
const T  x12,
const T  x13,
const T  x14,
const T  x15,
const T  x21,
const T  x22,
const T  x23,
const T  x24,
const T  x25,
const T  x31,
const T  x32,
const T  x33,
const T  x34,
const T  x35,
const T  x41,
const T  x42,
const T  x43,
const T  x44,
const T  x45,
const T  x51,
const T  x52,
const T  x53,
const T  x54,
const T  x55 
) [inline]

Set matrix given entries directly.

Definition at line 176 of file rtcSMat5.h.

template<class T >
void rtc::SMat5< T >::setCols ( const Vec5< T > &  q0,
const Vec5< T > &  q1,
const Vec5< T > &  q2,
const Vec5< T > &  q3,
const Vec5< T > &  q4 
) [inline]

Set matrix from columns.

Definition at line 198 of file rtcSMat5.h.

template<class T >
void rtc::SMat5< T >::setRows ( const Vec5< T > &  q0,
const Vec5< T > &  q1,
const Vec5< T > &  q2,
const Vec5< T > &  q3,
const Vec5< T > &  q4 
) [inline]

Set matrix from rows.

Definition at line 191 of file rtcSMat5.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:07:35