38 |
self.vs.matcher.add(cs, n, "NADIR") |
self.vs.matcher.add(cs, n, "NADIR") |
39 |
return n |
return n |
40 |
def scene(self, vs): |
def scene(self, vs): |
|
print "SCENE" |
|
41 |
self.vs = vs |
self.vs = vs |
42 |
self.cs = { } |
self.cs = { } |
43 |
|
|
75 |
self.mainCS = main |
self.mainCS = main |
76 |
|
|
77 |
def link(self, *args): |
def link(self, *args): |
|
print "Store link:",args |
|
78 |
self.links.append(args) |
self.links.append(args) |
79 |
def linkReally(self, direction, anchorCS, otherNode, linkId, otherAnchor): |
def linkReally(self, direction, anchorCS, otherNode, linkId, otherAnchor): |
|
print 'anchorCS: ',anchorCS |
|
80 |
anchorUnit = self.vs.unitSqCS(anchorCS, "UN") |
anchorUnit = self.vs.unitSqCS(anchorCS, "UN") |
81 |
anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5) |
anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5) |
82 |
x = self.ctrx |
x = self.ctrx |