| 
    3Depict
    
   | 
 
#include "common/basics.h"#include <GL/gl.h>#include <GL/glu.h>#include <vector>#include <string>

Classes | |
| struct | texture | 
| class | TexturePool | 
Enumerations | |
| enum | {  TEXTURE_LEFT_CLICK =0, TEXTURE_TRANSLATE, TEXTURE_RIGHT_CLICK, TEXTURE_ROTATE, TEXTURE_MIDDLE_CLICK, TEXTURE_SCROLL_WHEEL, TEXTURE_ENLARGE, TEXTURE_CTRL, TEXTURE_COMMAND, TEXTURE_ALT, TEXTURE_TAB, TEXTURE_SHIFT }  | 
Functions | |
| int | pngTexture (texture *dest, const char *filename, GLenum type) | 
| Type can be GL_TEXTURE_1D or GL_TEXTURE_2D.  More... | |
| int | pngTexture3D (texture *, const std::vector< std::string > &filenames) | 
| int | pngTexture2D (texture *, const char *) | 
| int | pngTexture1D (texture *, const char *) | 
Variables | |
| const char * | TEXTURE_OVERLAY_PNG [] | 
| anonymous enum | 
| int pngTexture | ( | texture * | dest, | 
| const char * | filename, | ||
| GLenum | type | ||
| ) | 
Type can be GL_TEXTURE_1D or GL_TEXTURE_2D.
References check_if_png(), texture::data, free_pngrowpointers(), texture::glID, texture::height, read_png(), and texture::width.
Referenced by pngTexture1D(), pngTexture2D(), and TexturePool::TexturePool().

| int pngTexture1D | ( | texture * | , | 
| const char * | |||
| ) | 
References pngTexture().
Referenced by TexturePool::TexturePool().

| int pngTexture2D | ( | texture * | , | 
| const char * | |||
| ) | 
References pngTexture().
Referenced by TexturePool::openTexture(), and TexturePool::TexturePool().

| int pngTexture3D | ( | texture * | , | 
| const std::vector< std::string > & | filenames | ||
| ) | 
References check_if_png(), texture::data, texture::depth, free_pngrowpointers(), texture::glID, texture::height, read_png(), and texture::width.
Referenced by TexturePool::openTexture3D(), and TexturePool::TexturePool().

| const char* TEXTURE_OVERLAY_PNG[] | 
Referenced by Scene::drawOverlays().
 1.8.13