HIK2014/humanik/hikvalidation.h File Reference

hikvalidation.h File Reference
#include "humanik.h"

Macros

#define HIKRequiredBoneCount   15
 The number of required Nodes for an HIKCharacter. More...
 
#define HIKSpineBoneCount   9
 The maximum number of possible Nodes in a character's spine. More...
 
#define HIKNeckBoneCount   9
 The maximum number of possible Nodes in a character's neck. More...
 
#define HIKRollBoneCount   8
 The maximum number of possible roll Nodes in a character's arms and legs. More...
 

Functions

const intHIKGetRequiredBoneList ()
 Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are required. More...
 
const intHIKGetSpineBoneList ()
 Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are part of the spine. More...
 
const intHIKGetNeckBoneList ()
 Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are part of the neck. More...
 
const intHIKGetRollBoneList ()
 Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are roll Nodes. More...
 
bool HIKValidateRequiredBone (const HIKCharacterDefinition *pCharacterDefinition, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the specified HIKCharacterDefinition contains all required Nodes. More...
 
bool HIKValidateSpine (const HIKCharacterDefinition *pCharacterDefinition, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the spine of the specified HIKCharacterDefinition does not have any missing Nodes. More...
 
bool HIKValidateNeck (const HIKCharacterDefinition *pCharacterDefinition, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the neck of the specified HIKCharacterDefinition does not have any missing Nodes. More...
 
bool HIKValidateHipsXAxis (const HIKCharacter *pCharacter, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the hips of the specified HIKCharacter are aligned along the X axis. More...
 
bool HIKValidateArmsXAxis (const HIKCharacter *pCharacter, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the arms of the specified HIKCharacter are aligned along the X axis. More...
 
bool HIKValidateSpineYAxis (const HIKCharacter *pCharacter, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that the spine of the specified HIKCharacter is aligned along the Y axis. More...
 
bool HIKValidateBonePosition (const HIKCharacter *pCharacter, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
 Validates that no two Nodes are set at the same position in 3D space. More...
 
bool HIKIsRollBone (int id)
 Returns true if the specified Node index corresponds to a roll bone in an arm or leg. More...
 

Function Documentation

bool HIKIsRollBone ( int  id)

Returns true if the specified Node index corresponds to a roll bone in an arm or leg.

Go to the source code of this file.