Panda3D
vrmlTrans.h
1 // Filename: vrmlTrans.h
2 // Created by: drose (01Oct04)
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 VRMLTRANS_H
16 #define VRMLTRANS_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "programBase.h"
21 #include "withOutputFile.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : VRMLTrans
25 // Description : A program to read a VRML file and output an
26 // essentially similar VRML file. This is mainly useful
27 // to test the VRML parser used in Panda.
28 ////////////////////////////////////////////////////////////////////
29 class VRMLTrans : public ProgramBase, public WithOutputFile {
30 public:
31  VRMLTrans();
32 
33  void run();
34 
35 protected:
36  virtual bool handle_args(Args &args);
37 
38  Filename _input_filename;
39 };
40 
41 #endif
42 
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:37
A program to read a VRML file and output an essentially similar VRML file.
Definition: vrmlTrans.h:29
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...