Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/pandatoolbase/animationConvert.h File Reference

#include "pandatoolbase.h"

Go to the source code of this file.

Enumerations

enum  AnimationConvert {
  AC_invalid, AC_none, AC_pose, AC_flip,
  AC_model, AC_chan, AC_both
}
 This enumerated type lists the methods by which animation from an animation package might be represented in egg format. More...


Functions

string format_animation_convert (AnimationConvert unit)
 Returns the string corresponding to this method.

ostream & operator<< (ostream &out, AnimationConvert unit)
AnimationConvert string_animation_convert (const string &str)
 Converts from a string, as might be input by the user, to one of the known AnimationConvert types.


Detailed Description

Definition in file animationConvert.h.


Enumeration Type Documentation

enum AnimationConvert
 

This enumerated type lists the methods by which animation from an animation package might be represented in egg format.

Enumeration values:
AC_invalid 
AC_none 
AC_pose 
AC_flip 
AC_model 
AC_chan 
AC_both 

Definition at line 38 of file animationConvert.h.

Referenced by SomethingToEggConverter::get_path_replace(), and operator<<().


Function Documentation

string format_animation_convert AnimationConvert  unit  ) 
 

Returns the string corresponding to this method.

Definition at line 35 of file animationConvert.cxx.

References AC_both, AC_chan, AC_flip, AC_model, and AC_pose.

ostream& operator<< ostream &  out,
AnimationConvert  unit
 

Definition at line 69 of file animationConvert.cxx.

References AC_flip, AC_model, AC_none, AC_pose, AnimationConvert, and cmp_nocase().

AnimationConvert string_animation_convert const string &  str  ) 
 

Converts from a string, as might be input by the user, to one of the known AnimationConvert types.

Returns AC_invalid if the string is unknown.

Definition at line 85 of file animationConvert.cxx.


Generated on Fri May 2 03:22:37 2003 for Panda-Tool by doxygen1.3