omegalib  13.1
omicronConnector::EventData Struct Reference

#include <omicronConnectorClient.h>

Public Member Functions

bool getExtraDataVector3 (int index, float *data) const
 
float getExtraDataFloat (int index) const
 
int getExtraDataInt (int index) const
 

Public Attributes

unsigned int timestamp
 
unsigned int sourceId
 
unsigned int deviceTag
 
unsigned int serviceType
 
unsigned int type
 
unsigned int flags
 
float posx
 
float posy
 
float posz
 
float orx
 
float ory
 
float orz
 
float orw
 
unsigned int extraDataType
 
unsigned int extraDataItems
 
unsigned int extraDataMask
 
unsigned char extraData [ExtraDataSize]
 

Static Public Attributes

static const int ExtraDataSize = 1024
 

Additional Inherited Members

- Public Types inherited from omicron::EventBase
enum  ServiceType {
  ServiceTypePointer, ServiceTypeMocap, ServiceTypeKeyboard, ServiceTypeController,
  ServiceTypeUi, ServiceTypeGeneric, ServiceTypeBrain, ServiceTypeWand,
  ServiceTypeSpeech
}
 Enumerates the service classes supported by omicron. More...
 
enum  Type {
  Select = 0, Toggle = 1, ChangeValue = 2, Update = 3,
  Move = 4, Down = 5, Up = 6, Trace = 7,
  Connect = Trace, Untrace = 8, Disconnect = Untrace, Click = 9,
  Zoom = 15, Split = 18, Rotate = 21, Null = 666
}
 #PYAPI Supported event types. More...
 
enum  Flags {
  Left = 1 << 0, Button1 = 1 <<0, Right = 1 << 1, Button2 = 1 << 1,
  Middle = 1 << 2, Button3 = 1 << 2, Ctrl = 1 << 3, SpecialButton1 = 1 << 3,
  Alt = 1 << 4, SpecialButton2 = 1 << 4, Shift = 1 << 5, SpecialButton3 = 1 << 5,
  Button4 = 1 << 6, Enter = 1 << 6, Button5 = 1 << 7, Backspace = 1 << 7,
  Button6 = 1 << 8, Button7 = 1 << 9, ButtonUp = 1 << 10, ButtonDown = 1 << 11,
  ButtonLeft = 1 << 12, ButtonRight = 1 << 13, Button8 = 1 << 15, Button9 = 1 << 16,
  Processed = 1 << 14, Exclusive = 1 << 17, User = 1 << 18
}
 #PYAPI Defines some generic input event flags More...
 
enum  ExtraDataType {
  ExtraDataNull, ExtraDataFloatArray, ExtraDataIntArray, ExtraDataVector3Array,
  ExtraDataString, ExtraDataKinectSpeech
}
 
enum  OmicronSkeletonJoint {
  OMICRON_SKEL_HIP_CENTER, OMICRON_SKEL_HEAD, OMICRON_SKEL_NECK, OMICRON_SKEL_TORSO,
  OMICRON_SKEL_WAIST, OMICRON_SKEL_LEFT_COLLAR, OMICRON_SKEL_LEFT_SHOULDER, OMICRON_SKEL_LEFT_ELBOW,
  OMICRON_SKEL_LEFT_WRIST, OMICRON_SKEL_LEFT_HAND, OMICRON_SKEL_LEFT_FINGERTIP, OMICRON_SKEL_LEFT_HIP,
  OMICRON_SKEL_LEFT_KNEE, OMICRON_SKEL_LEFT_ANKLE, OMICRON_SKEL_LEFT_FOOT, OMICRON_SKEL_RIGHT_COLLAR,
  OMICRON_SKEL_RIGHT_SHOULDER, OMICRON_SKEL_RIGHT_ELBOW, OMICRON_SKEL_RIGHT_WRIST, OMICRON_SKEL_RIGHT_HAND,
  OMICRON_SKEL_RIGHT_FINGERTIP, OMICRON_SKEL_RIGHT_HIP, OMICRON_SKEL_RIGHT_KNEE, OMICRON_SKEL_RIGHT_ANKLE,
  OMICRON_SKEL_RIGHT_FOOT, OMICRON_SKEL_SPINE, OMICRON_SKEL_SHOULDER_CENTER, OMICRON_SKEL_LEFT_THUMB,
  OMICRON_SKEL_RIGHT_THUMB, OMICRON_SKEL_COUNT
}
 Joint enumerations for Kinect (Uses OpenNI's enumerations with additional Kinect for Windows values) See MSKinectService.h, XnTypes.h (OpenNI), or NuiSensor.h (Kinect for Windows) More...
 
enum  DeviceTagMask { DTServiceIdMask = 0x0000ffff, DTUserIdMask = 0xffff0000, DTUserIdOffset = 16, DTServiceIdOffset = 0 }
 Bit masks used to read the service id and user id from the event device tag. More...
 
+ Inheritance diagram for omicronConnector::EventData:

Member Function Documentation

float omicronConnector::EventData::getExtraDataFloat ( int  index) const
inline
int omicronConnector::EventData::getExtraDataInt ( int  index) const
inline
bool omicronConnector::EventData::getExtraDataVector3 ( int  index,
float *  data 
) const
inline

Member Data Documentation

unsigned int omicronConnector::EventData::deviceTag
unsigned char omicronConnector::EventData::extraData[ExtraDataSize]
unsigned int omicronConnector::EventData::extraDataItems
unsigned int omicronConnector::EventData::extraDataMask
const int omicronConnector::EventData::ExtraDataSize = 1024
static
unsigned int omicronConnector::EventData::extraDataType
unsigned int omicronConnector::EventData::flags
float omicronConnector::EventData::orw
float omicronConnector::EventData::orx
float omicronConnector::EventData::ory
float omicronConnector::EventData::orz
float omicronConnector::EventData::posx
float omicronConnector::EventData::posy
float omicronConnector::EventData::posz
unsigned int omicronConnector::EventData::serviceType
unsigned int omicronConnector::EventData::sourceId
unsigned int omicronConnector::EventData::timestamp
unsigned int omicronConnector::EventData::type

The documentation for this struct was generated from the following file: