Panda3D
|
00001 // Filename: eggToX.h 00002 // Created by: drose (19Jun01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef EGGTOX_H 00016 #define EGGTOX_H 00017 00018 #include "pandatoolbase.h" 00019 #include "eggToSomething.h" 00020 #include "xFileMaker.h" 00021 00022 #include "programBase.h" 00023 #include "withOutputFile.h" 00024 #include "filename.h" 00025 00026 class Node; 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Class : EggToX 00030 // Description : A program to read in a egg file and write an 00031 // equivalent, or nearly equivalent, DirectX-style "x" 00032 // file. 00033 //////////////////////////////////////////////////////////////////// 00034 class EggToX : public EggToSomething { 00035 public: 00036 EggToX(); 00037 00038 void run(); 00039 00040 private: 00041 void convert_scene_graph(Node *root); 00042 00043 Filename _input_filename; 00044 XFileMaker _x; 00045 }; 00046 00047 #endif