Panda3D
Loading...
Searching...
No Matches
dxfPoints.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 dxfPoints.h
10 * @author drose
11 * @date 2004-05-04
12 */
13
14#ifndef DXFPOINTS_H
15#define DXFPOINTS_H
16
17#include "pandatoolbase.h"
18#include "programBase.h"
19#include "withOutputFile.h"
20
21#include "dxfFile.h"
22
23/**
24 * A simple program to read a dxf file and list the points contained within it
25 * to a text file.
26 */
27class DXFPoints : public ProgramBase, public WithOutputFile, public DXFFile {
28public:
29 DXFPoints();
30
31 void run();
32
33 virtual void done_entity();
34
35protected:
36 virtual bool handle_args(Args &args);
37
38 Filename _input_filename;
39};
40
41#endif
virtual void done_entity()
This is inherited from DXFFile, and gets called as each entity (face, line, whatever) has finished pr...
Definition dxfPoints.cxx:54
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
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.