hikdump.h File Reference

#include "humanik.h"
#include "hikproperty.h"
#include <stdio.h>
#include <stddef.h>
#include <string.h>

File Description

Header file for saving and loading objects.

This file contains a set of utility functions for saving HumanIK objects to files on disk, and for loading HumanIK objects into memory from saved files.

When using this file please include the hikdump_<platform>.inl method you need depending on which platform you are using if hikdump_std.inl is not sufficient.

Functions

void HIKDefaultAlignedFree (void *pAligned, HIKFree pFree)
 Frees a data block allocated using HIKDefaultAlignedMalloc(). More...
 
void * HIKDefaultAlignedMalloc (size_t pSize, size_t pAlignment, HIKMalloc pMalloc)
 Allocates a data block aligned to the pAlignment pointer boundary. More...
 
HIKCharacterHIKLoadCharacter (const char *pFileName, const char *pValidationString, HIKMalloc pMalloc)
 Load file pFileName, and create an HIKCharacter object from its contents. More...
 
HIKCharacterStateHIKLoadCharacterState (const char *pFileName, HIKCharacter *pCharacter, HIKMalloc pMalloc)
 Load file pFileName, and create an HIKCharacterState object from its contents. More...
 
void * HIKLoadDataBlock (const char *pFileName, HIKDataDescription &pDataDesc, HIKMalloc pMalloc)
 Load file pFileName, and create a data set from its contents according to the data description provided in the pDataDesc argument. More...
 
HIKEffectorSetStateHIKLoadEffectorState (const char *pFileName, HIKMalloc pMalloc)
 Load file pFileName, and create an HIKEffectorSetState object from its contents. More...
 
HIKPropertySetStateHIKLoadPropertySetState (const char *pFileName, HIKMalloc pMalloc)
 Load file pFileName, and create an HIKPropertySetState object from its contents. More...
 
bool HIKSaveCharacter (const char *pFileName, HIKCharacter *pCharacter, HIKMalloc pMalloc, HIKFree pFree, float pUnitScale=1.0f)
 Save HIKCharacter pCharacter to file pFileName. More...
 
bool HIKSaveCharacterState (const char *pFileName, HIKCharacter *pCharacter, HIKCharacterState *pState, int pTransformMode, float pUnitScale=1.0f)
 Save HIKCharacterState pState to file pFileName. More...
 
void HIKSaveDataBlock (const char *pFileName, const HIKDataDescription &pDataDesc, const void *pDataBlock)
 Save the data set located in memory at pDataBlock to file pFileName. More...
 
bool HIKSaveEffectorState (const char *pFileName, HIKEffectorSetState *pState, float pUnitScale=1.0f)
 Save HIKEffectorSetState pState to file pFileName. More...
 
bool HIKSavePropertySetState (const char *pFileName, HIKPropertySetState *pState, float pUnitScale=1.0f)
 Save HIKPropertySetState pState to file pFileName. More...
 

Go to the source code of this file.