From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- ...xelmappers.C5SignMapper.C5SignMapper-class.html | 347 +++++++++++++++++++++ 1 file changed, 347 insertions(+) create mode 100644 html/SmootLight.pixelmappers.C5SignMapper.C5SignMapper-class.html (limited to 'html/SmootLight.pixelmappers.C5SignMapper.C5SignMapper-class.html') diff --git a/html/SmootLight.pixelmappers.C5SignMapper.C5SignMapper-class.html b/html/SmootLight.pixelmappers.C5SignMapper.C5SignMapper-class.html new file mode 100644 index 0000000..7eef0ea --- /dev/null +++ b/html/SmootLight.pixelmappers.C5SignMapper.C5SignMapper-class.html @@ -0,0 +1,347 @@ + + + + + SmootLight.pixelmappers.C5SignMapper.C5SignMapper + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package pixelmappers :: + Module C5SignMapper :: + Class C5SignMapper + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class C5SignMapper

source code

+
+                                    object --+        
+                                             |        
+operationscore.SmootCoreObject.SmootCoreObject --+    
+                                                 |    
+            operationscore.PixelMapper.PixelMapper --+
+                                                     |
+                                                    C5SignMapper
+
+ +
+

C5SignMapper is a modification to SimpleMapper which maps events to + the nearest Pixel. In addtion, it also maps sign artifacts (letters, + logo, etc) to their representative locations if given in the form + "ts rs :: conditions" It also supports strings of the form: + {x}>5, {y}<10, {x}*{y}<{x}, etc. (Conditons, separated by + commas. and and or may also be used).

+ + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
mappingFunction(self, + eventLocation, + screen)
+ Takes a Screen and event location and returns a list of tuples + (pixel,weight) with sum(weights)=1
+ source code + +
+ +
+

Inherited from operationscore.PixelMapper.PixelMapper: + init, + mapEvent +

+

Inherited from operationscore.SmootCoreObject.SmootCoreObject: + __contains__, + __getitem__, + __getiter__, + __init__, + __setitem__, + acquireLock, + addDieListener, + className, + die, + releaseLock, + removeDieListener, + validateArgDict, + validateArgs +

+

Inherited from object: + __delattr__, + __format__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __sizeof__, + __str__, + __subclasshook__ +

+
+ + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+   + + signPosition = {'bs': {'1': [(4, 2)], '2': [(10, 2)], '3': [(1... +
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

mappingFunction(self, + eventLocation, + screen) +

+
source code  +
+ +

Takes a Screen and event location and returns a list of tuples + (pixel,weight) with sum(weights)=1

+
+
Overrides: + operationscore.PixelMapper.PixelMapper.mappingFunction +
(inherited documentation)
+ +
+
+
+
+ + + + + + +
+ + + + + +
Class Variable Details[hide private]
+
+ +
+ +
+

signPosition

+ +
+
+
+
Value:
+
+{'bs': {'1': [(4, 2)],
+        '2': [(10, 2)],
+        '3': [(16, 2)],
+        '4': [(22, 2)],
+        '5': [(27, 2)],
+        '6': [(33, 2)],
+        '7': [(39, 2)],
+        '8': [(44, 2)],
+...
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3