OpenWalnut  1.5.0dev
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Transformation Class Reference

Base class for all further transformations. More...

+ Inheritance diagram for Transformation:
+ Collaboration diagram for Transformation:

Public Member Functions

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

Static Public Attributes

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

Protected Attributes

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

Detailed Description

Base class for all further transformations.

Definition at line 174 of file WGEAnimationManipulator.cpp.

Member Function Documentation

◆ duration()

virtual double Transformation::duration ( ) const
inlinevirtual

The time in seconds this transformation is running.

Returns
duration in seconds

Definition at line 192 of file WGEAnimationManipulator.cpp.

References m_duration.

◆ finish()

virtual double Transformation::finish ( ) const
inlinevirtual

The time in seconds when this transformation is finished.

Returns
finish time in seconds.

Definition at line 182 of file WGEAnimationManipulator.cpp.

References m_finishTime.

Referenced by WGEAnimationManipulator::handleFrame().

+ Here is the caller graph for this function:

Member Data Documentation

◆ axeX

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

Vector representing the X axe.

Definition at line 200 of file WGEAnimationManipulator.cpp.

Referenced by WGEAnimationManipulator::handleFrame().

◆ axeY

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

Vector representing the Y axe.

Definition at line 205 of file WGEAnimationManipulator.cpp.

Referenced by WGEAnimationManipulator::handleFrame().

◆ axeZ

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

Vector representing the Z axe.

Definition at line 210 of file WGEAnimationManipulator.cpp.

◆ m_duration

double Transformation::m_duration
protected

Duration time.

Definition at line 221 of file WGEAnimationManipulator.cpp.

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

◆ m_finishTime

double Transformation::m_finishTime
protected

The time this is finished.

Definition at line 216 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: