Panda3D
eggToX.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 eggToX.h
10  * @author drose
11  * @date 2001-06-19
12  */
13 
14 #ifndef EGGTOX_H
15 #define EGGTOX_H
16 
17 #include "pandatoolbase.h"
18 #include "eggToSomething.h"
19 #include "xFileMaker.h"
20 
21 #include "programBase.h"
22 #include "withOutputFile.h"
23 #include "filename.h"
24 
25 class Node;
26 
27 /**
28  * A program to read in a egg file and write an equivalent, or nearly
29  * equivalent, DirectX-style "x" file.
30  */
31 class EggToX : public EggToSomething {
32 public:
33  EggToX();
34 
35  void run();
36 
37 private:
38  void convert_scene_graph(Node *root);
39 
40  Filename _input_filename;
41  XFileMaker _x;
42 };
43 
44 #endif
This is the general base class for a file-converter program that reads some model file format and gen...
A program to read in a egg file and write an equivalent, or nearly equivalent, DirectX-style "x" file...
Definition: eggToX.h:31
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
This class is used to assign the nodes on the mesh.
Definition: meshNode.h:16
This class converts a Panda scene graph into a .X file and writes it out.
Definition: xFileMaker.h:36
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.