RU_HSVConvertFunc Class Reference

#include <RU_PixelFunctions.h>

Inheritance diagram for RU_HSVConvertFunc:

RU_PixelFunction

List of all members.

Public Types

enum  RU_HSVConvertOp { CONVERT_TO_HSV, CONVERT_TO_RGB, ADJUST_HSV }

Public Member Functions

 RU_HSVConvertFunc (RU_HSVConvertOp op, float hues=0.0f, float *sat=0, float *val=0, bool maintain_lum=true)

Protected Member Functions

virtual bool needAllComponents () const
virtual RUVectorFunc getVectorFunction () const
virtual void getPixelShader (UT_String &frag_shader)

Static Protected Member Functions

static void toHSV (RU_PixelFunction *f, float **vals, const bool *scope)
static void fromHSV (RU_PixelFunction *f, float **vals, const bool *scope)
static void adjustHSV (RU_PixelFunction *f, float **vals, const bool *scope)

Protected Attributes

RU_HSVConvertOp myHSVOp
float myHueShift
float mySatScale
float mySatShift
float myValueScale
float myValueShift
bool myMaintainLum


Detailed Description

Definition at line 318 of file RU_PixelFunctions.h.


Member Enumeration Documentation

Enumerator:
CONVERT_TO_HSV 
CONVERT_TO_RGB 
ADJUST_HSV 

Definition at line 321 of file RU_PixelFunctions.h.


Constructor & Destructor Documentation

RU_HSVConvertFunc::RU_HSVConvertFunc ( RU_HSVConvertOp  op,
float  hues = 0.0f,
float *  sat = 0,
float *  val = 0,
bool  maintain_lum = true 
) [inline]

Definition at line 327 of file RU_PixelFunctions.h.


Member Function Documentation

static void RU_HSVConvertFunc::adjustHSV ( RU_PixelFunction f,
float **  vals,
const bool *  scope 
) [static, protected]

static void RU_HSVConvertFunc::fromHSV ( RU_PixelFunction f,
float **  vals,
const bool *  scope 
) [static, protected]

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

Reimplemented from RU_PixelFunction.

virtual RUVectorFunc RU_HSVConvertFunc::getVectorFunction (  )  const [inline, protected, virtual]

Reimplemented from RU_PixelFunction.

Definition at line 346 of file RU_PixelFunctions.h.

virtual bool RU_HSVConvertFunc::needAllComponents (  )  const [inline, protected, virtual]

Reimplemented from RU_PixelFunction.

Definition at line 345 of file RU_PixelFunctions.h.

static void RU_HSVConvertFunc::toHSV ( RU_PixelFunction f,
float **  vals,
const bool *  scope 
) [static, protected]


Member Data Documentation

Definition at line 352 of file RU_PixelFunctions.h.

float RU_HSVConvertFunc::myHueShift [protected]

Definition at line 353 of file RU_PixelFunctions.h.

Definition at line 356 of file RU_PixelFunctions.h.

float RU_HSVConvertFunc::mySatScale [protected]

Definition at line 354 of file RU_PixelFunctions.h.

float RU_HSVConvertFunc::mySatShift [protected]

Definition at line 354 of file RU_PixelFunctions.h.

Definition at line 355 of file RU_PixelFunctions.h.

Definition at line 355 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