Package dvedit :: Module core :: Class Stack
[hide private]
[frames] | no frames]

Class Stack



object --+    
         |    
      Clip --+
             |
            Stack

Allows clips to be stacked on top of each other like tracks on a timeline

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__new__(T, S, ...)
Returns: a new object with type S, a subtype of T
 
add(...)
Adds an item - a Stream or another Layer - onto the timeline of this layer.
 
getFrames(...)
Read all frames which are eligible for rendering at current frame pos
 
reduceFrames(...)
collapses the set of frames via overlay effect, leaving just one frame

Inherited from Clip: __add__, __delitem__, __getitem__, __getslice__, __iter__, __len__, __mul__, __radd__, __rmul__, __setitem__, addKeyframe, append, extend, failIfLocked, getParm, getParms, render, setParms, transition, view

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]
  clips
  name
  uiChildren
generates and returns a list of child nodes for the use of UIs
  uiTitle
generates and returns a string title to use in user interfaces
  verbosity

Inherited from Clip: keyframes, numFrames, sizeLocked

Inherited from Clip (private): _isPal

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__

__new__(T, S, ...)

 
Returns:
a new object with type S, a subtype of T

Overrides: Clip.__new__

add(...)

 

Adds an item - a Stream or another Layer - onto the timeline of this layer.

If time boundaries overlap, then items added earlier will take precedence over items added later

Arguments:
  • startpos - frame number at which to place this item within this layer - set to 0 (default) to place it at the beginning of this layer.
  • length - maximum length in frames to take from this item, default 0 (all of it)
  • cutpos - offset as frame number at which to take frames from item