HIK2014/humanik/hikvalidation.h Source File
Go to the documentation of this file.
33 #ifndef HIKVALIDATION_H
34 #define HIKVALIDATION_H
47 #define HIKRequiredBoneCount 15
50 #define HIKSpineBoneCount 9
53 #define HIKNeckBoneCount 9
56 #define HIKRollBoneCount 8
bool HIKValidateRequiredBone(const HIKCharacterDefinition *pCharacterDefinition, char *pErrorMsg=0, unsigned int pErrorMsgSize=0)
Validates that the specified HIKCharacterDefinition contains all required Nodes.
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.
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...
const int * HIKGetRollBoneList()
Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are roll Nodes...
const int * HIKGetRequiredBoneList()
Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are required...
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.
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.
const int * HIKGetSpineBoneList()
Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are part of the spi...
bool HIKIsRollBone(int id)
Returns true if the specified Node index corresponds to a roll bone in an arm or leg.
const int * HIKGetNeckBoneList()
Returns a list of integers that identify which Nodes in the HIKNodeId enumeration are part of the nec...
Defines which Nodes are to be used by an HIKCharacter.
Defines a character to be used with HumanIK.
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.
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...