Neonode zForce(TM) SDK
TouchMessage.h
Go to the documentation of this file.
1 
9 #ifndef MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
10 #define MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
11 
12 #ifndef ZFORCECOMMON_H
13  #error Please include "zForceCommon.h" before this file.
14 #endif // ZFORCECOMMON_H
15 
17 {
19  uint32_t Id;
22  uint32_t SizeX;
23  bool HasSizeX;
24  uint32_t SizeY;
25  bool HasSizeY;
26  uint32_t SizeZ;
27  bool HasSizeZ;
30  uint32_t Confidence;
32  uint32_t Pressure;
33  bool HasPressure;
34  uint64_t Timestamp;
35  bool HasTimestamp;
36 };
37 
53 DLLINTERNAL TouchMessage * TouchMessage_New (MessageGroup messageGroup,
54  uint32_t size);
55 
56 #endif // MESSAGE_TOUCHMESSAGE_TOUCHMESSAGE_H
57 
TouchOrientation Orientation
Orientation of the object.
Definition: TouchMessage.h:28
bool HasSizeZ
Is the size reported for Z?
Definition: TouchMessage.h:27
bool HasTimestamp
Is Timestamp reported?
Definition: TouchMessage.h:35
uint32_t Pressure
Pressure of the object.
Definition: TouchMessage.h:32
uint32_t Confidence
Detection confidence.
Definition: TouchMessage.h:30
bool HasSizeX
Is the size reported for X?
Definition: TouchMessage.h:23
bool HasOrientation
Is Orientation reported?
Definition: TouchMessage.h:29
DLLINTERNAL TouchMessage * TouchMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for TouchMessage.
Definition: TouchMessage.h:16
bool HasConfidence
Is Confidence reported?
Definition: TouchMessage.h:31
bool HasSizeY
Is the size reported for Y?
Definition: TouchMessage.h:25
TouchOrientation
Definition: zForceTypes.h:110
TouchEvent
Definition: zForceTypes.h:100
uint32_t SizeY
Size of the object on the Y axis.
Definition: TouchMessage.h:24
bool HasPressure
Is Pressure reported?
Definition: TouchMessage.h:33
TouchEvent Event
Event of the Touch.
Definition: TouchMessage.h:20
uint32_t SizeZ
Size of the object on the Z axis.
Definition: TouchMessage.h:26
Message
Base Message.
Definition: TouchMessage.h:18
uint32_t SizeX
Size of the object on the X axis.
Definition: TouchMessage.h:22
CartesianCoordinates
X, Y, Z coordinates.
Definition: TouchMessage.h:21
uint64_t Timestamp
Message timestamp.
Definition: TouchMessage.h:34
uint32_t Id
Id of the Touch.
Definition: TouchMessage.h:19