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

CmdRockOn Class Reference

rock the current scene. More...

#include <CmdTrans.h>

Inheritance diagram for CmdRockOn:

List of all members.

Public Methods

CmdRockOn (float a, char ax, int nsteps)

Public Attributes

char axis
axis to rock. More...

float deg
amount to rock. More...

int steps
steps to rock (if < 0, continuous). More...


Protected Methods

virtual void create_text (void)
virtual function which is called when a text version of the command must be created to be printed to the console or a log file. More...


Detailed Description

rock the current scene.

Definition at line 98 of file CmdTrans.h.


Constructor & Destructor Documentation

CmdRockOn::CmdRockOn ( float a,
char ax,
int nsteps
)

Definition at line 147 of file CmdTrans.C.

References deg, and steps.


Member Function Documentation

void CmdRockOn::create_text ( void ) [protected, virtual]

virtual function which is called when a text version of the command must be created to be printed to the console or a log file.

Reimplemented from Command.

Definition at line 140 of file CmdTrans.C.

References Command::cmdText, deg, and steps.


Member Data Documentation

char CmdRockOn::axis

axis to rock.

Definition at line 100 of file CmdTrans.h.

float CmdRockOn::deg

amount to rock.

Definition at line 101 of file CmdTrans.h.

Referenced by CmdRockOn, and create_text.

int CmdRockOn::steps

steps to rock (if < 0, continuous).

Definition at line 102 of file CmdTrans.h.

Referenced by CmdRockOn, and create_text.


The documentation for this class was generated from the following files:
Generated on Mon Nov 17 02:48:09 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /