Panda3D
 All Classes Functions Variables Enumerations
eggToDXF.h
1 // Filename: eggToDXF.h
2 // Created by: drose (04May04)
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 EGGTODXF_H
16 #define EGGTODXF_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggToSomething.h"
21 #include "eggToDXFLayer.h"
22 
23 class EggGroupNode;
24 
25 ////////////////////////////////////////////////////////////////////
26 // Class : EggToDXF
27 // Description : A program to read an egg file and write a DXF file.
28 ////////////////////////////////////////////////////////////////////
29 class EggToDXF : public EggToSomething {
30 public:
31  EggToDXF();
32 
33  void run();
34 
35  bool _use_polyline;
36 
37 private:
38  void get_layers(EggGroupNode *group);
39  void write_tables(ostream &out);
40  void write_entities(ostream &out);
41 
42  EggToDXFLayers _layers;
43 };
44 
45 #endif
46 
A base class for nodes in the hierarchy that are not leaf nodes.
Definition: eggGroupNode.h:51
This is the general base class for a file-converter program that reads some model file format and gen...
A program to read an egg file and write a DXF file.
Definition: eggToDXF.h:29