Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

VA2440 Class 04

437 views

Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this

VA2440 Class 04

  1. 1. VA2440 – Class 04<br />Graphical User Interface<br />
  2. 2. Pointing device<br />
  3. 3. Mouse<br />
  4. 4. Mouse states<br />Mouse idle<br />move<br />press<br />release<br />stop<br />Mouse down<br />Mouse move<br />press<br />move<br />release<br />stop<br />Mouse drag<br />
  5. 5. Mouse states and actions<br />We can assign meanings to the following states and actions.<br /><ul><li>Mouse idle
  6. 6. Mouse down
  7. 7. Mouse move
  8. 8. Mouse drag
  9. 9. Press
  10. 10. Release
  11. 11. Move
  12. 12. Stop</li></li></ul><li>Mouse actions<br />By using the mouse states and actions in previous slide, can you describe the following action words?<br />Approach<br />Perform<br />Commit<br />Retreat<br />
  13. 13. GEM implementation<br />We are going to use<br />gemmouse<br />To try out some of the experiments.<br />
  14. 14. GEM mouse<br />Obtain mouse x and y positions.<br />Normalize mouse x and y positions.<br />Relation with the co-ordinates system.<br />
  15. 15. Co-ordinates <br />
  16. 16. Distance<br />
  17. 17. Collision<br />

×