libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Amigas 'defines' Grupos Páginas
moTextFilterParam.h
Ir a la documentación de este archivo.
1 #ifndef _TEXTFILTERPARAM_H
2 #define _TEXTFILTERPARAM_H
3 
4 #include "moTypes.h"
5 
6 
13 {
14 public:
19  {
20  par_flt1 = par_flt2 = par_flt3 = 0.0;
21  for(int i=0; i<4; i++) par_mat2[i]=0.0;
22  for(int i=0; i<9; i++) par_mat3[i]=0.0;
23  for(int i=0; i<16; i++) par_mat4[i]=0.0;
24 
27  }
28 
33  {
34  }
35 
37  (*this) = p_src;
38  }
39 
41  m_par_flt1 = p_src.m_par_flt1;
42  m_par_flt2 = p_src.m_par_flt2;
43  m_par_flt3 = p_src.m_par_flt3;
44  m_par_mat2 = p_src.m_par_mat2;
45  m_par_mat3 = p_src.m_par_mat3;
46  m_par_mat4 = p_src.m_par_mat4;
47 
48  par_flt1 = p_src.par_flt1;
49  par_flt2 = p_src.par_flt2;
50  par_flt3 = p_src.par_flt3;
51  for(int i=0; i<4; i++) par_mat2[i] = p_src.par_mat2[i];
52  for(int i=0; i<9; i++) par_mat3[i] = p_src.par_mat3[i];
53  for(int i=0; i<16; i++) par_mat4[i] = p_src.par_mat4[i];
54 
55  return (*this);
56  }
57 
63  void getParamIDs(void* p_shader);
67  void setParamValues();
68 
74  {
75  if (p_params != NULL)
76  {
77  p_params->m_par_flt1 = m_par_flt1;
78  p_params->m_par_flt2 = m_par_flt2;
79  p_params->m_par_flt3 = m_par_flt3;
80  p_params->m_par_mat2 = m_par_mat2;
81  p_params->m_par_mat3 = m_par_mat3;
82  p_params->m_par_mat4 = m_par_mat4;
83 
84 
85  }
86  }
87 
91 
95 
98 };
99 
100 #endif
101 
const moTextFilterParam & operator=(const moTextFilterParam &p_src)
#define MOfloat
Definition: moTypes.h:403
moTypes MOint moText moParamIndex moParamReference int iRow int int i int i
Definition: all_f.js:18
void CopyDefParamIDs(moTextFilterParam *p_params)
void getParamIDs(void *p_shader)
moTextFilterParam(const moTextFilterParam &p_src)
virtual ~moTextFilterParam()