Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::XR::Hand::BoneIndex Class Reference

For each finger, 0 is the bone nearest the wrist. More...

Public Types

enum  Value {
  ROOT,
  WRIST,
  THUMB0,
  THUMB1,
  THUMB2,
  THUMB3,
  INDEX0,
  INDEX1,
  INDEX2,
  INDEX3,
  INDEX4,
  MIDDLE0,
  MIDDLE1,
  MIDDLE2,
  MIDDLE3,
  MIDDLE4,
  RING0,
  RING1,
  RING2,
  RING3,
  RING4,
  PINKY0,
  PINKY1,
  PINKY2,
  PINKY3,
  PINKY4
}
 

Public Member Functions

 BoneIndex (const G3D::String &x)
 
 BoneIndex (char v)
 
 BoneIndex (int v)
 
 BoneIndex (const G3D::Any &a)
 
 BoneIndex ()
 
 BoneIndex (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const BoneIndex ::Value other) const
 
bool operator!= (const BoneIndex other) const
 
BoneIndex operator+ (const int x) const
 
BoneIndexoperator++ ()
 
BoneIndexoperator+= (const int x)
 
BoneIndex operator- (const int x) const
 
BoneIndexoperator-- ()
 
BoneIndexoperator-= (const int x)
 
bool operator< (const BoneIndex other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const BoneIndex other) const
 
BoneIndexoperator= (const G3D::Any &a)
 
bool operator== (const BoneIndex ::Value other) const
 
bool operator== (const BoneIndex other) const
 
bool operator> (const BoneIndex other) const
 
bool operator> (const Value other) const
 
bool operator>= (const BoneIndex other) const
 
bool operator>= (const Value other) const
 
void serialize (G3D::BinaryOutput &b) const
 
G3D::Any toAny () const
 
const char * toString () const
 

Static Public Member Functions

static const char * classname ()
 
static int count ()
 
static Value nthValue (int n)
 
static const char * toString (int i, Value &v)
 

Public Attributes

enum G3D::XR::Hand::BoneIndex::Value value
 

Detailed Description

For each finger, 0 is the bone nearest the wrist.

Member Enumeration Documentation

◆ Value

Enumerator
ROOT 
WRIST 
THUMB0 
THUMB1 
THUMB2 
THUMB3 
INDEX0 
INDEX1 
INDEX2 
INDEX3 
INDEX4 
MIDDLE0 
MIDDLE1 
MIDDLE2 
MIDDLE3 
MIDDLE4 
RING0 
RING1 
RING2 
RING3 
RING4 
PINKY0 
PINKY1 
PINKY2 
PINKY3 
PINKY4 

Constructor & Destructor Documentation

◆ BoneIndex() [1/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( const G3D::String x)
inlineexplicit

◆ BoneIndex() [2/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( const G3D::Any a)
inlineexplicit

◆ BoneIndex() [3/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( char  v)
inlineexplicit

◆ BoneIndex() [4/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( )
inline

◆ BoneIndex() [5/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( const Value  v)
inline

◆ BoneIndex() [6/6]

G3D::XR::Hand::BoneIndex::BoneIndex ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::XR::Hand::BoneIndex::classname ( )
inlinestatic

◆ count()

static int G3D::XR::Hand::BoneIndex::count ( )
inlinestatic

◆ deserialize()

void G3D::XR::Hand::BoneIndex::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::XR::Hand::BoneIndex::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::XR::Hand::BoneIndex::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::XR::Hand::BoneIndex::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::XR::Hand::BoneIndex::operator!= ( const BoneIndex  other) const
inline

◆ operator!=() [2/2]

bool G3D::XR::Hand::BoneIndex::operator!= ( const BoneIndex ::Value  other) const
inline

◆ operator+()

BoneIndex G3D::XR::Hand::BoneIndex::operator+ ( const int  x) const
inline

◆ operator++()

BoneIndex& G3D::XR::Hand::BoneIndex::operator++ ( )
inline

◆ operator+=()

BoneIndex& G3D::XR::Hand::BoneIndex::operator+= ( const int  x)
inline

◆ operator-()

BoneIndex G3D::XR::Hand::BoneIndex::operator- ( const int  x) const
inline

◆ operator--()

BoneIndex& G3D::XR::Hand::BoneIndex::operator-- ( )
inline

◆ operator-=()

BoneIndex& G3D::XR::Hand::BoneIndex::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::XR::Hand::BoneIndex::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::XR::Hand::BoneIndex::operator< ( const BoneIndex  other) const
inline

◆ operator<=() [1/2]

bool G3D::XR::Hand::BoneIndex::operator<= ( const BoneIndex  other) const
inline

◆ operator<=() [2/2]

bool G3D::XR::Hand::BoneIndex::operator<= ( const Value  other) const
inline

◆ operator=()

BoneIndex& G3D::XR::Hand::BoneIndex::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::XR::Hand::BoneIndex::operator== ( const BoneIndex ::Value  other) const
inline

◆ operator==() [2/2]

bool G3D::XR::Hand::BoneIndex::operator== ( const BoneIndex  other) const
inline

◆ operator>() [1/2]

bool G3D::XR::Hand::BoneIndex::operator> ( const BoneIndex  other) const
inline

◆ operator>() [2/2]

bool G3D::XR::Hand::BoneIndex::operator> ( const Value  other) const
inline

◆ operator>=() [1/2]

bool G3D::XR::Hand::BoneIndex::operator>= ( const BoneIndex  other) const
inline

◆ operator>=() [2/2]

bool G3D::XR::Hand::BoneIndex::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::XR::Hand::BoneIndex::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::XR::Hand::BoneIndex::toAny ( ) const
inline

◆ toString() [1/2]

const char* G3D::XR::Hand::BoneIndex::toString ( ) const
inline

◆ toString() [2/2]

static const char* G3D::XR::Hand::BoneIndex::toString ( int  i,
Value v 
)
inlinestatic

Member Data Documentation

◆ value

enum G3D::XR::Hand::BoneIndex::Value G3D::XR::Hand::BoneIndex::value

documentation generated on Wed Nov 24 2021 08:02:02 using doxygen 1.8.15