Next: Method of use
Up: DrawMolecule
Previous: Nonvirtual member functions
- virtual void set_name(char *) - used to change or set the
name of the molecule. Called during the create phase of molecule
construction.
- virtual void create_cmdlist(void) - regenerates the
display list, which contains the list of primitive drawing commands
necessary to draw the object.
- virtual int create(void) - the version of create for
DrawMolecule ... this is called by derived classes after they have
read in and initialized the molecule. The DrawMolecule version of
create will then call the BaseMolecule's create routine, and finally
then construct the initial version of the display list.
- virtual void prepare(DisplayDevice *) - provided since this
is a Displayable object. This determines if the display list needs
to be reconstructed, and if so it does the reconstruction.
- virtual int add_rep(AtomColor *, AtomRep *, AtomSel *) -
requests for a new representation to be made, using the given objects to
describe what the representation should be. Returns success.
- virtual int change_rep(int, AtomColor *, AtomRep *, AtomSel *)
- changes the Nth representation to use the new settings specified in the
given objects.
Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999