next up previous contents
Next: Suggestions for future changes/additions Up: DispCmd Previous: Nonvirtual member functions

Method of use

Each class derived from DispCmd should have two constructors:

If a derived class does not require any arguments (for example, the PUSH command, which just signals to push the top transformation matrix, but does not require any data itself), only the default constructor is used. Otherwise, each derived class should also provide two new functions;

Within the put and reput functions, DispCmd uses several routines in Displayable to start the action of writing a new command to the end of the display list, to copy over the data itself, and to signal the data is copied.



Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999