Panda3D
animationConvert.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file animationConvert.h
10  * @author drose
11  * @date 2003-01-21
12  */
13 
14 #ifndef ANIMATIONCONVERT_H
15 #define ANIMATIONCONVERT_H
16 
17 #include "pandatoolbase.h"
18 
19 /**
20  * This enumerated type lists the methods by which animation from an animation
21  * package might be represented in egg format.
22  */
24  AC_invalid, // Never use this.
25  AC_none, // No animation: static geometry only.
26  AC_pose, // Pose to one frame, then get static geometry.
27  AC_flip, // A flip (sequence) of static geometry models.
28  AC_strobe, // All frames of a flip visible at the same time.
29  AC_model, // A character model, with joints.
30  AC_chan, // Animation tables for the above model.
31  AC_both, // A character model and tables in the same file.
32 };
33 
35 
36 std::ostream &operator << (std::ostream &out, AnimationConvert unit);
37 AnimationConvert string_animation_convert(const std::string &str);
38 
39 #endif
AnimationConvert
This enumerated type lists the methods by which animation from an animation package might be represen...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::string format_animation_convert(AnimationConvert unit)
Returns the string corresponding to this method.
AnimationConvert string_animation_convert(const std::string &str)
Converts from a string, as might be input by the user, to one of the known AnimationConvert types.