next up previous contents index
Next: Function_Ruler Up: Classes and Methods Previous: FileList

Function_Bar1d

  (subclass of 9.1.3.24 Slider)

Function_Bar1d is the abstract superclass of Function_Ruler and Function_Slider. In addition to the Bar1d the class Function_Bar1d provides methods and variables to store and edit a spline. If the effect is set ON, the spline is used to describe the dependency from a variable, e.g. another Ruler. The only method which is necessary in the usage of a Function_Bar1d is the method "set-effect". When the effect of a Function_Bar1d is switched ON it will be added as a side-effect of the main time ruler.

   GRAPE(function_bar1d, "set-effect")(on_off)
FUNCTION_BAR1D *function_bar1d
int on_off
With this method, the dependence of the Function_Bar1d can be switched ON or OFF. If the dependence is switched ON the value of the Function_Bar1d will be set using the spline each time the Function_Bar1d gets an "update".

   GRAPE(function_bar1d, "set-spline")(spline)
FUNCTION_BAR1D *function_bar1d
SPLINE1D * spline
Set spline as function for function_bar1d, using ASSIGN.

   GRAPE(function_bar1d, "unset-spline")()
FUNCTION_BAR1D *function_bar1d
Delete the spline of function_bar1d. (Cf. 5.4.4.1)



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.