Click or drag to resize
SoWinTouchScreen Class

Translates and reports windows messages for the touch screen device.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.Win.DevicesSoWinDevice
      OIV.Inventor.Touch.DevicesSoWinTouchScreen

Namespace: OIV.Inventor.Touch.Devices
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoWinTouchScreen : SoWinDevice

The SoWinTouchScreen type exposes the following members.

Constructors
  NameDescription
Public methodSoWinTouchScreen

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetTouchManager
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWindowSize

Gets the size of the window this device is registered for.

(Inherited from SoWinDevice.)
Public methodSetWindowSize

Sets the size of the window this device is registered for.

(Inherited from SoWinDevice.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class represents a touch screen input device for the Microsoft Windows OS. It translates and manages messages generated by the touch screen. When the touch screen device is registered in an OIV.Inventor.Win.SoWinRenderArea, the device is able to generate Open Inventor touch events (see OIV.Inventor.Touch.Events.SoTouchEvent) and gesture events (see OIV.Inventor.Gestures.Events.SoGestureEvent) that can be handled (for example) using an OIV.Inventor.Nodes.SoEventCallback node.

It analyses each touch event and updates events in the OIV.Inventor.Touch.Events.SoTouchEvent table of OIV.Inventor.Touch.SoTouchManager.

Note: Unlike OIV.Inventor.Win.Devices.SoWinMouse and OIV.Inventor.Win.Devices.SoWinKeyboard, this device must be explicitly registered with the render area / viewer by the application.

EXAMPLE

SoWinExaminerViewer viewer = new SoWinExaminerViewer( this );
SoWinTouchScreen touchScreenDevice = new SoWinTouchScreen( this );
viewer.RegisterDevice( touchScreenDevice );

See Also