next up previous contents index
Next: Moving and Tracing Up: TimeScene Previous: Memory Methods on TimeScene

Other Methods on TimeScene

 

   

GRAPE(timescene, "universal")(method)
TIMESCENE *timescene
char *method

Send parameter free methods (send- and disp-methods) to timescene->dynamic which is updated first by calling "get-object".

   

GRAPE(timescene, "display")()
TIMESCENE *timescene

Like "universal" but the method "display" is send to timescene->next_scene, too.

   

GRAPE(timescene, "switch-sync-send")()
TIMESCENE *timescene

Toggle the timescene->sync flag (1 means synchronized, 0 not synchronized).

   

GRAPE(timescene, "synchronize")(time)
TIMESCENE *timescene
double time

Set timescene's and all of its next_scene's time to time.

   

GRAPE(timescene, "follow")()
TIMESCENE *timescene
INSTANCE *follow[3][3]
char pop-push[3][3]

Set the environment data of the instance timescene for the object hierarchy in the interactive manager.

   

GRAPE(timescene, "get-info")(xlist)
TIMESCENE *timescene
XLIST *xlist

Create info list entries for a TimeScene instance. Entries are class, name, refcount, next scene, object type and name, matrix type, display method, surface properties, dynamic name, time and sync status.

   

GRAPE(timescene, "goto-time-send")()
TIMESCENE *timescene
Send "goto-time"(timescene-> tex2html_wrap44180 time) to the dynamic object, hoping this method will place you on the current key frame using "goto-instance" of Manager (7.1.1.2).

This method is designed for interactive use.

       

(TIMESCENE *)GRAPE(timescene, "read")()
(TIMESCENE *)GRAPE(TimeScene, "read")()
TIMESCENE *timescene
CLASS *TimeScene

These methods read a TimeScene instance to (from) the standard text device and return NULL in case of failure.

If ``read'' is sent to the class, the data is read into a new instance, otherwise into the receiver timescene. In each case the method returns the new timescene (pointer).

These methods only exist for backward compatibility reasons, use XDR files instead (cf. 5.7).


next up previous contents index
Next: Moving and Tracing Up: TimeScene Previous: Memory Methods on TimeScene

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.