Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
CMatrix< T, W, H > Class Template Reference

#include <edl/edlmath.h>

Public Member Functions

 CMatrix (T *values)
 CMatrix ()
T * getValues ()
 Get all the values in the Matrix as a flat array.
std::vector< T > getValuesVect ()
void setValues (T *values)
 Set all the values as a flat array.
bool getValue (int x, int y, T &value)
bool setValue (int x, int y, const T &value)

Constructor & Destructor Documentation

◆ CMatrix() [1/2]

template<class T, int W, int H>
CMatrix< T, W, H >::CMatrix ( T * values)
inline

Parameter is an array of WxH values of Type T. Order is across first, then down

◆ CMatrix() [2/2]

template<class T, int W, int H>
CMatrix< T, W, H >::CMatrix ( )
inline

Member Function Documentation

◆ getValue()

template<class T, int W, int H>
bool CMatrix< T, W, H >::getValue ( int x,
int y,
T & value )
inline

◆ getValues()

template<class T, int W, int H>
T * CMatrix< T, W, H >::getValues ( )
inline

Get all the values in the Matrix as a flat array.

◆ getValuesVect()

template<class T, int W, int H>
std::vector< T > CMatrix< T, W, H >::getValuesVect ( )
inline

◆ setValue()

template<class T, int W, int H>
bool CMatrix< T, W, H >::setValue ( int x,
int y,
const T & value )
inline

◆ setValues()

template<class T, int W, int H>
void CMatrix< T, W, H >::setValues ( T * values)
inline

Set all the values as a flat array.


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