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
moEffectState.h
Ir a la documentación de este archivo.
1 /*******************************************************************************
2 
3  moEffectState.h
4 
5  ****************************************************************************
6  * *
7  * This source is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This code is distributed in the hope that it will be useful, but *
13  * WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15  * General Public License for more details. *
16  * *
17  * A copy of the GNU General Public License is available on the World *
18  * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
19  * obtain it by writing to the Free Software Foundation, *
20  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21  * *
22  ****************************************************************************
23 
24  Copyright(C) 2006 Fabricio Costa
25 
26  Authors:
27  Fabricio Costa
28 
29 *******************************************************************************/
30 
31 #ifndef __MO_EFFECT_STATE_H__
32 #define __MO_EFFECT_STATE_H__
33 
34 #include "moTypes.h"
35 #include "moAbstract.h"
36 #include "moTempo.h"
37 #include "moMoldeoObject.h"
38 
45 {
46 
47  public:
48  moEffectState();
49  moEffectState(const moEffectState& src);
50  virtual ~moEffectState();
51 
53 
54  MOboolean Init();
56 
62 
70 
77  MOswitch synchronized;
78 
86 
89 
96 
102  MOfloat tint; //brillo 0..1
103 
109  MOfloat tintr; //rojo 0..1
110 
116  MOfloat tintg; //verde 0..1
117 
123  MOfloat tintb; //azul 0..1
124 
131 
138 
145 
153 
156  int Set( const moText& p_XmlText );
157  void SetColorRGB( MOfloat r, MOfloat g, MOfloat b);
158  void SetColorCSV( MOfloat c, MOfloat s, MOfloat t);
159  void CSV2RGB();
160 
161  virtual const moText& ToJSON();
162  virtual const moText& ToXML();
163 };
164 
165 #endif
166 
var b
Definition: jquery.js:16
moStereoSides
Modo estereoscópico.
Definition: moTypes.h:484
Tempo, beat, ritmo.
Definition: moTempo.h:44
g[c]
Definition: jquery.js:71
MOswitch stereo
var c
Definition: jquery.js:29
#define MOboolean
Definition: moTypes.h:385
moStereoSides stereoside
MOswitch enabled
Definition: moEffectState.h:85
virtual MOboolean Init()
Inicializa el objeto.
Definition: moAbstract.cpp:141
#define MOswitch
Definition: moTypes.h:386
#define LIBMOLDEO_API
Definition: moTypes.h:180
#define MOfloat
Definition: moTypes.h:403
clase de para manejar textos
Definition: moText.h:75
const moText & ToJSON()
MOswitch fulldebug
saturación
MOfloat amplitude
Definition: moEffectState.h:88
MOfloat magnitude
Definition: moEffectState.h:87
moMobState & operator=(const moMobState &src)