- Cal3D 0.11 API Reference -

Static Public Member Functions | Static Protected Member Functions | List of all members
CalSaver Class Reference

Static Public Member Functions

static bool saveCoreAnimation (const std::string &strFilename, CalCoreAnimation *pCoreAnimation, CalSaverAnimationOptions *pOptions=NULL)
 Saves a core animation instance. More...
 
static bool saveCoreAnimatedMorph (const std::string &strFilename, CalCoreAnimatedMorph *pCoreAnimatedMorph)
 Saves a core animated morph. More...
 
static bool saveCoreMaterial (const std::string &strFilename, CalCoreMaterial *pCoreMaterial)
 Saves a core material instance. More...
 
static bool saveCoreMesh (const std::string &strFilename, CalCoreMesh *pCoreMesh)
 Saves a core mesh instance. More...
 
static bool saveCoreSkeleton (const std::string &strFilename, CalCoreSkeleton *pCoreSkeleton)
 Saves a core skeleton instance. More...
 

Static Protected Member Functions

static bool saveCoreBones (std::ofstream &file, const std::string &strFilename, CalCoreBone *pCoreBone)
 Saves a core bone instance. More...
 
static bool saveCoreKeyframe (std::ofstream &file, const std::string &strFilename, CalCoreKeyframe *pCoreKeyframe, int version, bool needTranslation, bool highRangeRequired, bool useAnimationCompression)
 Saves a core keyframe instance. More...
 
static bool saveCompressedCoreKeyframe (std::ofstream &file, const std::string &strFilename, CalCoreKeyframe *pCoreKeyframe, CalSaverAnimationOptions *pOptions)
 
static bool saveCoreSubmesh (std::ofstream &file, const std::string &strFilename, CalCoreSubmesh *pCoreSubmesh)
 Saves a core submesh instance. More...
 
static bool saveCoreTrack (std::ofstream &file, const std::string &strFilename, CalCoreTrack *pCoreTrack, int version, CalSaverAnimationOptions *pOptions=NULL)
 Saves a core track instance. More...
 
static bool saveCoreMorphKeyframe (std::ofstream &file, const std::string &strFilename, CalCoreMorphKeyframe *pCoreMorphKeyframe)
 Saves a core morphKeyframe instance. More...
 
static bool saveCoreMorphTrack (std::ofstream &file, const std::string &strFilename, CalCoreMorphTrack *pCoreMorphTrack)
 Saves a core morphTrack instance. More...
 
static bool saveXmlCoreSkeleton (const std::string &strFilename, CalCoreSkeleton *pCoreSkeleton)
 Saves a core skeleton instance to a XML file. More...
 
static bool saveXmlCoreAnimation (const std::string &strFilename, CalCoreAnimation *pCoreAnimation)
 Saves a core animation instance in a XML file. More...
 
static bool saveXmlCoreAnimatedMorph (const std::string &strFilename, CalCoreAnimatedMorph *pCoreAnimatedMorph)
 
static bool saveXmlCoreMesh (const std::string &strFilename, CalCoreMesh *pCoreMesh)
 Saves a core mesh instance in a XML file. More...
 
static bool saveXmlCoreMaterial (const std::string &strFilename, CalCoreMaterial *pCoreMaterial)
 Saves a core material instance to a XML file. More...
 

Member Function Documentation

◆ saveCoreAnimatedMorph()

bool CalSaver::saveCoreAnimatedMorph ( const std::string &  strFilename,
CalCoreAnimatedMorph pCoreAnimatedMorph 
)
static

Saves a core animated morph.

This function saves a core animation instance to a file.

Parameters
strFilenameThe name of the file to save the core animation instance to.
pCoreAnimationA pointer to the core animation instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happend

◆ saveCoreAnimation()

bool CalSaver::saveCoreAnimation ( const std::string &  strFilename,
CalCoreAnimation pCoreAnimation,
CalSaverAnimationOptions pOptions = NULL 
)
static

Saves a core animation instance.

This function saves a core animation instance to a file.

Parameters
strFilenameThe name of the file to save the core animation instance to.
pCoreAnimationA pointer to the core animation instance that should be saved. param pOptions Optional pointer to save options.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreBones()

bool CalSaver::saveCoreBones ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreBone pCoreBone 
)
staticprotected

Saves a core bone instance.

This function saves a core bone instance to a file stream.

Parameters
fileThe file stream to save the core bone instance to.
strFilenameThe name of the file stream.
pCoreBoneA pointer to the core bone instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreKeyframe()

bool CalSaver::saveCoreKeyframe ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreKeyframe pCoreKeyframe,
int  version,
bool  translationWritten,
bool  highRangeRequired,
bool  useAnimationCompression 
)
staticprotected

Saves a core keyframe instance.

This function saves a core keyframe instance to a file stream.

Parameters
fileThe file stream to save the core keyframe instance to.
strFilenameThe name of the file stream.
pCoreKeyframeA pointer to the core keyframe instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreMaterial()

bool CalSaver::saveCoreMaterial ( const std::string &  strFilename,
CalCoreMaterial pCoreMaterial 
)
static

Saves a core material instance.

This function saves a core material instance to a file.

Parameters
strFilenameThe name of the file to save the core material instance to.
pCoreMaterialA pointer to the core material instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreMesh()

bool CalSaver::saveCoreMesh ( const std::string &  strFilename,
CalCoreMesh pCoreMesh 
)
static

Saves a core mesh instance.

This function saves a core mesh instance to a file.

Parameters
strFilenameThe name of the file to save the core mesh instance to.
pCoreMeshA pointer to the core mesh instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreMorphKeyframe()

bool CalSaver::saveCoreMorphKeyframe ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreMorphKeyframe pCoreMorphKeyframe 
)
staticprotected

Saves a core morphKeyframe instance.

This function saves a core morphKeyframe instance to a file stream.

Parameters
fileThe file stream to save the core morphKeyframe instance to.
strFilenameThe name of the file stream.
pCoreMorphKeyframeA pointer to the core morphKeyframe instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happend

◆ saveCoreMorphTrack()

bool CalSaver::saveCoreMorphTrack ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreMorphTrack pCoreMorphTrack 
)
staticprotected

Saves a core morphTrack instance.

This function saves a core morphTrack instance to a file stream.

Parameters
fileThe file stream to save the core morphTrack instance to.
strFilenameThe name of the file stream.
pCoreMorphTrackA pointer to the core morphTrack instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happend

◆ saveCoreSkeleton()

bool CalSaver::saveCoreSkeleton ( const std::string &  strFilename,
CalCoreSkeleton pCoreSkeleton 
)
static

Saves a core skeleton instance.

This function saves a core skeleton instance to a file.

Parameters
strFilenameThe name of the file to save the core skeleton instance to.
pCoreSkeletonA pointer to the core skeleton instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreSubmesh()

bool CalSaver::saveCoreSubmesh ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreSubmesh pCoreSubmesh 
)
staticprotected

Saves a core submesh instance.

This function saves a core submesh instance to a file stream.

Parameters
fileThe file stream to save the core submesh instance to.
strFilenameThe name of the file stream.
pCoreSubmeshA pointer to the core submesh instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveCoreTrack()

bool CalSaver::saveCoreTrack ( std::ofstream &  file,
const std::string &  strFilename,
CalCoreTrack pCoreTrack,
int  version,
CalSaverAnimationOptions pOptions = NULL 
)
staticprotected

Saves a core track instance.

This function saves a core track instance to a file stream.

Parameters
fileThe file stream to save the core track instance to.
strFilenameThe name of the file stream.
pCoreTrackA pointer to the core track instance that should be saved. pOptions Optional pointer to save options.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveXmlCoreAnimation()

bool CalSaver::saveXmlCoreAnimation ( const std::string &  strFilename,
CalCoreAnimation pCoreAnimation 
)
staticprotected

Saves a core animation instance in a XML file.

This function saves a core animation instance to a XML file.

Parameters
strFilenameThe name of the file to save the core animation instance to.
pCoreAnimationA pointer to the core animation instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveXmlCoreMaterial()

bool CalSaver::saveXmlCoreMaterial ( const std::string &  strFilename,
CalCoreMaterial pCoreMaterial 
)
staticprotected

Saves a core material instance to a XML file.

This function saves a core material instance to a XML file.

Parameters
strFilenameThe name of the file to save the core material instance to.
pCoreMaterialA pointer to the core material instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveXmlCoreMesh()

bool CalSaver::saveXmlCoreMesh ( const std::string &  strFilename,
CalCoreMesh pCoreMesh 
)
staticprotected

Saves a core mesh instance in a XML file.

This function saves a core mesh instance to a XML file.

Parameters
strFilenameThe name of the file to save the core mesh instance to.
pCoreMeshA pointer to the core mesh instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

◆ saveXmlCoreSkeleton()

bool CalSaver::saveXmlCoreSkeleton ( const std::string &  strFilename,
CalCoreSkeleton pCoreSkeleton 
)
staticprotected

Saves a core skeleton instance to a XML file.

This function saves a core skeleton instance to a XML file.

Parameters
strFilenameThe name of the file to save the core skeleton instance to.
pCoreSkeletonA pointer to the core skeleton instance that should be saved.
Returns
One of the following values:
  • true if successful
  • false if an error happened

The documentation for this class was generated from the following files:

Generated by The Cal3D Team with Doxygen 1.8.14