Blender  V3.3
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Freestyle::VecMat::SquareMatrix< T, N > Class Template Reference

#include <VecMat.h>

Inheritance diagram for Freestyle::VecMat::SquareMatrix< T, N >:
Freestyle::VecMat::Matrix< T, N, N >

Public Types

typedef T value_type
 
- Public Types inherited from Freestyle::VecMat::Matrix< T, N, N >
typedef T value_type
 

Public Member Functions

 SquareMatrix ()
 
template<class U >
 SquareMatrix (const U tab[_SIZE])
 
template<class U >
 SquareMatrix (const std::vector< U > &tab)
 
template<class U >
 SquareMatrix (const Matrix< U, N, N > &m)
 
- Public Member Functions inherited from Freestyle::VecMat::Matrix< T, N, N >
 Matrix ()
 
 Matrix (const U tab[_SIZE])
 
 Matrix (const std::vector< U > &tab)
 
 Matrix (const Matrix< U, M, N > &m)
 
 ~Matrix ()
 
value_type operator() (const unsigned i, const unsigned j) const
 
value_typeoperator() (const unsigned i, const unsigned j)
 
Matrix< T, M, N > & transpose () const
 
Matrix< T, M, N > & operator= (const Matrix< U, M, N > &m)
 
Matrix< T, M, N > & operator+= (const Matrix< U, M, N > &m)
 
Matrix< T, M, N > & operator-= (const Matrix< U, M, N > &m)
 
Matrix< T, M, N > & operator*= (const U lambda)
 
Matrix< T, M, N > & operator/= (const U lambda)
 

Static Public Member Functions

static SquareMatrix< T, Nidentity ()
 
- Static Public Member Functions inherited from Freestyle::VecMat::Matrix< T, N, N >
static unsigned rows ()
 
static unsigned cols ()
 

Additional Inherited Members

- Protected Attributes inherited from Freestyle::VecMat::Matrix< T, N, N >
value_type _coord [_SIZE]
 

Detailed Description

template<class T, unsigned N>
class Freestyle::VecMat::SquareMatrix< T, N >

Definition at line 782 of file VecMat.h.

Member Typedef Documentation

◆ value_type

template<class T , unsigned N>
typedef T Freestyle::VecMat::SquareMatrix< T, N >::value_type

Definition at line 784 of file VecMat.h.

Constructor & Destructor Documentation

◆ SquareMatrix() [1/4]

template<class T , unsigned N>
Freestyle::VecMat::SquareMatrix< T, N >::SquareMatrix ( )
inline

Definition at line 786 of file VecMat.h.

◆ SquareMatrix() [2/4]

template<class T , unsigned N>
template<class U >
Freestyle::VecMat::SquareMatrix< T, N >::SquareMatrix ( const U  tab[_SIZE])
inlineexplicit

Definition at line 790 of file VecMat.h.

◆ SquareMatrix() [3/4]

template<class T , unsigned N>
template<class U >
Freestyle::VecMat::SquareMatrix< T, N >::SquareMatrix ( const std::vector< U > &  tab)
inlineexplicit

Definition at line 794 of file VecMat.h.

◆ SquareMatrix() [4/4]

template<class T , unsigned N>
template<class U >
Freestyle::VecMat::SquareMatrix< T, N >::SquareMatrix ( const Matrix< U, N, N > &  m)
inline

Definition at line 798 of file VecMat.h.

Member Function Documentation

◆ identity()

template<class T , unsigned N>
static SquareMatrix<T, N> Freestyle::VecMat::SquareMatrix< T, N >::identity ( )
inlinestatic

Definition at line 802 of file VecMat.h.

References N.

Referenced by Freestyle::NodeTransform::Rotate().


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