SoWinTouchScreen Class |
Translates and reports windows messages for the touch screen device.
Namespace: OIV.Inventor.Touch.Devices
The SoWinTouchScreen type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoWinTouchScreen | Constructor. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetTouchManager | Returns the SoTouchManager. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWindowSize | Gets the size of the window this device is registered for. |
![]() | SetWindowSize | Sets the size of the window this device is registered for. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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 SoWinRenderArea, the device is able to generate Open Inventor touch events (see SoTouchEvent) and gesture events (see SoGestureEvent) that can be handled (for example) using an SoEventCallback node.
It analyses each touch event and updates events in the SoTouchEvent table of SoTouchManager.
Note: Unlike SoWinMouse and SoWinKeyboard, this device must be explicitly registered with the render area / viewer by the application.
SoWinExaminerViewer viewer = new SoWinExaminerViewer( this ); SoWinTouchScreen touchScreenDevice = new SoWinTouchScreen( this ); viewer.RegisterDevice( touchScreenDevice );