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.
|
clase base para definir Pre-Efectos. More...
#include <moPreEffect.h>
Public Member Functions | |
moPreEffect () | |
virtual | ~moPreEffect () |
virtual MOboolean | Init ()=0 |
virtual void | Draw (moTempo *, moEffectState *=NULL)=0 |
virtual MOboolean | Finish ()=0 |
Public Member Functions inherited from moEffect | |
moEffect () | |
virtual | ~moEffect () |
virtual MOboolean | PreInit () |
virtual void | PreDraw (moTempo *, moEffectState *parentstate=NULL) |
virtual void | BeginDraw (moTempo *, moEffectState *parentstate=NULL) |
virtual void | EndDraw () |
virtual MOboolean | PreFinish () |
virtual void | Interaction (moIODeviceManager *) |
virtual void | LoadCodes (moIODeviceManager *) |
virtual moConfigDefinition * | GetDefinition (moConfigDefinition *p_configdefinition=NULL) |
virtual const moEffectState & | GetEffectState () |
virtual bool | SetEffectState (const moEffectState &p_state) |
virtual const moMobState & | GetState () |
virtual bool | SetState (const moMobState &p_MobState) |
void | SetColor (const moColorRGBA &color_rgba, double alpha, moEffectState &pstate) |
void | SetColor (moValue &color, moValue &alpha, moEffectState &pstate) |
void | SetColor (moParam &color, moParam &alpha, moEffectState &pstate) |
void | SetBlending (moBlendingModes blending) |
void | SetPolygonMode (moPolygonModes polygonmode) |
virtual void | TurnOn () |
virtual void | TurnOff () |
virtual void | Enable () |
virtual void | Disable () |
virtual void | SwitchOn () |
virtual void | SwitchEnabled () |
virtual void | Synchronize () |
virtual void | Unsynchronize () |
virtual bool | Synchronized () |
virtual void | BeatPulse () |
virtual double | TempoDelta (double p_delta) |
virtual double | GetTempoDelta () const |
double | SetTempoDelta (double p_delta) |
virtual double | TempoFactor (double p_factor) |
virtual double | GetTempoFactor () const |
virtual double | Alpha (double alpha) |
virtual double | GetAlpha () const |
virtual double | Amplitude (double amplitude) |
virtual double | GetAmplitude () const |
virtual double | Magnitude (double magnitude) |
virtual double | GetMagnitude () const |
virtual void | TintCSV (double tintc, double tints, double tint) |
virtual moVector3f | GetTintCSV () const |
virtual moVector3f | GetTintRGB () const |
virtual void | Play () |
virtual void | Stop () |
virtual void | Pause () |
virtual void | Continue () |
virtual moTimerState | State () |
virtual const moText & | ToJSON () |
Public Member Functions inherited from moMoldeoObject | |
moMoldeoObject () | |
moMoldeoObject (moMoldeoObjectType p_type) | |
virtual | ~moMoldeoObject () |
virtual MOboolean | Init (moResourceManager *p_pResources) |
virtual MOboolean | CreateConnectors () |
virtual MOboolean | UpdateConnectors () |
virtual MOboolean | RefreshValue (moParam ¶m, int value_index) |
virtual MOboolean | ResolveValue (moParam ¶m, int value_index, bool p_refresh=false) |
virtual void | Update (moEventList *p_EventList) |
void | SetResourceManager (moResourceManager *p_pResourceManager) |
moResourceManager * | GetResourceManager () |
MOint | GetId () const |
void | SetId (MOint p_id) |
moMoldeoObjectType | GetType () const |
void | SetType (moMoldeoObjectType p_type) |
void | SetName (const moText &p_name) |
void | SetLabelName (const moText &p_labelname) |
void | SetKeyName (const moText &p_keyname) |
const moText & | GetKeyName () const |
const moText & | GetName () const |
const moText & | GetLabelName () const |
moConfig * | GetConfig () |
void | SyncConnections () |
virtual int | Save (const moText &p_save_filename=moText("")) |
void | SetConfigName (const moText &p_configname) |
const moText & | GetConfigName () const |
const moText & | GetDescription () const |
Devuelve al descripción del objeto. More... | |
void | SetDescription (const moText &p_Description) |
Fija la descripción de este objeto. More... | |
const moMobDefinition & | GetMobDefinition () const |
void | SetMobDefinition (const moMobDefinition &p_MobDef) |
moOutlets * | GetOutlets () |
moInlets * | GetInlets () |
MOint | GetInletIndex (moText p_connector_name) const |
MOint | GetOutletIndex (moText p_connector_name) const |
virtual void | HandleReturns (moLuaVirtualMachine &vm, const char *strFunc) |
virtual const moMobState & | GetState () const |
virtual void | Activate () |
virtual void | Deactivate () |
virtual bool | Activated () const |
virtual void | Select () |
virtual void | Unselect () |
virtual bool | Selected () const |
virtual void | SetConsoleParamIndex (MOint p_paramindex) |
virtual void | SetConsoleValueIndex (MOint p_valueindex) |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Public Member Functions inherited from moScript | |
moScript () | |
virtual | ~moScript (void) |
void | InitScript () |
void | FinishScript () |
bool | IsInitialized () |
bool | CompileFile (const char *strFilename) |
bool | CompileBuffer (unsigned char *pbBuffer, size_t szLen) |
int | RegisterFunction (const char *strFuncName, moScript::Function &fun) |
int | RegisterFunction (const char *strFuncName) |
int | RegisterBaseFunction (const char *strFuncName) |
bool | SelectScriptFunction (const char *strFuncName) |
void | AddFunctionParam (int iInt) |
void | AddFunctionParam (float fFloat) |
void | AddFunctionParam (char *string) |
bool | RunSelectedFunction (int nReturns=0) |
bool | ScriptHasFunction (const char *strScriptName) |
int | methods (void) |
virtual int | ResetScriptCalling () |
virtual int | NextScriptCalling () |
moLuaVirtualMachine & | mvm (void) |
Public Attributes | |
GLuint | ScreenAll |
Public Attributes inherited from moEffect | |
moPresets | presets |
moMotion | mov |
moDeviceCodeList * | devicecode |
MOint | ncodes |
MOint | isyncro |
MOint | iphase |
MOint | keyidx |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Public Attributes inherited from moScript | |
Function | Functions [255] |
clase base para definir Pre-Efectos.
clase base para definir Pre-Efectos. los efectos son los objetos basicos y define cada uno una capa que será dibujada en función del orden en el que ha sido cargado en la consola de efectos los pre-efectos se cargan generalmente en la capa más baja, la primera a ser dibujada un pre-efecto es por ejemplo el del borrado de la pantalla, así como aquellos efectos de procesamiento sobre el fotograma anterior al actual Es importante implementar las funciones de Init, Draw, Update e Interaction que son necesarias para las operaciones de Inicialización, Dibujado, Actualización e Interacción.
Definition at line 59 of file moPreEffect.h.
moPreEffect::moPreEffect | ( | ) |
|
virtual |
Definition at line 41 of file moPreEffect.cpp.
|
pure virtual |
Función de dibujado del efecto
Implements moEffect.
|
pure virtual |
Finalizador genérico derivado de moAbstract. Es importante que esta función libere los recursos que han sido creados en la función Init().
Implements moEffect.
|
pure virtual |
GLuint moPreEffect::ScreenAll |
Definition at line 62 of file moPreEffect.h.