next up previous contents index
Next: I/O Methods on Time_Object Up: Time_Object Previous: Display Methods on Time_Object

Compute Methods on Time_Object

 

   GRAPE(timeobj, "compute-video-send")()
TIME_OBJECT * timeobj
Compute all frames for timeobj by sending "compute-send" to each frame. The current frame number and time are saved and restored after the computation.

   GRAPE(timeobj, "compute-send")()
TIME_OBJECT * time_object
This is the method which computes the Time_Object's data. Most of the memory management has to be done here because the class of the timeobj geometry is arbitrary. If the user wants to compute his own Time_Objects he can replace this method with his own "compute-send" method.

The default "compute-send" method which computes a torus-knots is presented in section 8.2.1.3 together with the corresponding input file.

   GRAPE(ruler, "parameter-changed")()
RULER * ruler
This method is called when a Time_Object parameter ruler is changed (be careful, changing a double parameter also changes the associated spline). All frames of the Time_Object the ruler belongs to will be recomputed by calling "compute-video-send", this allows to change the Time_Object interactively.



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.