Classes |
struct | FemViewer::pixel_descr_t |
| pixel format descriptor More...
|
class | FemViewer::GLCore |
Namespaces |
namespace | FemViewer |
Defines |
#define | FV_DEBUG_GL 1 |
#define | FV_CHECK_ERROR_GL() |
Typedefs |
typedef struct
FemViewer::pixel_descr_t * | FemViewer::pixel_descrptr_t |
Enumerations |
enum | FemViewer::ePixelFormat {
FemViewer::PF_UNKNOWN = 0,
FemViewer::PF_R8,
FemViewer::PF_RG8,
FemViewer::PF_RGB8,
FemViewer::PF_RGBA8,
FemViewer::PF_RGBA8_SRGB,
FemViewer::PF_BGRA8_SRGB,
FemViewer::PF_ALL
} |
enum | FemViewer::eShaderType {
FemViewer::SH_VERTEX = 0x01,
FemViewer::SH_GEOMETRY = 0x02,
FemViewer::SH_FRAGMENT = 0x04,
FemViewer::SH_TESELATOR = 0x08,
FemViewer::SH_COMPUTE = 0x10
} |
Functions |
const pixel_descr_t * | FemViewer::getPixelFormatDescriptor (const int id) |
bool | initGLEW (const bool bFlag=false) |
bool | initGLLists (const GLsizei size) |
GLuint | initShaders (const char *path_to_vertex_shader, const char *payh_to_fragment_shader) |
bool | loadFile (const char *path, std::string &source) |
GLuint | createBuffer (const void *data, unsigned int dataSize, GLenum target, GLenum usage) |
GLuint | createPixelBuffer (const int width, const int height, GLuint *pbId) |
float | getTextWidthOnScreen (const std::string &text, void *pCurrentFont) |
void | drawText (const std::string &pText, float pXMin, float pYMin, float pXMax, float pYMax, int pFontSize, void *pCurrentFont, bool pAutoLineBreak, bool pFlagCentered) |
void | drawText3D (const std::string &pText, float pX, float pY, float pZ, void *pCurrentFont) |
void | drawString (const char *str, int x, int y, float color[4], void *font) |
void | drawPlane (const float *points, const float *scale, unsigned int size) |
bool | __CheckErrorGL (const char *file, const int line) |
void | print_array (const float array[], size_t size_of_array) |
void | print_array_vec4f (const float array[], const size_t size_of_array, const size_t offset) |
GLuint | createQuadGrid (const double orig[], double dims[], double density[], GLuint *nvertces) |
GLuint | createGrid3D (const float minb[], const float maxb[], const grid_t *drid, GLuint outBuff[]) |
void | drawGrid (const GLuint params[2], const float color[3], const float linew=0.0) |
GLuint | createColorBar (const FemViewer::colorbar_config_t *cfg, GLuint *buffID) |
Variables |
const pixel_descr_t | FemViewer::pixel_descriptors [] |