IKinectInput

C++
struct IKinectInput {
};
File

IInput.h

IKinectInput::~IKinectInput Destructor
C++
virtual ~IKinectInput();
IKinectInput::DebugDraw Method

Draws skeleton, depth & image buffer info on screen

C++
virtual void DebugDraw() = 0;
IKinectInput::EnableSeatedSkeletonTracking Method
C++
virtual void EnableSeatedSkeletonTracking(bool bValue) = 0;
Description

Summary;: Enables/Disables seated skeleton tracking

IKinectInput::EnableWaveGestureTracking Method

Enable wave gesture tracking

C++
virtual void EnableWaveGestureTracking(bool bEnable) = 0;
IKinectInput::GetBodySpaceHandles Method

Describes the body space coordinate system relative to camera space

C++
virtual bool GetBodySpaceHandles(SKinBodyShapeHandles& bodyShapeHandles) = 0;
IKinectInput::GetClosestTrackedSkeleton Method
C++
virtual uint32 GetClosestTrackedSkeleton() const = 0;
Description

Summary;: Get the skeleton that is closest to the camera

IKinectInput::GetSkeletonDefaultData Method
C++
virtual bool GetSkeletonDefaultData(uint32 iUser, SKinSkeletonDefaultData & skeletonDefaultData) const = 0;
Description

Summary;: Get default skeleton data

IKinectInput::GetSkeletonRawData Method
C++
virtual bool GetSkeletonRawData(uint32 iUser, SKinSkeletonRawData & skeletonRawData) const = 0;
Description

Summary;: Get raw skeleton data

IKinectInput::GetUserStatusMessage Method
C++
virtual const char* GetUserStatusMessage() = 0;
IKinectInput::GetWaveGestureProgress Method

Get wave progress

C++
virtual float GetWaveGestureProgress(DWORD* pTrackingId) = 0;
IKinectInput::IdentityDetectedIntentToPlay Method

Detected intent to play

C++
virtual bool IdentityDetectedIntentToPlay(DWORD dwTrackingId) = 0;
IKinectInput::IdentityIdentify Method

Call this function to start identifying a player

C++
virtual bool IdentityIdentify(DWORD dwTrackingId, KinIdentifyCallback callbackFunc, void* pData) = 0;
IKinectInput::Init Method
C++
virtual bool Init() = 0;
IKinectInput::IsEnabled Method
C++
virtual bool IsEnabled() = 0;
IKinectInput::KinSpeechLoadDefaultGrammar Method

Load the default grammar

C++
virtual bool KinSpeechLoadDefaultGrammar() = 0;
IKinectInput::KinSpeechSetEventInterest Method

Set the kinect speech event interests

C++
virtual bool KinSpeechSetEventInterest(unsigned long ulEvents) = 0;
IKinectInput::KinSpeechStartRecognition Method

Start voice recognition

C++
virtual bool KinSpeechStartRecognition() = 0;
IKinectInput::KinSpeechStopRecognition Method

Stop voice recognition

C++
virtual void KinSpeechStopRecognition() = 0;
IKinectInput::RegisterArcRail Method

Adds an Arc rail - The most common used way for menu navigation

C++
virtual bool RegisterArcRail(int gripId, int railId, const Vec2& vScreenPos, const Vec3& vDir, float fLenght, float fDeadzoneLength, float fToleranceConeAngle) = 0;
Returns

Returns true if the rail is successfully added

IKinectInput::RegisterHoverTimeRail Method

Adds a Hover time item. fTimeToCommit is the time it from when the player is hovering over the item up until it starts counting

C++
virtual bool RegisterHoverTimeRail(int gripId, int railId, const Vec2& vScreenPos, float fHoverTime, float fTimeTillCommit, SKinGripShape* pGripShape = NULL) = 0;
Returns

Returns true if the rail is successfully added

IKinectInput::RegisterInputListener Method
C++
virtual void RegisterInputListener(IKinectInputListener* pInputListener, const char* name) = 0;
IKinectInput::SetEnableGrammar Method

Enables / Disables a particular grammar

C++
virtual void SetEnableGrammar(const string & grammarName, bool enable) = 0;
IKinectInput::SpeechDisable Method

Disable the Kinect speech features

C++
virtual void SpeechDisable() = 0;
IKinectInput::SpeechEnable Method

Enable the Kinect speech features

C++
virtual bool SpeechEnable() = 0;
IKinectInput::UnregisterAllRails Method

Clears all rails

C++
virtual void UnregisterAllRails() = 0;
IKinectInput::UnregisterArcRail Method
C++
virtual void UnregisterArcRail(int gripId) = 0;
IKinectInput::UnregisterHoverTimeRail Method

Unregister a specific grip. You can only remove the full grip, not one rail at a time

C++
virtual void UnregisterHoverTimeRail(int gripId) = 0;
IKinectInput::UnregisterInputListener Method
C++
virtual void UnregisterInputListener(IKinectInputListener* pInputListener) = 0;
IKinectInput::Update Method
C++
virtual void Update() = 0;
IKinectInput::UpdateSkeletonAlignment Method

Updates stored alignment data to current skeletal data

C++
virtual void UpdateSkeletonAlignment(uint32 skeletonIndex);