#include <BLI_math_matrix_types.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Inherited by blender::MutableMatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >.
|
| MatT | operator+ (const MatView &a, T b) |
| |
| MatT | operator+ (T a, const MatView &b) |
| |
| MatT | operator- (const MatView &a) |
| |
| template<int OtherSrcNumCol, int OtherSrcNumRow, int OtherSrcStartCol, int OtherSrcStartRow, int OtherSrcAlignment> |
| MatT | operator- (const MatView &a, const MatView< T, NumCol, NumRow, OtherSrcNumCol, OtherSrcNumRow, OtherSrcStartCol, OtherSrcStartRow, OtherSrcAlignment > &b) |
| |
| MatT | operator- (const MatView &a, const MatT &b) |
| |
| template<int OtherSrcNumCol, int OtherSrcNumRow, int OtherSrcStartCol, int OtherSrcStartRow, int OtherSrcAlignment> |
| MatT | operator- (const MatView< T, NumCol, NumRow, OtherSrcNumCol, OtherSrcNumRow, OtherSrcStartCol, OtherSrcStartRow, OtherSrcAlignment > &a, const MatView &b) |
| |
| MatT | operator- (const MatT &a, const MatView &b) |
| |
| MatT | operator- (const MatView &a, T b) |
| |
| MatView | operator- (T a, const MatView &b) |
| |
| MatT | operator* (const MatView &a, T b) |
| |
| MatT | operator* (T a, const MatView &b) |
| |
| col_type | operator* (const MatView &a, const row_type &b) |
| |
| row_type | operator* (const col_type &a, const MatView &b) |
| |
| bool | operator== (const MatView &a, const MatView &b) |
| |
| bool | operator!= (const MatView &a, const MatView &b) |
| |
| std::ostream & | operator<< (std::ostream &stream, const MatView &mat) |
| |
template<typename
T,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
struct blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >
Definition at line 506 of file BLI_math_matrix_types.hh.
◆ col_type
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| using blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::col_type = VecBase<T, NumRow> |
◆ MatT
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| using blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::MatT = MatBase<T, NumCol, NumRow> |
◆ row_type
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| using blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::row_type = VecBase<T, NumCol> |
◆ SrcMatT
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| using blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::SrcMatT = MatBase<T, SrcNumCol, SrcNumRow, SrcAlignment> |
◆ MatView() [1/3]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::MatView |
( |
| ) |
|
|
delete |
◆ MatView() [2/3]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::MatView |
( |
const SrcMatT & | src | ) |
|
|
inline |
◆ MatView() [3/3]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::MatView |
( |
const float(*) | src[SrcNumRow] | ) |
|
|
inlineexplicit |
Allow wrapping C-style matrices using view. IMPORTANT: Alignment of src needs to match.
Definition at line 527 of file BLI_math_matrix_types.hh.
◆ operator MatT()
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::operator MatT |
( |
| ) |
const |
|
inline |
◆ operator*()
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::operator* |
( |
const MatT & | b | ) |
const |
|
inline |
◆ operator[]()
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| const col_type & blender::MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment >::operator[] |
( |
int | index | ) |
const |
|
inline |
◆ operator!=
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| bool operator!= |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator* [1/4]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| row_type operator* |
( |
const col_type & | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator* [2/4]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| col_type operator* |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
const row_type & | b ) |
|
friend |
◆ operator* [3/4]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator* |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
T | b ) |
|
friend |
◆ operator* [4/4]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator* |
( |
T | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator+ [1/2]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator+ |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
T | b ) |
|
friend |
◆ operator+ [2/2]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator+ |
( |
T | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator- [1/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator- |
( |
const MatT & | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator- [2/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator- |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a | ) |
|
|
friend |
◆ operator- [3/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator- |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
const MatT & | b ) |
|
friend |
◆ operator- [4/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
template<
int OtherSrcNumCol,
int OtherSrcNumRow,
int OtherSrcStartCol,
int OtherSrcStartRow,
int OtherSrcAlignment>
| MatT operator- |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
const MatView< T, NumCol, NumRow, OtherSrcNumCol, OtherSrcNumRow, OtherSrcStartCol, OtherSrcStartRow, OtherSrcAlignment > & | b ) |
|
friend |
◆ operator- [5/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatT operator- |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
T | b ) |
|
friend |
◆ operator- [6/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
template<
int OtherSrcNumCol,
int OtherSrcNumRow,
int OtherSrcStartCol,
int OtherSrcStartRow,
int OtherSrcAlignment>
| MatT operator- |
( |
const MatView< T, NumCol, NumRow, OtherSrcNumCol, OtherSrcNumRow, OtherSrcStartCol, OtherSrcStartRow, OtherSrcAlignment > & | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator- [7/7]
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| MatView operator- |
( |
T | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ operator<<
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | mat ) |
|
friend |
◆ operator==
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
| bool operator== |
( |
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | a, |
|
|
const MatView< T, NumCol, NumRow, SrcNumCol, SrcNumRow, SrcStartCol, SrcStartRow, SrcAlignment > & | b ) |
|
friend |
◆ mat
template<typename
T ,
int NumCol,
int NumRow,
int SrcNumCol,
int SrcNumRow,
int SrcStartCol,
int SrcStartRow,
int SrcAlignment>
The documentation for this struct was generated from the following file: