All Pages
Demo applications

Table of Contents

Applications listed below are mostly meant for calibrating and testing the displays. The documentation for more comprehensive example applications can be found here.

MultiTouch Bench

MultiTouch Bench is a simple application that lets you interact with the basic elements of Cornerstone applications.

To start MultiTouch Bench you can use the following commands in the terminal, or double-click the application icons in the file manager. In the following the abbreviation "x.y.z" stands for the Cornerstone version you are using, for example "2.0.0".

  • Windows
        cd C:\\Cornerstone-x.y.z\\bin
        MultiTouchBench.exe
    
  • Linux
        /opt/cornerstone-x.y.z/bin/MultiTouchBench
    
  • OS X
        /opt/cornerstone-x.y.z/bin/MultiTouchBench.app/Contents/MacOS/MultiTouchBench
    

Twinkle

Twinkle is a simple drawing application. It demonstrates basic interaction and how to acquire the input from the touchscreen. The application has different styles for the graphics that can be switched with the 's' key. You can clear the screen with 'z' key or tapping "CLEAR" text in the upper left corner.

To start Twinkle you can use the following commands in the terminal, or double-click the application icons in the file manager. In the following the abbreviation "x.y.z" stands for the Cornerstone version you are using, for example "2.0.0".

  • Windows
        cd C:\\Cornerstone-x.y.z\\bin
        Twinkle.exe
    
  • Linux
        /opt/cornerstone-x.y.z/bin/Twinkle
    
  • OS X
        /opt/cornerstone-x.y.z/bin/Twinkle.app/Contents/MacOS/Twinkle
    

Canvas

Canvas is a simple media organizer application that includes several working spaces with media elements (pictures, videos and text) in them. Canvas also serves as an example application for using the widget toolkit in Cornerstone.

To function, Canvas needs data in the form of a directory hierarchy. You can specify the main search directory with the –dir argument, that is given in the terminal, when you start the application.

  • Windows
        cd C:\\Cornerstone-x.y.z\\bin
        Canvas.exe --dir my-media
    
  • Linux
        /opt/cornerstone-x.y.z/bin/Canvas --dir my-media
    
  • OSX
        /opt/cornerstone-x.y.z/bin/Canvas.app/Contents/MacOS/Canvas --dir my-media
    

Each subfolder under the main media directory will make up an individual working space in the application. File contents of each subfolder make up the items inside their respective working space.

Typical directory structure might be:

  • my-media/
    • My-Dear-Friends/
      • john-wayne.jpg
      • luke-skywalker.jpg
    • Animals/
      • huge-lion.jpg
      • tiny-lion.jpg
      • wolf-dances-with-sheep.avi
    • Toys/
      • menacing-phone.jpg
      • daddy-loves-legos.avi
      • cute-teddy-bear.jpg