Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DisplayRocker.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the           
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: DisplayRocker.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.9 $        $Date: 2019/01/17 21:20:59 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  ***************************************************************************/
00020 #ifndef DISPLAYROCKER_H
00021 #define DISPLAYROCKER_H
00022 
00023 #include "Displayable.h"
00024 
00025 class DisplayRocker : public Displayable {
00026 private:
00028   int Rocking, rockSteps, currRockStep, rockOnce;
00029   char rockAxis;
00030   float rockAmount;
00031 
00032 public:
00033   DisplayRocker(Displayable *);   
00034 
00035   void start_rocking(float a, char ax, int steps, int doOnce = FALSE);
00036   void stop_rocking()   { Rocking = FALSE; }  
00037 
00038   virtual void prepare();
00039 };
00040 
00041 #endif
00042 

Generated on Fri Apr 19 02:44:18 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002