Package DejaVu :: Package scenarioInterface :: Module actor :: Class DejaVuSperesRadiiActor
[hide private]
[frames] | no frames]

Class DejaVuSperesRadiiActor

source code

  scenario.actor.Actor --+        
                         |        
scenario.actor.CustomActor --+    
                             |    
                   DejaVuActor --+
                                 |
                                DejaVuSperesRadiiActor

This actor manages the near and far camera's atributes

Instance Methods [hide private]
  __init__(self, name, object, initialValue=None, datatype=<class scenario.datatypes.FloatVarType at 0xb6dc3e6c>, interp=<class scenario.interpolators.FloatVarScalarInterpolator at 0xb6dc3b6c>)
Constructor of the Actor object, arguments: object: Python object on which to operate name: Name of this Actor, This name has to be unique among the list of ActorDescriptor in an Director setFunction: function to called at each time step.
  setValue(self, value)
  getValue(self)

Inherited from scenario.actor.CustomActor: checkFunction, getValueFromObject

Inherited from scenario.actor.Actor: deleteKeyFrame, getInterval, getLastFrame, getValueAt, getValueGenerator, isFullRange, setKeyframe, setValueGenerator


Method Details [hide private]

__init__(self, name, object, initialValue=None, datatype=<class scenario.datatypes.FloatVarType at 0xb6dc3e6c>, interp=<class scenario.interpolators.FloatVarScalarInterpolator at 0xb6dc3b6c>)
(Constructor)

source code 

Constructor of the Actor object,

arguments:
    object:            Python object on which to operate
    name:              Name of this Actor,  This name has to be unique
                       among the list of ActorDescriptor in an Director
    setFunction:       function to called at each time step.
                       The function will be called using  func(*(actor,value))
    getFunction=None:  [optional] function that can be called to get the
                       current value of the attribute managed by this actor
                       The function and its arguments have to be specified as a
                       3-tuple (func, *args, **kw). It will be called using
                       func(*(object,)+args), **kw) if it is a function
                       or func(*args, **kw) if it is a method
   interp              interpreter class
   initialValue        initial value of the attribute
   dataType            type of the attribute value 
   

Overrides: DejaVuActor.__init__

setValue(self, value)

source code 
None
Overrides: DejaVuActor.setValue

getValue(self)

source code 
None