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

CmdRotMat Class Reference

apply a matrix transformation to the current scene. More...

#include <CmdTrans.h>

Inheritance diagram for CmdRotMat:

Command List of all members.

Public Types

enum  { BY, TO }
 is the transformation applied to the current one or is it a replacement? More...


Public Methods

 CmdRotMat (const Matrix4 &newrot, int by_or_to)

Public Attributes

Matrix4 rotMat
int byOrTo

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

apply a matrix transformation to the current scene.

Definition at line 29 of file CmdTrans.h.


Member Enumeration Documentation

anonymous enum
 

is the transformation applied to the current one or is it a replacement?

Enumeration values:
BY 
TO 

Definition at line 32 of file CmdTrans.h.


Constructor & Destructor Documentation

CmdRotMat::CmdRotMat const Matrix4   newrot,
int    by_or_to
 

Definition at line 35 of file CmdTrans.C.

References byOrTo, and rotMat.


Member Function Documentation

void CmdRotMat::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 27 of file CmdTrans.C.

References BY, byOrTo, Command::cmdText, Matrix4::mat, and rotMat.


Member Data Documentation

int CmdRotMat::byOrTo
 

Definition at line 34 of file CmdTrans.h.

Referenced by CmdRotMat, and create_text.

Matrix4 CmdRotMat::rotMat
 

Definition at line 33 of file CmdTrans.h.

Referenced by CmdRotMat, and create_text.


The documentation for this class was generated from the following files:
Generated on Fri Mar 29 02:47:11 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002