HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RU_ColorCurve Class Reference

#include <RU_ColorCurve.h>

Public Member Functions

 RU_ColorCurve ()
 
 ~RU_ColorCurve ()
 
void reset ()
 
void addPoint (float pos, float val, float sharpness)
 
void create (bool extend_slopes=true)
 
float evaluate (float pos) const
 

Public Attributes

UT_FloatArray myDivs
 
UT_FloatArray myValues
 
UT_FloatArray mySharp
 
UT_Vector2Array myPoints
 
float myPreSlope
 
float myPostSlope
 
bool myExtendSlope
 
int myNumPoints
 
int myNumSplines
 

Detailed Description

Definition at line 24 of file RU_ColorCurve.h.

Constructor & Destructor Documentation

RU_ColorCurve::RU_ColorCurve ( )
RU_ColorCurve::~RU_ColorCurve ( )

Member Function Documentation

void RU_ColorCurve::addPoint ( float  pos,
float  val,
float  sharpness 
)
void RU_ColorCurve::create ( bool  extend_slopes = true)
float RU_ColorCurve::evaluate ( float  pos) const
void RU_ColorCurve::reset ( )

Member Data Documentation

UT_FloatArray RU_ColorCurve::myDivs

Definition at line 37 of file RU_ColorCurve.h.

bool RU_ColorCurve::myExtendSlope

Definition at line 42 of file RU_ColorCurve.h.

int RU_ColorCurve::myNumPoints

Definition at line 43 of file RU_ColorCurve.h.

int RU_ColorCurve::myNumSplines

Definition at line 44 of file RU_ColorCurve.h.

UT_Vector2Array RU_ColorCurve::myPoints

Definition at line 40 of file RU_ColorCurve.h.

float RU_ColorCurve::myPostSlope

Definition at line 41 of file RU_ColorCurve.h.

float RU_ColorCurve::myPreSlope

Definition at line 41 of file RU_ColorCurve.h.

UT_FloatArray RU_ColorCurve::mySharp

Definition at line 39 of file RU_ColorCurve.h.

UT_FloatArray RU_ColorCurve::myValues

Definition at line 38 of file RU_ColorCurve.h.


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