Panda3D
 All Classes Functions Variables Enumerations
pfmBba.h
1 // Filename: pfmBba.h
2 // Created by: drose (02Mar11)
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 PFMBBA_H
16 #define PFMBBA_H
17 
18 #include "pandatoolbase.h"
19 #include "programBase.h"
20 #include "filename.h"
21 #include "pvector.h"
22 #include "nodePath.h"
23 #include "luse.h"
24 
25 class PfmFile;
26 
27 ////////////////////////////////////////////////////////////////////
28 // Class : PfmBba
29 // Description : Generates a bounding-box description of a pfm file.
30 ////////////////////////////////////////////////////////////////////
31 class PfmBba : public ProgramBase {
32 public:
33  PfmBba();
34 
35  void run();
36  bool process_pfm(const Filename &input_filename, PfmFile &file);
37 
38 protected:
39  virtual bool handle_args(Args &args);
40 
41 private:
43  Filenames _input_filenames;
44 
45  bool _got_zero_special;
46  bool _got_output_filename;
47  Filename _output_filename;
48  int _reorder_index;
49 };
50 
51 #endif
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:37
Generates a bounding-box description of a pfm file.
Definition: pfmBba.h:31
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
Defines a pfm file, a 2-d table of floating-point numbers, either 3-component or 1-component, or with a special extension, 2- or 4-component.
Definition: pfmFile.h:34
bool process_pfm(const Filename &input_filename, PfmFile &file)
Handles a single pfm file.
Definition: pfmBba.cxx:70