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

#include <moTextureManager.h>

Inheritance diagram for moTextureBuffer:
moAbstract

Public Member Functions

 moTextureBuffer ()
 
virtual ~moTextureBuffer ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Init (moText p_foldername, moText p_bufferformat, moResourceManager *p_pResourceManager)
 
virtual MOboolean Init (moText p_foldername, moTextureBufferFormat p_bufferformat, int p_pattern_width, int p_pattern_height, moResourceManager *p_pResourceManager)
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
virtual int GetFrame (MOuint p_i)
 
virtual void ReleaseFrame (MOuint p_i)
 
virtual moTextureMemoryGetTexture (MOuint p_i)
 
MOboolean UpdateImages (int maxfiles=-1)
 
MOboolean LoadCompleted ()
 
int GetImagesProcessed ()
 
MOboolean LoadImage (moText p_ImageName, moBitmap *pImage, int indeximage)
 
moText GetBufferPath ()
 
moText GetBufferFormat ()
 
moText GetName ()
 
moTextureFrames & GetBufferLevels (int L, int C)
 
moTextureFrames & GetBufferPatterns (moTexture *p_ImageReference, int x, int y, int width=0, int height=0)
 
moTextureFrames & GetBufferPatterns (const moTexture &p_ImageReference, int x, int y, int width=0, int height=0)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Public Attributes

int max_luminance
 
int min_luminance
 
int max_contrast
 
int min_contrast
 
MObyteLevelDiagram
 
- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Additional Inherited Members

- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Detailed Description

Definition at line 54 of file moTextureManager.h.

Constructor & Destructor Documentation

moTextureBuffer::moTextureBuffer ( )

size of max_luminance: 100 how many levels: 100

Definition at line 64 of file moTextureManager.cpp.

moTextureBuffer::~moTextureBuffer ( )
virtual

Definition at line 87 of file moTextureManager.cpp.

Member Function Documentation

MOboolean moTextureBuffer::Finish ( )
virtual

Finaliza el objeto, libera recursos.

Función de finalización. Libera los recursos generados en la función de inicialización.

Returns
verdadero si fue exitosa o falso en otro caso

Reimplemented from moAbstract.

Definition at line 160 of file moTextureManager.cpp.

moText moTextureBuffer::GetBufferFormat ( )
inline

Definition at line 79 of file moTextureManager.h.

moTextureFrames & moTextureBuffer::GetBufferLevels ( int  L,
int  C 
)

Definition at line 462 of file moTextureManager.cpp.

moText moTextureBuffer::GetBufferPath ( )
inline

Definition at line 78 of file moTextureManager.h.

moTextureFrames & moTextureBuffer::GetBufferPatterns ( moTexture p_ImageReference,
int  x,
int  y,
int  width = 0,
int  height = 0 
)

Definition at line 440 of file moTextureManager.cpp.

moTextureFrames & moTextureBuffer::GetBufferPatterns ( const moTexture p_ImageReference,
int  x,
int  y,
int  width = 0,
int  height = 0 
)

Definition at line 452 of file moTextureManager.cpp.

int moTextureBuffer::GetFrame ( MOuint  p_i)
virtual

Definition at line 476 of file moTextureManager.cpp.

int moTextureBuffer::GetImagesProcessed ( )
inline

Definition at line 74 of file moTextureManager.h.

moText moTextureBuffer::GetName ( )
inline

Definition at line 81 of file moTextureManager.h.

moTextureMemory * moTextureBuffer::GetTexture ( MOuint  p_i)
virtual

Definition at line 505 of file moTextureManager.cpp.

MOboolean moTextureBuffer::Init ( )
virtual

Inicializa el objeto.

Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.

Returns
verdadero si fue exitosa o falso en otro caso

Reimplemented from moAbstract.

Definition at line 91 of file moTextureManager.cpp.

MOboolean moTextureBuffer::Init ( moText  p_foldername,
moText  p_bufferformat,
moResourceManager p_pResourceManager 
)
virtual

Definition at line 123 of file moTextureManager.cpp.

MOboolean moTextureBuffer::Init ( moText  p_foldername,
moTextureBufferFormat  p_bufferformat,
int  p_pattern_width,
int  p_pattern_height,
moResourceManager p_pResourceManager 
)
virtual

Definition at line 102 of file moTextureManager.cpp.

MOboolean moTextureBuffer::LoadCompleted ( )

Definition at line 189 of file moTextureManager.cpp.

MOboolean moTextureBuffer::LoadImage ( moText  p_ImageName,
moBitmap pImage,
int  indeximage 
)

Definition at line 276 of file moTextureManager.cpp.

void moTextureBuffer::ReleaseFrame ( MOuint  p_i)
virtual

Definition at line 494 of file moTextureManager.cpp.

MOboolean moTextureBuffer::UpdateImages ( int  maxfiles = -1)

Definition at line 193 of file moTextureManager.cpp.

Member Data Documentation

MObyte* moTextureBuffer::LevelDiagram

Definition at line 93 of file moTextureManager.h.

int moTextureBuffer::max_contrast

Definition at line 89 of file moTextureManager.h.

int moTextureBuffer::max_luminance

Definition at line 87 of file moTextureManager.h.

int moTextureBuffer::min_contrast

Definition at line 90 of file moTextureManager.h.

int moTextureBuffer::min_luminance

Definition at line 88 of file moTextureManager.h.


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