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

CmdScale Class Reference

scale the current scene. More...

#include <CmdTrans.h>

Inheritance diagram for CmdScale:

List of all members.

Public Types

enum { BY, TO }

Public Methods

CmdScale (float ns, int by_or_to)

Public Attributes

float s
amount to scale. More...

int byOrTo
set, or multiply, scaling? 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

scale the current scene.

Definition at line 83 of file CmdTrans.h.


Member Enumeration Documentation

anonymous enum

Enumeration values:
BY
TO

Definition at line 85 of file CmdTrans.h.


Constructor & Destructor Documentation

CmdScale::CmdScale ( float ns,
int by_or_to
)

Definition at line 132 of file CmdTrans.C.

References byOrTo, and s.


Member Function Documentation

void CmdScale::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 125 of file CmdTrans.C.

References BY, byOrTo, Command::cmdText, and s.


Member Data Documentation

int CmdScale::byOrTo

set, or multiply, scaling?

Definition at line 87 of file CmdTrans.h.

Referenced by CmdScale, and create_text.

float CmdScale::s

amount to scale.

Definition at line 86 of file CmdTrans.h.

Referenced by CmdScale, 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 によって変換されたページ (->オリジナル) /