HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ev_Matrix Class Reference

#include <EX_Matrix.h>

Public Member Functions

 ev_Matrix (int rows=1, int cols=1)
 
 ev_Matrix (const ev_Matrix &src)
 
 ~ev_Matrix ()
 
ev_Matrixoperator= (const ev_Matrix &src)=delete
 
int getRows () const
 
int getCols () const
 
fpreal getValue (int r, int c) const
 
fpreal fastGet (int r, int c) const
 
void setValue (int r, int c, fpreal val)
 
void copy (const ev_Matrix &src)
 
void add (const ev_Matrix &src)
 
void sub (const ev_Matrix &src)
 
void times (fpreal scalar)
 
void times (const ev_Matrix &src)
 
int castFrom (const char *str)
 
int castFrom (fpreal val)
 
int castFrom (const ev_Vector &from)
 
int castTo (ev_Vector &to) const
 
int castToFloat (fpreal &rval) const
 
char * castToString () const
 
void getMatrix3 (UT_Matrix3R &v, int overwrite=1) const
 
void getMatrix4 (UT_Matrix4R &v, int overwrite=1) const
 
void setMatrix3 (const UT_Matrix3R &v)
 
void setMatrix4 (const UT_Matrix4R &v)
 
void identity (int size)
 
int scan (const char *str)
 
fpreal operator() (int r, int c) const
 
void grow (int rows, int cols)
 
void setRows (int rows)
 
void setCols (int cols)
 

Detailed Description

Definition at line 24 of file EX_Matrix.h.

Constructor & Destructor Documentation

ev_Matrix::ev_Matrix ( int  rows = 1,
int  cols = 1 
)
ev_Matrix::ev_Matrix ( const ev_Matrix src)
ev_Matrix::~ev_Matrix ( )

Member Function Documentation

void ev_Matrix::add ( const ev_Matrix src)
int ev_Matrix::castFrom ( const char *  str)
int ev_Matrix::castFrom ( fpreal  val)
int ev_Matrix::castFrom ( const ev_Vector from)
int ev_Matrix::castTo ( ev_Vector to) const
int ev_Matrix::castToFloat ( fpreal rval) const
char* ev_Matrix::castToString ( ) const
void ev_Matrix::copy ( const ev_Matrix src)
fpreal ev_Matrix::fastGet ( int  r,
int  c 
) const
inline

Definition at line 36 of file EX_Matrix.h.

int ev_Matrix::getCols ( ) const
inline

Definition at line 34 of file EX_Matrix.h.

void ev_Matrix::getMatrix3 ( UT_Matrix3R v,
int  overwrite = 1 
) const
void ev_Matrix::getMatrix4 ( UT_Matrix4R v,
int  overwrite = 1 
) const
int ev_Matrix::getRows ( ) const
inline

Definition at line 33 of file EX_Matrix.h.

fpreal ev_Matrix::getValue ( int  r,
int  c 
) const
void ev_Matrix::grow ( int  rows,
int  cols 
)
inline

Definition at line 63 of file EX_Matrix.h.

void ev_Matrix::identity ( int  size)
fpreal ev_Matrix::operator() ( int  r,
int  c 
) const
inline

Definition at line 62 of file EX_Matrix.h.

ev_Matrix& ev_Matrix::operator= ( const ev_Matrix src)
delete
int ev_Matrix::scan ( const char *  str)
void ev_Matrix::setCols ( int  cols)
void ev_Matrix::setMatrix3 ( const UT_Matrix3R v)
void ev_Matrix::setMatrix4 ( const UT_Matrix4R v)
void ev_Matrix::setRows ( int  rows)
void ev_Matrix::setValue ( int  r,
int  c,
fpreal  val 
)
void ev_Matrix::sub ( const ev_Matrix src)
void ev_Matrix::times ( fpreal  scalar)
void ev_Matrix::times ( const ev_Matrix src)

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