Panda3D
eggToDXF.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 eggToDXF.h
10  * @author drose
11  * @date 2004-05-04
12  */
13 
14 #ifndef EGGTODXF_H
15 #define EGGTODXF_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "eggToSomething.h"
20 #include "eggToDXFLayer.h"
21 
22 class EggGroupNode;
23 
24 /**
25  * A program to read an egg file and write a DXF file.
26  */
27 class EggToDXF : public EggToSomething {
28 public:
29  EggToDXF();
30 
31  void run();
32 
33  bool _use_polyline;
34 
35 private:
36  void get_layers(EggGroupNode *group);
37  void write_tables(std::ostream &out);
38  void write_entities(std::ostream &out);
39 
40  EggToDXFLayers _layers;
41 };
42 
43 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for nodes in the hierarchy that are not leaf nodes.
Definition: eggGroupNode.h:46
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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:27
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.