9 #ifndef opengl_CTexturedObject_H 10 #define opengl_CTexturedObject_H 46 virtual void render_pre()
const;
47 virtual void render_post()
const;
49 virtual void render_texturedobj()
const = 0;
67 void assignImage_fast(
77 void loadTextureInOpenGL()
const;
A base class for all OpenGL objects with loadable textures.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
A class for storing images as grayscale or RGB bitmaps.
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
A renderizable object suitable for rendering with OpenGL's display lists.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
bool m_enableTransparency
Of the texture using "m_textureImageAlpha".
unsigned int m_glTextureName
int m_pad_y_bottom
The size of the fill in pixels in the textured image, w.r.t the image passed by the user...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::utils::CImage m_textureImage
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
mrpt::utils::CImage m_textureImageAlpha