VisibilitySwitch.VisibilitySwitch Class Reference


Detailed Description

This behaviour accepts a list of 'Targets' and will ensure that only one of them is visible at a time.

The 'Targets' parameter should be a string with object names separated by spaces.

#include <class_visibility_switch_1_1_visibility_switch.h>

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

List of all members.

Public Member Functions

  __init__ ()
  getParameterType ()
  Provide the type of 'Targets' parameter since it is not a standard python type.
  setVisibleIndex ()
  getVisibleIndex ()
  cycle ()
  Shows the next target, hiding the one that was previously visible.
  update ()
  Implement this method in subclasses to perform the actual behavior.

Member Function Documentation

VisibilitySwitch.VisibilitySwitch.__init__ ( )
VisibilitySwitch.VisibilitySwitch.getParameterType ( )

Provide the type of 'Targets' parameter since it is not a standard python type.

Reimplemented from Behavior.Behavior.

VisibilitySwitch.VisibilitySwitch.setVisibleIndex ( )
VisibilitySwitch.VisibilitySwitch.getVisibleIndex ( )
VisibilitySwitch.VisibilitySwitch.cycle ( )

Shows the next target, hiding the one that was previously visible.

VisibilitySwitch.VisibilitySwitch.update ( )

Implement this method in subclasses to perform the actual behavior.

timestep is in seconds.

Reimplemented from Behavior.Behavior.


VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch
VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch VisibilitySwitch.VisibilitySwitch