V-ART
rotationaction.h
Go to the documentation of this file.
1 
5 #ifndef VART_ROTATIONACTION_H
6 #define VART_ROTATIONACTION_H
7 
8 #include "vart/transformaction.h"
9 #include "vart/point4d.h"
10 
11 namespace VART {
17  {
18  public:
19  // PUBLIC STATIC METHODS
20  // PUBLIC METHODS
22  virtual ~RotationAction() {}
23  void SetXRotation(double radians);
24  void SetYRotation(double radians);
25  void SetZRotation(double radians);
26  virtual void Move();
27  protected:
28  // PROTECTED STATIC METHODS
29  // PROTECTED METHODS
30  // PROTECTED STATIC ATTRIBUTES
31  // PROTECTED ATTRIBUTES
33  double goal;
38  }; // end class declaration
39 } // end namespace
40 
41 #endif
Header file for V-ART class "TransformAction".
Points and vectors using homogeneous coordinates.
Definition: point4d.h:22
Point4D refVector
The vector portion of the axis of rotation.
double goal
A scalar that describes the final angle of the rotation.
void SetXRotation(double radians)
virtual void Move()
Make the action update its targets.
Header file for V-ART class "Point4D".
void SetZRotation(double radians)
void SetYRotation(double radians)
Point4D refPoint
The point portion of the axis of rotation.