Transition.Transition Class Reference

#include <class_transition_1_1_transition.h>

List of all members.

Public Member Functions

  __init__ ()
  A Transition object knows how to interpolate a state to a second state, given length of time.
  setTargetState ()
  setDuration ()
  reset ()
  getTargetState ()
  step ()
  Call step on occasion to move the view from the given current state closer to the target state based on the current time.

Member Function Documentation

Transition.Transition.__init__ ( )

A Transition object knows how to interpolate a state to a second state, given length of time.

If you want to change the target state after the construction you will need to call setTargetState and setDuration, followed by reset to start the timer.

Either way, step() should then be called occasionally to update the state.

Transition.Transition.setTargetState ( )
Transition.Transition.setDuration ( )
Transition.Transition.reset ( )
Transition.Transition.getTargetState ( )
Transition.Transition.step ( )

Call step on occasion to move the view from the given current state closer to the target state based on the current time.

This method returns a new state if the transition is still active and None if the transition is completed. The transition is considered completed if the requested duration period has expired.


Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition
Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition Transition.Transition