Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

curvature_texture.C File Reference

Contains the implementation of the classes that implement the curvature visualization gTexture. More...

#include <cassert>
#include "gtex/gl_extensions.H"
#include <GL/glu.h>
#include "gtex/rendering_mode.H"
#include "gtex/curvature_texture.H"
#include "mlib/points.H"

Include dependency graph for curvature_texture.C:

Go to the source code of this file.

Classes

class  CurvatureRenderingMode
 Abstract base class for all curvature gTexture rendering modes. More...
class  CurvatureRenderingMode::CurvatureStripCB
class  CurvatureARBvpARBfpMultiTextureMode
 A curvature gTexture rendering mode that uses ARB vertex and fragment programs and multitexturing. More...
class  CurvatureARBvpARBfpMultiTextureMode::StripCB
class  CurvatureRenderingModeSelectionPolicy

Typedefs

typedef RenderingModeSingleton<
CurvatureRenderingModeSelectionPolicy
CurvatureModeSingleton

Functions

static void make_2D_texture (GLuint texture_name, int texture_size, int line_width, bool just_line)
static GLuint load_ARB_program (const char *header, GLenum target, const char *program_string)

Variables

const char * CURVATURE_VERTEX_PROGRAM_STR
const char * CURVATURE_FRAGMENT_PROGRAM_STR


Detailed Description

Contains the implementation of the classes that implement the curvature visualization gTexture.

Definition in file curvature_texture.C.


Typedef Documentation

typedef RenderingModeSingleton<CurvatureRenderingModeSelectionPolicy> CurvatureModeSingleton
 

Definition at line 678 of file curvature_texture.C.


Function Documentation

GLuint load_ARB_program const char *  header,
GLenum  target,
const char *  program_string
[static]
 

Definition at line 948 of file curvature_texture.C.

References GLExtensions::gl_arb_fragment_program_loaded(), GLExtensions::gl_arb_vertex_program_loaded(), GL_FRAGMENT_PROGRAM_ARB, GL_PROGRAM_FORMAT_ASCII_ARB, GL_VERTEX_PROGRAM_ARB, glBindProgramARB, glDeleteProgramsARB, glGenProgramsARB, and glProgramStringARB.

Referenced by CurvatureARBvpARBfpMultiTextureMode::CurvatureARBvpARBfpMultiTextureMode(), and LineDrawingVprogFprogNoSSDMode::LineDrawingVprogFprogNoSSDMode().

static void make_2D_texture GLuint  texture_name,
int  texture_size,
int  line_width,
bool  just_line
[static]
 

Definition at line 850 of file curvature_texture.C.

References GL_CLAMP, GL_FLOAT, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LUMINANCE, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_UNPACK_ALIGNMENT, glBindTexture(), glPixelStorei(), glTexImage2D(), and glTexParameteri().

Referenced by CurvatureARBvpARBfpMultiTextureMode::CurvatureARBvpARBfpMultiTextureMode().


Variable Documentation

const char* CURVATURE_FRAGMENT_PROGRAM_STR
 

Definition at line 247 of file curvature_texture.C.

Referenced by CurvatureARBvpARBfpMultiTextureMode::CurvatureARBvpARBfpMultiTextureMode().

const char* CURVATURE_VERTEX_PROGRAM_STR
 

Definition at line 35 of file curvature_texture.C.

Referenced by CurvatureARBvpARBfpMultiTextureMode::CurvatureARBvpARBfpMultiTextureMode().


Generated on Mon Sep 18 11:40:15 2006 for jot by  doxygen 1.4.4