Panda3D
|
00001 // Filename: vrmlTrans.h 00002 // Created by: drose (01Oct04) 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 VRMLTRANS_H 00016 #define VRMLTRANS_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "programBase.h" 00021 #include "withOutputFile.h" 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // Class : VRMLTrans 00025 // Description : A program to read a VRML file and output an 00026 // essentially similar VRML file. This is mainly useful 00027 // to test the VRML parser used in Panda. 00028 //////////////////////////////////////////////////////////////////// 00029 class VRMLTrans : public ProgramBase, public WithOutputFile { 00030 public: 00031 VRMLTrans(); 00032 00033 void run(); 00034 00035 protected: 00036 virtual bool handle_args(Args &args); 00037 00038 Filename _input_filename; 00039 }; 00040 00041 #endif 00042