libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moColorMatrix Class Reference

#include <moTextureFilter.h>

Inheritance diagram for moColorMatrix:
moBrightContMatrix moHueSatIntMatrix

Public Member Functions

 moColorMatrix ()
 
virtual ~moColorMatrix ()
 
virtual void Init ()
 
virtual void Finish ()
 
void Copy (moColorMatrix &p_mat)
 
void Multiply (moColorMatrix &p_mat)
 
void SetZero ()
 
void SetIndentity ()
 
MOfloatGetMatrixPointer ()
 

Protected Member Functions

int MatIdx (int i, int j)
 
void ZeroMatrix ()
 
void IdentityMatrix ()
 
void SetXRotateMatrix (float rs, float rc)
 
void SetYRotateMatrix (float rs, float rc)
 
void SetZRotateMatrix (float rs, float rc)
 
void SetZShearMatrix (float dx, float dy)
 
void XFormPoint (float &tx, float &ty, float &tz)
 
void ApplyChgMatrix ()
 

Protected Attributes

MOfloat m_Matrix [16]
 
MOfloat m_MatrixChg [16]
 
MOfloat m_MatrixTemp [16]
 

Detailed Description

Definition at line 57 of file moTextureFilter.h.

Constructor & Destructor Documentation

moColorMatrix::moColorMatrix ( )
moColorMatrix::~moColorMatrix ( )
virtual

Definition at line 42 of file moTextureFilter.cpp.

Member Function Documentation

void moColorMatrix::ApplyChgMatrix ( )
protected

Definition at line 190 of file moTextureFilter.cpp.

void moColorMatrix::Copy ( moColorMatrix p_mat)

Definition at line 55 of file moTextureFilter.cpp.

void moColorMatrix::Finish ( )
virtual

Reimplemented in moBrightContMatrix, and moHueSatIntMatrix.

Definition at line 51 of file moTextureFilter.cpp.

MOfloat* moColorMatrix::GetMatrixPointer ( )
inline

Definition at line 71 of file moTextureFilter.h.

void moColorMatrix::IdentityMatrix ( )
protected

Definition at line 80 of file moTextureFilter.cpp.

void moColorMatrix::Init ( )
virtual

Definition at line 47 of file moTextureFilter.cpp.

int moColorMatrix::MatIdx ( int  i,
int  j 
)
inlineprotected

Definition at line 77 of file moTextureFilter.h.

void moColorMatrix::Multiply ( moColorMatrix p_mat)

Definition at line 63 of file moTextureFilter.cpp.

void moColorMatrix::SetIndentity ( )
inline

Definition at line 69 of file moTextureFilter.h.

void moColorMatrix::SetXRotateMatrix ( float  rs,
float  rc 
)
protected

Definition at line 87 of file moTextureFilter.cpp.

void moColorMatrix::SetYRotateMatrix ( float  rs,
float  rc 
)
protected

Definition at line 110 of file moTextureFilter.cpp.

void moColorMatrix::SetZero ( )
inline

Definition at line 68 of file moTextureFilter.h.

void moColorMatrix::SetZRotateMatrix ( float  rs,
float  rc 
)
protected

Definition at line 133 of file moTextureFilter.cpp.

void moColorMatrix::SetZShearMatrix ( float  dx,
float  dy 
)
protected

Definition at line 156 of file moTextureFilter.cpp.

void moColorMatrix::XFormPoint ( float &  tx,
float &  ty,
float &  tz 
)
protected

Definition at line 179 of file moTextureFilter.cpp.

void moColorMatrix::ZeroMatrix ( )
protected

Definition at line 73 of file moTextureFilter.cpp.

Member Data Documentation

MOfloat moColorMatrix::m_Matrix[16]
protected

Definition at line 73 of file moTextureFilter.h.

MOfloat moColorMatrix::m_MatrixChg[16]
protected

Definition at line 74 of file moTextureFilter.h.

MOfloat moColorMatrix::m_MatrixTemp[16]
protected

Definition at line 75 of file moTextureFilter.h.


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