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
moData Class Reference

#include <moValue.h>

Inheritance diagram for moData:
moValueBase

Public Member Functions

 moData ()
 
 moData (MOchar data)
 
 moData (MOint data)
 
 moData (MOlonglong data)
 
 moData (MOdouble data)
 
 moData (MOfloat data)
 
 moData (MOpointer data, MOulong size, moDataType type)
 
 moData (moText data)
 
 moData (moDataType datatype)
 
virtual ~moData ()
 
moDataoperator= (const moData &data)
 
void Copy (const moData &data)
 
bool IsValid () const
 
void SetFloat (MOfloat pfloat)
 
void SetDouble (MOdouble pdouble)
 
void SetInt (MOint pint)
 
void SetLong (MOlonglong plong)
 
void SetChar (MOchar pchar)
 
void SetPointer (MOpointer data, MOulong size)
 
void SetText (moText ptext)
 
void SetNumber (moNumber p_number)
 
void SetType (moDataType p_DataType)
 
void SetSize (MOulong p_DataSize)
 
void SetFun (const moText &p_functionExpression)
 
moText Text ()
 
MOint Int () const
 
MOlonglong Long () const
 
MOfloat Float () const
 
MOdouble Double () const
 
MOchar Char () const
 
moNumber Number ()
 
MOpointer Pointer ()
 
moDataType Type () const
 
MOulong Size () const
 
MOdouble Eval ()
 
MOdouble Eval (double x)
 
MOdouble LastEval () const
 
moMathFunctionFun ()
 referencias a clases More...
 
moFontFont ()
 
moTextureBufferTextureBuffer ()
 
moSceneNodeModel ()
 
moVector2dVector2d ()
 
moVector2iVector2i ()
 
moVector3dVector3d ()
 
moVector3iVector3i ()
 
moVector4dVector4d ()
 
moVector4iVector4i ()
 
moDataMessageMessage ()
 
moDataMessages * Messages ()
 
moSoundSound ()
 
moTextureTexture ()
 
moTextureTextureDestination ()
 if MO_DATA_IMAGESAMPLE source = destination More...
 
moDataGetData ()
 
moText ToText () const
 
moText TypeToText ()
 
moDataType TextToType (moText texttype)
 
GLint GetGLId (MOfloat p_cycle, MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (moTempo *p_tempo, MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (MOuint p_i, MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (moMoldeoObject *p_mob, MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (moMoldeoObject *p_mob, moTempo *p_tempo, MOfloat p_fade, const moTextFilterParam &p_filterparam)
 
GLint GetGLId (MOfloat p_cycle)
 
GLint GetGLId (moTempo *p_tempo)
 
GLint GetGLId (MOuint p_i)
 
GLint GetGLId ()
 
GLint GetGLId (moMoldeoObject *p_mob)
 
GLint GetGLId (moMoldeoObject *p_mob, moTempo *p_tempo)
 
void SetFun (moMathFunction *p_Function)
 Fija el dato a una textura. More...
 
void SetTexture (moTexture *p_Texture)
 
void SetTextureBuffer (moTextureBuffer *p_TextureBuffer)
 
void SetVideoBuffer (moVideoBuffer *p_VideoBuffer)
 
void SetTextureFilter (moTextureFilter *p_TextureFilter)
 
void SetTextureFilterAlpha (moData *p_alpha)
 
void SetTextureFilterParam (const moTextFilterParam &p_filterparam)
 
void SetFont (moFont *p_Font)
 
void SetModel (moSceneNode *p_Model)
 
void SetSound (moSound *p_Sound)
 
void SetVector (moVector2d *p_vector2d)
 
void SetVector (moVector3d *p_vector3d)
 
void SetVector (moVector4d *p_vector4d)
 
void SetVector (moVector2i *p_vector2i)
 
void SetVector (moVector3i *p_vector3i)
 
void SetVector (moVector4i *p_vector4i)
 
void SetMessage (moDataMessage *p_datamessage)
 
void SetMessages (moDataMessages *p_datamessages)
 

Static Public Member Functions

static moText TypeToText (moDataType p_data_type)
 

Protected Attributes

moDataType m_DataType
 
moNumber m_Number
 
moText m_Text
 
MOulong m_DataSize
 
bool m_bFilteredAlpha
 
bool m_bFilteredParams
 
MOfloat m_AlphaFilter
 
moTextFilterParam m_pFilterParam
 
moDatam_pAlphaFilter
 
MOdouble m_LastEval
 

Detailed Description

Definition at line 155 of file moValue.h.

Constructor & Destructor Documentation

moData::moData ( )
moData::moData ( MOchar  data)

Definition at line 64 of file moValue.cpp.

moData::moData ( MOint  data)

Definition at line 71 of file moValue.cpp.

moData::moData ( MOlonglong  data)

Definition at line 78 of file moValue.cpp.

moData::moData ( MOdouble  data)

Definition at line 85 of file moValue.cpp.

moData::moData ( MOfloat  data)

Definition at line 92 of file moValue.cpp.

moData::moData ( MOpointer  data,
MOulong  size,
moDataType  type 
)

Definition at line 106 of file moValue.cpp.

moData::moData ( moText  data)

Definition at line 113 of file moValue.cpp.

moData::moData ( moDataType  datatype)

Definition at line 121 of file moValue.cpp.

moData::~moData ( )
virtual

Definition at line 126 of file moValue.cpp.

Member Function Documentation

MOchar moData::Char ( ) const

Definition at line 883 of file moValue.cpp.

void moData::Copy ( const moData data)

Definition at line 146 of file moValue.cpp.

MOdouble moData::Double ( ) const

Definition at line 859 of file moValue.cpp.

MOdouble moData::Eval ( )

Definition at line 424 of file moValue.cpp.

MOdouble moData::Eval ( double  x)

Definition at line 436 of file moValue.cpp.

MOfloat moData::Float ( ) const

Definition at line 835 of file moValue.cpp.

moFont * moData::Font ( )

Definition at line 474 of file moValue.cpp.

moMathFunction * moData::Fun ( )

referencias a clases

Definition at line 417 of file moValue.cpp.

moData * moData::GetData ( )

Definition at line 945 of file moValue.cpp.

GLint moData::GetGLId ( MOfloat  p_cycle,
MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 956 of file moValue.cpp.

GLint moData::GetGLId ( moTempo p_tempo,
MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 1000 of file moValue.cpp.

GLint moData::GetGLId ( MOuint  p_i,
MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 1046 of file moValue.cpp.

GLint moData::GetGLId ( MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 1093 of file moValue.cpp.

GLint moData::GetGLId ( moMoldeoObject p_mob,
MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 1138 of file moValue.cpp.

GLint moData::GetGLId ( moMoldeoObject p_mob,
moTempo p_tempo,
MOfloat  p_fade,
const moTextFilterParam p_filterparam 
)

Definition at line 1144 of file moValue.cpp.

GLint moData::GetGLId ( MOfloat  p_cycle)

Definition at line 950 of file moValue.cpp.

GLint moData::GetGLId ( moTempo p_tempo)

Definition at line 994 of file moValue.cpp.

GLint moData::GetGLId ( MOuint  p_i)

Definition at line 1040 of file moValue.cpp.

GLint moData::GetGLId ( )

Definition at line 1087 of file moValue.cpp.

GLint moData::GetGLId ( moMoldeoObject p_mob)

Definition at line 1126 of file moValue.cpp.

GLint moData::GetGLId ( moMoldeoObject p_mob,
moTempo p_tempo 
)

Definition at line 1131 of file moValue.cpp.

MOint moData::Int ( ) const

Definition at line 773 of file moValue.cpp.

bool moData::IsValid ( ) const

Definition at line 152 of file moValue.cpp.

MOdouble moData::LastEval ( ) const

Definition at line 449 of file moValue.cpp.

MOlonglong moData::Long ( ) const

Definition at line 804 of file moValue.cpp.

moDataMessage * moData::Message ( )

Definition at line 407 of file moValue.cpp.

moDataMessages * moData::Messages ( )

Definition at line 412 of file moValue.cpp.

moSceneNode * moData::Model ( )

Definition at line 487 of file moValue.cpp.

moNumber moData::Number ( )

Definition at line 914 of file moValue.cpp.

moData & moData::operator= ( const moData data)

Definition at line 130 of file moValue.cpp.

MOpointer moData::Pointer ( )

Definition at line 919 of file moValue.cpp.

void moData::SetChar ( MOchar  pchar)

Definition at line 196 of file moValue.cpp.

void moData::SetDouble ( MOdouble  pdouble)

Definition at line 172 of file moValue.cpp.

void moData::SetFloat ( MOfloat  pfloat)

Definition at line 164 of file moValue.cpp.

void moData::SetFont ( moFont p_Font)

Definition at line 269 of file moValue.cpp.

void moData::SetFun ( const moText p_functionExpression)

Definition at line 228 of file moValue.cpp.

void moData::SetFun ( moMathFunction p_Function)

Fija el dato a una textura.

Estas funciones asignan la referencia al objeto definido por el valor, a través del puntero a su objeto

Definition at line 235 of file moValue.cpp.

void moData::SetInt ( MOint  pint)

Definition at line 180 of file moValue.cpp.

void moData::SetLong ( MOlonglong  plong)

Definition at line 188 of file moValue.cpp.

void moData::SetMessage ( moDataMessage p_datamessage)

Definition at line 354 of file moValue.cpp.

void moData::SetMessages ( moDataMessages *  p_datamessages)

Definition at line 361 of file moValue.cpp.

void moData::SetModel ( moSceneNode p_Model)

Definition at line 275 of file moValue.cpp.

void moData::SetNumber ( moNumber  p_number)

Definition at line 203 of file moValue.cpp.

void moData::SetPointer ( MOpointer  data,
MOulong  size 
)

Definition at line 215 of file moValue.cpp.

void moData::SetSize ( MOulong  p_DataSize)

Definition at line 223 of file moValue.cpp.

void moData::SetSound ( moSound p_Sound)

Definition at line 368 of file moValue.cpp.

void moData::SetText ( moText  ptext)

Definition at line 158 of file moValue.cpp.

void moData::SetTexture ( moTexture p_Texture)

Definition at line 244 of file moValue.cpp.

void moData::SetTextureBuffer ( moTextureBuffer p_TextureBuffer)

Definition at line 250 of file moValue.cpp.

void moData::SetTextureFilter ( moTextureFilter p_TextureFilter)

Definition at line 262 of file moValue.cpp.

void moData::SetTextureFilterAlpha ( moData p_alpha)

Definition at line 281 of file moValue.cpp.

void moData::SetTextureFilterParam ( const moTextFilterParam p_filterparam)

Definition at line 310 of file moValue.cpp.

void moData::SetType ( moDataType  p_DataType)

Definition at line 210 of file moValue.cpp.

void moData::SetVector ( moVector2d p_vector2d)

Definition at line 317 of file moValue.cpp.

void moData::SetVector ( moVector3d p_vector3d)

Definition at line 323 of file moValue.cpp.

void moData::SetVector ( moVector4d p_vector4d)

Definition at line 329 of file moValue.cpp.

void moData::SetVector ( moVector2i p_vector2i)

Definition at line 335 of file moValue.cpp.

void moData::SetVector ( moVector3i p_vector3i)

Definition at line 341 of file moValue.cpp.

void moData::SetVector ( moVector4i p_vector4i)

Definition at line 347 of file moValue.cpp.

void moData::SetVideoBuffer ( moVideoBuffer p_VideoBuffer)

Definition at line 256 of file moValue.cpp.

MOulong moData::Size ( ) const

Definition at line 934 of file moValue.cpp.

moSound * moData::Sound ( )

Definition at line 493 of file moValue.cpp.

moText moData::Text ( )

Definition at line 539 of file moValue.cpp.

moDataType moData::TextToType ( moText  texttype)

Definition at line 630 of file moValue.cpp.

moTexture * moData::Texture ( )

TODO: esta funcion llama la textura de fuente ( al aplicar un shader, es la primera de las de fuente) no confundir con la textura de destino...!!!

Definition at line 501 of file moValue.cpp.

moTextureBuffer * moData::TextureBuffer ( )

Definition at line 479 of file moValue.cpp.

moTexture * moData::TextureDestination ( )

if MO_DATA_IMAGESAMPLE source = destination

Definition at line 519 of file moValue.cpp.

moText moData::ToText ( ) const

Definition at line 707 of file moValue.cpp.

moDataType moData::Type ( ) const

Definition at line 940 of file moValue.cpp.

moText moData::TypeToText ( moDataType  p_data_type)
static

Definition at line 549 of file moValue.cpp.

moText moData::TypeToText ( )

Definition at line 544 of file moValue.cpp.

moVector2d * moData::Vector2d ( )

Definition at line 375 of file moValue.cpp.

moVector2i * moData::Vector2i ( )

Definition at line 380 of file moValue.cpp.

moVector3d * moData::Vector3d ( )

Definition at line 385 of file moValue.cpp.

moVector3i * moData::Vector3i ( )

Definition at line 390 of file moValue.cpp.

moVector4d * moData::Vector4d ( )

Definition at line 395 of file moValue.cpp.

moVector4i * moData::Vector4i ( )

Definition at line 400 of file moValue.cpp.

Member Data Documentation

MOfloat moData::m_AlphaFilter
protected

Definition at line 278 of file moValue.h.

bool moData::m_bFilteredAlpha
protected

Definition at line 276 of file moValue.h.

bool moData::m_bFilteredParams
protected

Definition at line 277 of file moValue.h.

MOulong moData::m_DataSize
protected

Definition at line 273 of file moValue.h.

moDataType moData::m_DataType
protected

Definition at line 270 of file moValue.h.

MOdouble moData::m_LastEval
protected

Definition at line 282 of file moValue.h.

moNumber moData::m_Number
protected

Definition at line 271 of file moValue.h.

moData* moData::m_pAlphaFilter
protected

Definition at line 280 of file moValue.h.

moTextFilterParam moData::m_pFilterParam
protected

Definition at line 279 of file moValue.h.

moText moData::m_Text
protected

Definition at line 272 of file moValue.h.


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