RU_LimitFunc Class Reference

#include <RU_PixelFunctions.h>

Inheritance diagram for RU_LimitFunc:

RU_PixelFunction

List of all members.

Public Member Functions

 RU_LimitFunc (bool lower, float lval, bool upper, float uval, bool clamp)

Protected Member Functions

virtual RUPixelFunc getPixelFunction () const
virtual void getPixelShader (UT_String &frag_shader)

Static Protected Member Functions

static float limit (RU_PixelFunction *pf, float val, int)

Protected Attributes

unsigned char myLClip:1
unsigned char myUClip:1
unsigned char myClamp:1
float myLLimit
float myULimit


Detailed Description

Definition at line 127 of file RU_PixelFunctions.h.


Constructor & Destructor Documentation

RU_LimitFunc::RU_LimitFunc ( bool  lower,
float  lval,
bool  upper,
float  uval,
bool  clamp 
) [inline]

Definition at line 131 of file RU_PixelFunctions.h.


Member Function Documentation

virtual RUPixelFunc RU_LimitFunc::getPixelFunction (  )  const [inline, protected, virtual]

Reimplemented from RU_PixelFunction.

Definition at line 141 of file RU_PixelFunctions.h.

virtual void RU_LimitFunc::getPixelShader ( UT_String frag_shader  )  [protected, virtual]

Reimplemented from RU_PixelFunction.

static float RU_LimitFunc::limit ( RU_PixelFunction pf,
float  val,
int   
) [static, protected]


Member Data Documentation

unsigned char RU_LimitFunc::myClamp [protected]

Definition at line 144 of file RU_PixelFunctions.h.

unsigned char RU_LimitFunc::myLClip [protected]

Definition at line 144 of file RU_PixelFunctions.h.

float RU_LimitFunc::myLLimit [protected]

Definition at line 147 of file RU_PixelFunctions.h.

unsigned char RU_LimitFunc::myUClip [protected]

Definition at line 144 of file RU_PixelFunctions.h.

float RU_LimitFunc::myULimit [protected]

Definition at line 147 of file RU_PixelFunctions.h.


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

Generated on Fri May 25 00:10:37 2012 for HDK by  doxygen 1.5.9