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

Class Sequence



object --+    
         |    
      Clip --+
             |
            Sequence

Allows clips to be arranged in a timeline, analogous to a track. If clips are added with gaps, these gaps will be filled with BlankClip objects

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.
 
filter(...)
Applies a given filter to a region of this clip

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]
  filters
  items
  name
  uiChildren
generates and returns a list of child nodes for the use of UIs
  verbosity

Inherited from Clip: keyframes, numFrames, sizeLocked, uiTitle

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 to place it at the beginning of this layer, or -1 to start immediately after any previous clip in this layer). Default -1
  • 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

filter(...)

 

Applies a given filter to a region of this clip

Arguments:
  • filterClass - a subclass of dvedit.core.Filter
  • starttime - first frameno within this sequence at which filter should come active - defaults to start of sequence
  • duration - number of frames for which this filter is to be active - defaults to continuing to the end of this sequence
  • other args - get passed to filter constructor
Keywords:
  • all keywords get passed to filter constructor as is
Returns:
  • the new Filter object