OpenWalnut  1.4.0
Public Member Functions | Static Public Attributes | Protected Attributes
Transformation Class Reference

Base class for all further transformations. More...

+ Inheritance diagram for Transformation:

List of all members.

Public Member Functions

virtual double finish () const
 The time in seconds when this transformation is finished.
virtual double duration () const
 The time in seconds this transformation is running.

Static Public Attributes

static WVector3d axeX = WVector3d( 1.0, 0.0, 0.0 )
 Vector representing the X axe.
static WVector3d axeY = WVector3d( 0.0, 1.0, 0.0 )
 Vector representing the Y axe.
static WVector3d axeZ = WVector3d( 0.0, 0.0, 1.0 )
 Vector representing the Z axe.

Protected Attributes

double m_finishTime
 The time this is finished.
double m_duration
 Duration time.

Detailed Description

Base class for all further transformations.

Definition at line 175 of file WGEAnimationManipulator.cpp.


Member Function Documentation

virtual double Transformation::duration ( ) const [inline, virtual]

The time in seconds this transformation is running.

Returns:
duration in seconds

Definition at line 193 of file WGEAnimationManipulator.cpp.

References m_duration.

virtual double Transformation::finish ( ) const [inline, virtual]

The time in seconds when this transformation is finished.

Returns:
finish time in seconds.

Definition at line 183 of file WGEAnimationManipulator.cpp.

References m_finishTime.

Referenced by WGEAnimationManipulator::handleFrame().


Member Data Documentation

WVector3d Transformation::axeX = WVector3d( 1.0, 0.0, 0.0 ) [static]

Vector representing the X axe.

Definition at line 201 of file WGEAnimationManipulator.cpp.

WVector3d Transformation::axeY = WVector3d( 0.0, 1.0, 0.0 ) [static]

Vector representing the Y axe.

Definition at line 206 of file WGEAnimationManipulator.cpp.

WVector3d Transformation::axeZ = WVector3d( 0.0, 0.0, 1.0 ) [static]

Vector representing the Z axe.

Definition at line 211 of file WGEAnimationManipulator.cpp.

double Transformation::m_duration [protected]

Duration time.

Definition at line 222 of file WGEAnimationManipulator.cpp.

Referenced by duration(), Rotator::Rotator(), Translator::Translator(), and Zoomer::Zoomer().

double Transformation::m_finishTime [protected]

The time this is finished.

Definition at line 217 of file WGEAnimationManipulator.cpp.

Referenced by finish(), Rotator::Rotator(), Translator::Translator(), and Zoomer::Zoomer().


The documentation for this class was generated from the following file: