NITE 1.5.1 - API Reference

XnVDirection.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INLINE_FUNC

Typedefs

typedef enum XnVDirection XnVDirection
typedef enum XnVAxis XnVAxis

Enumerations

enum  XnVDirection {
  DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_UP, DIRECTION_DOWN,
  DIRECTION_BACKWARD, DIRECTION_FORWARD, DIRECTION_ILLEGAL
}
enum  XnVAxis { AXIS_X, AXIS_Y, AXIS_Z, AXIS_ILLEGAL }

Functions

INLINE_FUNC XnVAxis XnVDirectionAsAxis (XnVDirection eDir)
INLINE_FUNC const XnChar * XnVDirectionAsString (XnVDirection eDir)

Define Documentation

#define INLINE_FUNC

Definition at line 40 of file XnVDirection.h.


Typedef Documentation

typedef enum XnVAxis XnVAxis

The available axes

typedef enum XnVDirection XnVDirection

Type for axis-aligned directions


Enumeration Type Documentation

enum XnVAxis

The available axes

Enumerator:
AXIS_X 
AXIS_Y 
AXIS_Z 
AXIS_ILLEGAL 

Definition at line 29 of file XnVDirection.h.

Type for axis-aligned directions

Enumerator:
DIRECTION_LEFT 
DIRECTION_RIGHT 
DIRECTION_UP 
DIRECTION_DOWN 
DIRECTION_BACKWARD 
DIRECTION_FORWARD 
DIRECTION_ILLEGAL 

Definition at line 15 of file XnVDirection.h.


Function Documentation

INLINE_FUNC XnVAxis XnVDirectionAsAxis ( XnVDirection  eDir)

Translate from a direction to the axis it follows

Definition at line 46 of file XnVDirection.h.

References AXIS_ILLEGAL, AXIS_X, AXIS_Y, AXIS_Z, DIRECTION_BACKWARD, DIRECTION_DOWN, DIRECTION_FORWARD, DIRECTION_LEFT, DIRECTION_RIGHT, and DIRECTION_UP.

INLINE_FUNC const XnChar* XnVDirectionAsString ( XnVDirection  eDir)

Translate from a direction to its name

Definition at line 67 of file XnVDirection.h.

References DIRECTION_BACKWARD, DIRECTION_DOWN, DIRECTION_FORWARD, DIRECTION_LEFT, DIRECTION_RIGHT, and DIRECTION_UP.