GradientConfig Class Reference

#include <gradient.h>


Public Types

enum  { LINEAR, RADIAL, LOG, SQUARE }

Public Member Functions

 GradientConfig ()
int equivalent (GradientConfig &that)
void copy_from (GradientConfig &that)
void interpolate (GradientConfig &prev, GradientConfig &next, long prev_frame, long next_frame, long current_frame)
int get_in_color ()
int get_out_color ()

Data Fields

int shape
int rate
double center_x
double center_y
double angle
double in_radius
double out_radius
int in_r
int in_g
int in_b
int in_a
int out_r
int out_g
int out_b
int out_a


Detailed Description

Definition at line 24 of file gradient.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
LINEAR 
RADIAL 
LOG 
SQUARE 

Definition at line 44 of file gradient.h.


Constructor & Destructor Documentation

GradientConfig::GradientConfig (  ) 

Definition at line 26 of file gradient.C.

References LINEAR.


Member Function Documentation

int GradientConfig::equivalent ( GradientConfig that  ) 

Definition at line 45 of file gradient.C.

References angle, center_x, center_y, EQUIV, in_a, in_b, in_g, in_r, in_radius, out_a, out_b, out_g, out_r, out_radius, rate, and shape.

void GradientConfig::copy_from ( GradientConfig that  ) 

Definition at line 64 of file gradient.C.

References angle, center_x, center_y, in_a, in_b, in_g, in_r, in_radius, out_a, out_b, out_g, out_r, out_radius, rate, and shape.

void GradientConfig::interpolate ( GradientConfig prev,
GradientConfig next,
long  prev_frame,
long  next_frame,
long  current_frame 
)

Definition at line 83 of file gradient.C.

References angle, center_x, center_y, in_a, in_b, in_g, in_r, in_radius, out_a, out_b, out_g, out_r, out_radius, rate, and shape.

int GradientConfig::get_in_color (  ) 

Definition at line 110 of file gradient.C.

References in_b, in_g, and in_r.

int GradientConfig::get_out_color (  ) 

Definition at line 116 of file gradient.C.

References out_b, out_g, and out_r.


Field Documentation

Definition at line 41 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 43 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 53 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 54 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 55 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 56 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 57 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 58 of file gradient.h.

Referenced by copy_from(), equivalent(), get_in_color(), and interpolate().

Definition at line 58 of file gradient.h.

Referenced by copy_from(), equivalent(), get_in_color(), and interpolate().

Definition at line 58 of file gradient.h.

Referenced by copy_from(), equivalent(), get_in_color(), and interpolate().

Definition at line 58 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().

Definition at line 59 of file gradient.h.

Referenced by copy_from(), equivalent(), get_out_color(), and interpolate().

Definition at line 59 of file gradient.h.

Referenced by copy_from(), equivalent(), get_out_color(), and interpolate().

Definition at line 59 of file gradient.h.

Referenced by copy_from(), equivalent(), get_out_color(), and interpolate().

Definition at line 59 of file gradient.h.

Referenced by copy_from(), equivalent(), and interpolate().


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

Generated on Mon Apr 28 14:27:17 2008 for Cinelerra by  doxygen 1.5.5