Article View: sci.virtual-worlds
Article #2904TECH: Arbitrary input devices
From: Technically Sweet
Date: Thu, 31 Dec 1992 19:48
Date: Thu, 31 Dec 1992 19:48
23 lines
1512 bytes
1512 bytes
X is a mess and structurally all wrong for VR work. My system uses this technique: data is fed to X number of input filter objects. When a particular object decides that input has happened, it sends an "Input Happened" message to its interested parties with itself as the argument. The receiver object then engages in a dialogue with the input filter object. Input filters belong to a class structure. The receiver can query the type of the input filter and can talk to different types of filters that it knows how to talk to. Since the filters are in a class structure, the receiver can be dumb and only know how to talk to a parent class of the actual filter. So, if 6dof is a subclass of 3dof, the receiver can talk to a 6dof input as if it were a 3dof input and just get some of the input axes. -- Lance Norskog Data is not information is not knowledge is not wisdom.
Technical Details
Message-ID:
<1ib69aINNr9b@shelley.u.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!stein.u.washington.edu!hlabReferences:
<1992Dec12.041710.16989@u.washington.edu> <1992Dec17.203714.8346@u.wShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!stein.u.washington.edu!hlab From: thinman@netcom.com (Technically Sweet) Newsgroups: sci.virtual-worlds Subject: TECH: Arbitrary input devices Message-ID: <1ib69aINNr9b@shelley.u.washington.edu> Date: 31 Dec 92 19:48:02 GMT References: <1992Dec12.041710.16989@u.washington.edu> <1992Dec17.203714.8346@u.w Organization: International Foundation for Internal Freedom Lines: 23 Approved: cyberoid@milton.u.washington.edu NNTP-Posting-Host: stein.u.washington.edu Originator: hlab@stein.u.washington.edu