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

#include <rtcSMat6.h>

Inheritance diagram for rtc::SMat6< 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 x16, const T x21, const T x22, const T x23, const T x24, const T x25, const T x26, const T x31, const T x32, const T x33, const T x34, const T x35, const T x36, const T x41, const T x42, const T x43, const T x44, const T x45, const T x46, const T x51, const T x52, const T x53, const T x54, const T x55, const T x56, const T x61, const T x62, const T x63, const T x64, const T x65, const T x66)
void setCols (const Vec6< T > &q0, const Vec6< T > &q1, const Vec6< T > &q2, const Vec6< T > &q3, const Vec6< T > &q4, const Vec6< T > &q5)
void setRows (const Vec6< T > &q0, const Vec6< T > &q1, const Vec6< T > &q2, const Vec6< T > &q3, const Vec6< T > &q4, const Vec6< T > &q5)
 SMat6 ()
 SMat6 (const T *d)
 SMat6 (const T diagVal)
 SMat6 (const Vec6< T > &diagVec)
 SMat6 (const Mat< T, 6, 6 > &m)
 SMat6 (const T x11, const T x12, const T x13, const T x14, const T x15, const T x16, const T x21, const T x22, const T x23, const T x24, const T x25, const T x26, const T x31, const T x32, const T x33, const T x34, const T x35, const T x36, const T x41, const T x42, const T x43, const T x44, const T x45, const T x46, const T x51, const T x52, const T x53, const T x54, const T x55, const T x56, const T x61, const T x62, const T x63, const T x64, const T x65, const T x66)
 SMat6 (const Vec6< T > &q0, const Vec6< T > &q1, const Vec6< T > &q2, const Vec6< T > &q3, const Vec6< T > &q4, const Vec6< T > &q5)
template<class U >
 SMat6 (const Mat< U, 6, 6 > &m)

Static Public Member Functions

static SMat6< T > fromCols (const Vec6< T > &q0, const Vec6< T > &q1, const Vec6< T > &q2, const Vec6< T > &q3, const Vec6< T > &q4, const Vec6< T > &q5)
static SMat6< T > fromRows (const Vec6< T > &q0, const Vec6< T > &q1, const Vec6< T > &q2, const Vec6< T > &q3, const Vec6< T > &q4, const Vec6< T > &q5)

Detailed Description

template<class T>
class rtc::SMat6< T >

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

Definition at line 41 of file rtcSMat6.h.


Constructor & Destructor Documentation

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

Ctor that doesn't initialize anything.

Definition at line 100 of file rtcSMat6.h.

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

Ctor that initializes from an array.

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

Definition at line 106 of file rtcSMat6.h.

template<class T >
rtc::SMat6< T >::SMat6 ( 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 112 of file rtcSMat6.h.

template<class T >
rtc::SMat6< T >::SMat6 ( const Vec6< 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 118 of file rtcSMat6.h.

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

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

Definition at line 123 of file rtcSMat6.h.

template<class T >
rtc::SMat6< T >::SMat6 ( const T  x11,
const T  x12,
const T  x13,
const T  x14,
const T  x15,
const T  x16,
const T  x21,
const T  x22,
const T  x23,
const T  x24,
const T  x25,
const T  x26,
const T  x31,
const T  x32,
const T  x33,
const T  x34,
const T  x35,
const T  x36,
const T  x41,
const T  x42,
const T  x43,
const T  x44,
const T  x45,
const T  x46,
const T  x51,
const T  x52,
const T  x53,
const T  x54,
const T  x55,
const T  x56,
const T  x61,
const T  x62,
const T  x63,
const T  x64,
const T  x65,
const T  x66 
) [inline]

Ctor that initializes matrix entries directly.

Definition at line 128 of file rtcSMat6.h.

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

Ctor that initializes matrix from columns.

Definition at line 145 of file rtcSMat6.h.

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

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

Definition at line 154 of file rtcSMat6.h.


Member Function Documentation

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

Create matrix from columns.

Definition at line 170 of file rtcSMat6.h.

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

Create matrix from rows.

Definition at line 161 of file rtcSMat6.h.

template<class T >
void rtc::SMat6< T >::set ( const T  x11,
const T  x12,
const T  x13,
const T  x14,
const T  x15,
const T  x16,
const T  x21,
const T  x22,
const T  x23,
const T  x24,
const T  x25,
const T  x26,
const T  x31,
const T  x32,
const T  x33,
const T  x34,
const T  x35,
const T  x36,
const T  x41,
const T  x42,
const T  x43,
const T  x44,
const T  x45,
const T  x46,
const T  x51,
const T  x52,
const T  x53,
const T  x54,
const T  x55,
const T  x56,
const T  x61,
const T  x62,
const T  x63,
const T  x64,
const T  x65,
const T  x66 
) [inline]

Set matrix given entries directly.

Definition at line 181 of file rtcSMat6.h.

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

Set matrix from columns.

Definition at line 205 of file rtcSMat6.h.

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

Set matrix from rows.

Definition at line 198 of file rtcSMat6.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54