Download Visualisation, interpretation and use of location

Transcript
users share an application and access to data needs to be controlled through an appropriate
interface.
Secondly, in an environment running lots of such applications there are inevitably going to
be clashes. In principle every application can be associated with one or more regions. The
problem occurs when applications have overlapping operating regions. An event can have different meanings according to which application is active. In GUI environment this is handled
by the fact that only one application’s Controller is interpreting events at any one time. I.e.
only one application is in focus, the one on top. So what is required, is a mechanism to keep
track of which regions are being used by which application and either prevent overlap or allow a
hierarchy and application switching. Note the similarity to a GUI environment that deals with
this problem in an exemplary manner.
In the architecture presented the Context component is associated with exactly one region.
Having only one Context component that is remotely accessible for all applications is the most
obvious way to implement this using our architecture. As far as the interpretation of events is
concerned, this architecture is very flexible. As soon as a context, in our case region, is entered
the interpretation of whatever takes place while in that region is performed by Controllers
attached to that particular Context. Each Controller affects one active object. More than one
Controller can be interpreting user action simultaneously. On the other hand this framework
provides the facility of activating and deactivating Controllers. So, exclusive control can indeed
be presented, i.e. only one active object will react to a user action.
5.10
Conclusion
We started the chapter off by recognising the need for a framework that would integrate a
Ubicomp backend with Augmented Reality and add Interactivity on top of it all. In order
to accomplish this ambitious task we needed to separate responsibilities of the framework as
opposed to the ones of an application. We constructed an application base that can be used as
a skeleton to build location-aware Augmented Reality applications on.
This mainly involved structuring callbacks, polling and graph-building mechanisms in a
manner that they stay out of the developers way. A new architecture was proposed that would
make developing and prototyping applications easier.
In addition to that an architecture was designed that inherently supports building flexible and
extensible interactive location-aware applications. It allows the implementation to communicate
itself to the user to great detail. A new design pattern based on MVC was introduced in order
to elegantly handle the interplay of explicit and implicit interaction so often encountered in
location-aware environments. In this framework the emphasis is on good application design,
location-awareness just being one of many functionalities embedded within the application.
80