Panda3D

pfmBba.h

00001 // Filename: pfmBba.h
00002 // Created by:  drose (02Mar11)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PFMBBA_H
00016 #define PFMBBA_H
00017 
00018 #include "pandatoolbase.h"
00019 #include "programBase.h"
00020 #include "filename.h"
00021 #include "pvector.h"
00022 #include "nodePath.h"
00023 #include "luse.h"
00024 
00025 class PfmFile;
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //       Class : PfmBba
00029 // Description : Generates a bounding-box description of a pfm file.
00030 ////////////////////////////////////////////////////////////////////
00031 class PfmBba : public ProgramBase {
00032 public:
00033   PfmBba();
00034 
00035   void run();
00036   bool process_pfm(const Filename &input_filename, PfmFile &file);
00037 
00038 protected:
00039   virtual bool handle_args(Args &args);
00040 
00041 private:
00042   typedef pvector<Filename> Filenames;
00043   Filenames _input_filenames;
00044 
00045   bool _got_zero_special;
00046   bool _got_output_filename;
00047   Filename _output_filename;
00048   int _reorder_index;
00049 };
00050 
00051 #endif
 All Classes Functions Variables Enumerations