Panda3D
fltInfo.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 fltInfo.h
10  * @author drose
11  * @date 2001-09-05
12  */
13 
14 #ifndef FLTINFO_H
15 #define FLTINFO_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "programBase.h"
20 
21 class FltRecord;
22 
23 /**
24  * A program to read a flt file and report interesting things about it.
25  */
26 class FltInfo : public ProgramBase {
27 public:
28  FltInfo();
29 
30  void run();
31 
32 protected:
33  virtual bool handle_args(Args &args);
34 
35  void list_hierarchy(FltRecord *record, int indent_level);
36 
37  Filename _input_filename;
38  bool _list_hierarchy;
39 };
40 
41 #endif
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:34
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:39
The base class for all kinds of records in a MultiGen OpenFlight file.
Definition: fltRecord.h:36
A program to read a flt file and report interesting things about it.
Definition: fltInfo.h:26