Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

ImageViewFragShader Class Reference

Inheritance diagram for ImageViewFragShader:
Inheritance graph
Collaboration diagram for ImageViewFragShader:
Collaboration graph

List of all members.

Public Member Functions

virtual void draw ()
 ImageViewFragShader (int x, int y, int w, int h, const char label[], const Imf::Rgba pixels[], int dw, int dh, int dx, int dy, float exposure, float defog, float kneeLow, float kneeHigh, const std::string &filename)
virtual void setDefog (float defog)
virtual void setExposure (float exposure)
virtual void setKneeHigh (float high)
virtual void setKneeLow (float low)

Protected Member Functions

void computeFogColor ()
virtual void updateScreenPixels ()

Protected Attributes

float _defog
int _dh
int _dw
int _dx
int _dy
float _exposure
float _fogB
float _fogG
float _fogR
float _kneeHigh
float _kneeLow
const Imf::Rgba_rawPixels

Private Member Functions

bool initGL ()
void loadBuiltinFragShader ()
bool loadFragShader (const char *code)
void loadFragShaderFromFile ()
void loadTexture ()
void setCgNamedParameter (const char *name, float x, float y=0, float z=0, float w=0)

Private Attributes

GLuint _fprog
const std::string _fsFilename
GLuint _texture
bool _useSoftware

Detailed Description

Definition at line 59 of file ImageViewFragShader.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index