struct IKinectInput { };
IInput.h
virtual ~IKinectInput();
Draws skeleton, depth & image buffer info on screen
virtual void DebugDraw() = 0;
virtual void EnableSeatedSkeletonTracking(bool bValue) = 0;
Summary;: Enables/Disables seated skeleton tracking
Enable wave gesture tracking
virtual void EnableWaveGestureTracking(bool bEnable) = 0;
Describes the body space coordinate system relative to camera space
virtual bool GetBodySpaceHandles(SKinBodyShapeHandles& bodyShapeHandles) = 0;
virtual uint32 GetClosestTrackedSkeleton() const = 0;
Summary;: Get the skeleton that is closest to the camera
virtual bool GetSkeletonDefaultData(uint32 iUser, SKinSkeletonDefaultData & skeletonDefaultData) const = 0;
Summary;: Get default skeleton data
virtual bool GetSkeletonRawData(uint32 iUser, SKinSkeletonRawData & skeletonRawData) const = 0;
Summary;: Get raw skeleton data
virtual const char* GetUserStatusMessage() = 0;
Get wave progress
virtual float GetWaveGestureProgress(DWORD* pTrackingId) = 0;
Detected intent to play
virtual bool IdentityDetectedIntentToPlay(DWORD dwTrackingId) = 0;
Call this function to start identifying a player
virtual bool IdentityIdentify(DWORD dwTrackingId, KinIdentifyCallback callbackFunc, void* pData) = 0;
virtual bool Init() = 0;
virtual bool IsEnabled() = 0;
Load the default grammar
virtual bool KinSpeechLoadDefaultGrammar() = 0;
Set the kinect speech event interests
virtual bool KinSpeechSetEventInterest(unsigned long ulEvents) = 0;
Start voice recognition
virtual bool KinSpeechStartRecognition() = 0;
Stop voice recognition
virtual void KinSpeechStopRecognition() = 0;
Adds an Arc rail - The most common used way for menu navigation
virtual bool RegisterArcRail(int gripId, int railId, const Vec2& vScreenPos, const Vec3& vDir, float fLenght, float fDeadzoneLength, float fToleranceConeAngle) = 0;
Returns true if the rail is successfully added
Adds a Hover time item. fTimeToCommit is the time it from when the player is hovering over the item up until it starts counting
virtual bool RegisterHoverTimeRail(int gripId, int railId, const Vec2& vScreenPos, float fHoverTime, float fTimeTillCommit, SKinGripShape* pGripShape = NULL) = 0;
Returns true if the rail is successfully added
virtual void RegisterInputListener(IKinectInputListener* pInputListener, const char* name) = 0;
Enables / Disables a particular grammar
virtual void SetEnableGrammar(const string & grammarName, bool enable) = 0;
Disable the Kinect speech features
virtual void SpeechDisable() = 0;
Enable the Kinect speech features
virtual bool SpeechEnable() = 0;
Clears all rails
virtual void UnregisterAllRails() = 0;
virtual void UnregisterArcRail(int gripId) = 0;
Unregister a specific grip. You can only remove the full grip, not one rail at a time
virtual void UnregisterHoverTimeRail(int gripId) = 0;
virtual void UnregisterInputListener(IKinectInputListener* pInputListener) = 0;
virtual void Update() = 0;
Updates stored alignment data to current skeletal data
virtual void UpdateSkeletonAlignment(uint32 skeletonIndex);