Panda3D
vrmlTrans.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file vrmlTrans.h
10  * @author drose
11  * @date 2004-10-01
12  */
13 
14 #ifndef VRMLTRANS_H
15 #define VRMLTRANS_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "programBase.h"
20 #include "withOutputFile.h"
21 
22 /**
23  * A program to read a VRML file and output an essentially similar VRML file.
24  * This is mainly useful to test the VRML parser used in Panda.
25  */
26 class VRMLTrans : public ProgramBase, public WithOutputFile {
27 public:
28  VRMLTrans();
29 
30  void run();
31 
32 protected:
33  virtual bool handle_args(Args &args);
34 
35  Filename _input_filename;
36 };
37 
38 #endif
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:34
A program to read a VRML file and output an essentially similar VRML file.
Definition: vrmlTrans.h:26
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.