Panda3D
Enumerations | Functions
animationConvert.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandatoolbase.h"

Go to the source code of this file.

Enumerations

enum  AnimationConvert {
  AC_invalid, AC_none, AC_pose, AC_flip,
  AC_strobe, 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

std::string format_animation_convert (AnimationConvert unit)
 Returns the string corresponding to this method. More...
 
std::ostream & operator<< (std::ostream &out, AnimationConvert unit)
 
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. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2003-01-21

Definition in file animationConvert.h.

Enumeration Type Documentation

◆ AnimationConvert

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

Definition at line 23 of file animationConvert.h.

Function Documentation

◆ format_animation_convert()

std::string format_animation_convert ( AnimationConvert  unit)

Returns the string corresponding to this method.

Definition at line 23 of file animationConvert.cxx.

◆ string_animation_convert()

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.

Returns AC_invalid if the string is unknown.

Definition at line 66 of file animationConvert.cxx.