Panda3D

Loading...
Searching...
No Matches
xFileTrans.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 xFileTrans.h
10 * @author drose
11 * @date 2004-10-03
12 */
13
14#ifndef XFILETRANS_H
15#define XFILETRANS_H
16
17#include "pandatoolbase.h"
18
19#include "programBase.h"
20#include "withOutputFile.h"
21
22/**
23 * A program to read a X file and output an essentially similar X file. This
24 * is mainly useful to test the X file parser used in Panda.
25 */
26 class XFileTrans : public ProgramBase, public WithOutputFile {
27 public:
28 XFileTrans();
29
30 void run();
31
32 protected:
33 virtual bool handle_args(Args &args);
34
35 Filename _input_filename;
36};
37
38#endif
Filename
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
programBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
withOutputFile.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.