#include <iostream>
#include <GL/glut.h>
#include <vec2.h>
#include <texNd.h>
#include <texDataNd.h>
#include <shader.h>
#include <planarQuad.h>
#include <shadedPrim.h>
#include <multiPrim.h>
#include <renderPass.h>
#include <glew.h>
Go to the source code of this file.
Compounds | |
class | Blend |
class | Color4f |
Functions | |
vec2i | g_winDimen (0) |
GLubyte * | genGrayImageRGB (int numElts) |
SingleTex * | setupGrayScaleGradTex (int numElts) |
void | init (void) |
void | display (void) |
void | reshape (int w, int h) |
int | main (int argc, char **argv) |
Variables | |
Blend * | g_blend = NULL |
SingleTex * | g_greyTex = NULL |
RenderPass * | g_pass1 = NULL |
|
Definition at line 165 of file gliftEx1.cpp. References Blend::alpha(), alpha, g_blend, g_pass1, GL_COLOR_BUFFER_BIT, and glClear(). Referenced by SlicerWidget::conf(), and main(). |
|
|
|
Definition at line 35 of file gliftEx1.cpp. References GLubyte, image, index, x, and y. Referenced by reshape(), and setupGrayScaleGradTex(). |
|
Definition at line 122 of file gliftEx1.cpp. References g_blend, g_greyTex, g_pass1, g_winDimen(), glClearColor(), glew, setupGrayScaleGradTex(), gutz::vec2f, gutz::vec4f, glift::VecDrawP, and z. Referenced by glift::CoordTrans::CoordTrans(), main(), glift::PBuffGlift::PBuffGlift(), glift::PixelShaderATI8K::PixelShaderATI8K(), PNoise::PNoise(), glift::PixelShaderATI8K::reset(), and glift::SubdivPlanarQuadM::SubdivPlanarQuadM(). |
|
Definition at line 208 of file gliftEx1.cpp. References display(), g_winDimen(), glErr(), GLint, init(), reshape(), and gutz::vec2i. |
|
Definition at line 182 of file gliftEx1.cpp. References count, g_greyTex, g_winDimen(), genGrayImageRGB(), GL_MODELVIEW, GL_PROJECTION, GL_RGB, GL_TEXTURE_2D, GL_UNSIGNED_BYTE, glLoadIdentity(), glMatrixMode(), GLsizei, GLubyte, glViewport(), image, texData, gutz::vec2i, gutz::vec3i, and w. Referenced by main(). |
|
Definition at line 57 of file gliftEx1.cpp. References gutz::arrayw1ub, genGrayImageRGB(), GL_RGB, GL_TEXTURE_2D, GL_UNSIGNED_BYTE, GLubyte, image, texData, texState, glift::TS_LINEAR, glift::TS_REPLACE, TS_S_CLAMP, glift::TS_T_CLAMP, and gutz::vec2i. |
|
Definition at line 30 of file gliftEx1.cpp. |
|
Definition at line 31 of file gliftEx1.cpp. |
|
Definition at line 32 of file gliftEx1.cpp. |