Panda3D
 All Classes Functions Variables Enumerations
eggCharacterFilter.h
1 // Filename: eggCharacterFilter.h
2 // Created by: drose (23Feb01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef EGGCHARACTERFILTER_H
16 #define EGGCHARACTERFILTER_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggMultiFilter.h"
21 
22 class EggCharacterData;
24 
25 ////////////////////////////////////////////////////////////////////
26 // Class : EggCharacterFilter
27 // Description : This is the base class for a family of programs that
28 // operate on a number of character models and their
29 // associated animation files together. It reads in a
30 // number of egg files, any combination of model files
31 // or character files which must all represent the same
32 // character skeleton, and maintains a single hierarchy
33 // of joints and sliders that may be operated on before
34 // writing the files back out.
35 ////////////////////////////////////////////////////////////////////
37 public:
39  virtual ~EggCharacterFilter();
40 
41  void add_fixrest_option();
42 
43 protected:
44  virtual bool post_command_line();
45  virtual void write_eggs();
46 
47  virtual EggCharacterCollection *make_collection();
48 
49  EggCharacterCollection *_collection;
50  bool _force_initial_rest_frame;
51 };
52 
53 #endif
54 
55 
This is a base class for a program that reads in a number of egg files, operates on them...
Represents a set of characters, as read and collected from possibly several model and/or animation eg...
This is the base class for a family of programs that operate on a number of character models and thei...
Represents a single character, as read and collected from several models and animation files...