-
Notifications
You must be signed in to change notification settings - Fork 0
/
sequence.py
34 lines (27 loc) · 1017 Bytes
/
sequence.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from collections import OrderedDict
##########################################################
class Sequence:
def __init__(self, name, path, startFrame, endFrame, attributes,
nz, ext, imgFormat, gtRect, init_rect):
self.name = name
self.path = path
self.startFrame = startFrame
self.endFrame = endFrame
self.attributes = attributes
self.nz = nz
self.ext = ext
self.imgFormat = imgFormat
self.gtRect = gtRect
self.init_rect = init_rect
self.__dict__ = OrderedDict([
('name', self.name),
('path', self.path),
('startFrame', self.startFrame),
('endFrame', self.endFrame),
('attributes', self.attributes),
('nz', self.nz),
('ext', self.ext),
('imgFormat', self.imgFormat),
('init_rect', self.init_rect),
('gtRect', self.gtRect)])
##########################################################