TurnTableBehavior.TurnTableBehavior Class Reference

#include <class_turn_table_behavior_1_1_turn_table_behavior.h>

Inheritance diagram for TurnTableBehavior.TurnTableBehavior:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  getTypeLabel ()
  getDefaultImage ()
  getDefaultIcon ()
  getDuration ()
  getParameterType ()
  Provide the type for behavior parameters that are not a standard python type.
  setParameterValue ()
  Sets the value of a given parameter.
  initParameters ()
  Virtual method, called after a behavior is read from a scene file.
  moveObjectsToPivot ()
  movePivotToObjects ()
  addNodes ()
  virtual
  removeNodes ()
  virtual
  dirtyNodes ()
  virtual
  setIsActive ()
  update ()
  Implement this method in subclasses to perform the actual behavior.
  basename ()
  Return a basename that will be used to build names and labels.

Public Attributes

float  kDefaultSpeed = 3.0
float  kDefaultSpeedStep = 0.1
tuple  kDefaultPivot = (0.0, 0.0, 0.0)
float  kDefaultNudgeStep = 60.0
float  kDefaultRotation = 0.0
  kDefaultOscillate = False
tuple  kDefaultAxis = (0.0, 0.0, 1.0)

Member Function Documentation

TurnTableBehavior.TurnTableBehavior.__init__ ( )
TurnTableBehavior.TurnTableBehavior.getTypeLabel ( )
TurnTableBehavior.TurnTableBehavior.getDefaultImage ( )
TurnTableBehavior.TurnTableBehavior.getDefaultIcon ( )
TurnTableBehavior.TurnTableBehavior.getDuration ( )
TurnTableBehavior.TurnTableBehavior.getParameterType ( )

Provide the type for behavior parameters that are not a standard python type.

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.setParameterValue ( )

Sets the value of a given parameter.

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.initParameters ( )

Virtual method, called after a behavior is read from a scene file.

Subclasses can override this method to complete their initialization. For instance, runtime-only parameters might be initialized.

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.moveObjectsToPivot ( )
TurnTableBehavior.TurnTableBehavior.movePivotToObjects ( )
TurnTableBehavior.TurnTableBehavior.addNodes ( )

virtual

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.removeNodes ( )

virtual

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.dirtyNodes ( )

virtual

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.setIsActive ( )
TurnTableBehavior.TurnTableBehavior.update ( )

Implement this method in subclasses to perform the actual behavior.

timestep is in seconds.

Reimplemented from Behavior.Behavior.

TurnTableBehavior.TurnTableBehavior.basename ( )

Return a basename that will be used to build names and labels.

Derived classes will typically override this method.

Reimplemented from Behavior.Behavior.


Member Data Documentation


TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior
TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior TurnTableBehavior.TurnTableBehavior