BC_FPot Class Reference

#include <bcpot.h>

Inherits BC_Pot.

Inherited by APanelPluginAuto, DenoiseFFTLevel, DenoiseLevel, FreeverbDamp, FreeverbDry, FreeverbGain, FreeverbRoomsize, FreeverbWet, FreeverbWidth, GradientAngle, GradientCenterX, GradientCenterY, MotionBlockX, MotionBlockY, ParametricMagnitude, ParametricQuality, ParametricWetness, PitchScale, PluginACLientFLinear, ReverbLevelInit, ReverbRefLevel1, ReverbRefLevel2, RotateFine, RotateX, RotateY, SpectrogramLevel, SynthOscGUILevel, SynthWetness, TimeFrontAngle, TimeFrontCenterX, TimeFrontCenterY, TimeStretchScale, UnsharpAmount, and UnsharpRadius.

Collaboration diagram for BC_FPot:

Collaboration graph
[legend]

Public Member Functions

 BC_FPot (int x, int y, float value, float minvalue, float maxvalue, VFrame **data=0)
 ~BC_FPot ()
char * get_caption ()
int increase_value ()
int decrease_value ()
float get_percentage ()
float get_value ()
int percentage_to_value (float percentage)
void update (float value)
void update (float value, float minvalue, float maxvalue)
void set_precision (float value)

Private Attributes

float value
float minvalue
float maxvalue
float precision

Detailed Description

Definition at line 70 of file bcpot.h.


Constructor & Destructor Documentation

BC_FPot::BC_FPot ( int  x,
int  y,
float  value,
float  minvalue,
float  maxvalue,
VFrame **  data = 0 
)

Definition at line 379 of file bcpot.C.

References precision.

BC_FPot::~BC_FPot (  ) 

Definition at line 393 of file bcpot.C.


Member Function Documentation

char * BC_FPot::get_caption (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 416 of file bcpot.C.

References BC_Pot::caption, and value.

int BC_FPot::increase_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 397 of file bcpot.C.

References maxvalue, precision, and value.

int BC_FPot::decrease_value (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 404 of file bcpot.C.

References minvalue, precision, and value.

float BC_FPot::get_percentage (  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 422 of file bcpot.C.

References maxvalue, minvalue, and value.

float BC_FPot::get_value (  ) 

int BC_FPot::percentage_to_value ( float  percentage  )  [virtual]

Reimplemented from BC_Pot.

Definition at line 427 of file bcpot.C.

References maxvalue, minvalue, precision, Units::quantize(), and value.

Here is the call graph for this function:

void BC_FPot::update ( float  value  ) 

void BC_FPot::update ( float  value,
float  minvalue,
float  maxvalue 
)

Definition at line 452 of file bcpot.C.

References BC_Pot::draw().

Here is the call graph for this function:

void BC_FPot::set_precision ( float  value  ) 


Field Documentation

float BC_FPot::value [private]

float BC_FPot::minvalue [private]

Definition at line 92 of file bcpot.h.

Referenced by decrease_value(), get_percentage(), and percentage_to_value().

float BC_FPot::maxvalue [private]

Definition at line 92 of file bcpot.h.

Referenced by get_percentage(), increase_value(), and percentage_to_value().

float BC_FPot::precision [private]

Definition at line 93 of file bcpot.h.

Referenced by BC_FPot(), decrease_value(), increase_value(), percentage_to_value(), and set_precision().


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

Generated on Mon Apr 28 14:13:32 2008 for Cinelerra by  doxygen 1.5.5