00001 // Filename: eggCharacterFilter.h 00002 // Created by: drose (23Feb01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef EGGCHARACTERFILTER_H 00020 #define EGGCHARACTERFILTER_H 00021 00022 #include <pandatoolbase.h> 00023 00024 #include "eggMultiFilter.h" 00025 00026 class EggCharacterData; 00027 class EggCharacterCollection; 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Class : EggCharacterFilter 00031 // Description : This is the base class for a family of programs that 00032 // operate on a number of character models and their 00033 // associated animation files together. It reads in a 00034 // number of egg files, any combination of model files 00035 // or character files which must all represent the same 00036 // character skeleton, and maintains a single hierarchy 00037 // of joints and sliders that may be operated on before 00038 // writing the files back out. 00039 //////////////////////////////////////////////////////////////////// 00040 class EggCharacterFilter : public EggMultiFilter { 00041 public: 00042 EggCharacterFilter(); 00043 virtual ~EggCharacterFilter(); 00044 00045 protected: 00046 virtual bool post_command_line(); 00047 virtual void write_eggs(); 00048 00049 virtual EggCharacterCollection *make_collection(); 00050 00051 EggCharacterCollection *_collection; 00052 }; 00053 00054 #endif 00055 00056