The AR Workbench: A Complete Co-located Reach-in Mirror-Based ...
The AR Workbench: A Complete Co-located Reach-in Mirror-Based ...
The AR Workbench: A Complete Co-located Reach-in Mirror-Based ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Marlon Richert, Master’s <strong>The</strong>sis, Friday, 23 February, 2007<br />
52<br />
one of its Target's Regions. When an Interaction goes out of scope, it<br />
automatically deletes its callback structure.<br />
Note: All Interactions are <strong>in</strong>itially disabled. After creation, you will have to call<br />
setEnabled(True) to enable them.<br />
Methods def<strong>in</strong>ed here:<br />
__del__(self)<br />
Deletes all of this Interaction's items <strong>in</strong> IPF. Called by the garbage collector<br />
when it is about to destroy this Interaction.<br />
__<strong>in</strong>it__(self, role, target)<br />
Creates an Interaction between the given Role and Target, and adds it<br />
to them and to this class's dict of <strong>in</strong>stances, silenty replac<strong>in</strong>g any exist<strong>in</strong>g<br />
<strong>in</strong>stance this class has for the same (Role, Target) pair.<br />
getID(self)<br />
Returns a str<strong>in</strong>g generated from the names of the Objs of this<br />
Interaction's Actor and Target.<br />
getRole(self)<br />
Returns this Interaction's Role.<br />
getTarget(self)<br />
Returns this Interaction's Target.<br />
isEnabled(self)<br />
Returns whether this Interaction is enabled or not. When a new<br />
Interaction is created, the default value is False.<br />
see setEnabled(...)<br />
perform(self)<br />
Causes this Interaction's Role to act on this Interaction's Target.<br />
setEnabled(self, boolean)<br />
Enables or disables this Interaction. Disabl<strong>in</strong>g this Interaction<br />
temporarily deactivates its callback structure; enabl<strong>in</strong>g it reactives the callback<br />
structure aga<strong>in</strong>.<br />
param boolean True to enable or False to disable<br />
Static methods def<strong>in</strong>ed here:<br />
get(id)<br />
Returns the Interaction <strong>in</strong>stance with the given ID.<br />
param id a str<strong>in</strong>g<br />
raises KeyError if no such <strong>in</strong>stance exists