Panda3D
imageFixHiddenColor.h
1 // Filename: imageFixHiddenColor.h
2 // Created by: drose (13Mar03)
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 IMAGEFIXHIDDENCOLOR_H
16 #define IMAGEFIXHIDDENCOLOR_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "imageFilter.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : ImageFixHiddenColor
24 // Description : This program repairs an image's RGB values hidden
25 // behind an A value of 0.
26 ////////////////////////////////////////////////////////////////////
28 public:
30 
31  void run();
32 
33 private:
34  Filename _alpha_filename;
35  double _min_opaque_alpha;
36  double _max_transparent_alpha;
37 };
38 
39 #include "imageFixHiddenColor.I"
40 
41 #endif
42 
This is the base class for a program that reads an image file, operates on it, and writes another ima...
Definition: imageFilter.h:29
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
This program repairs an image's RGB values hidden behind an A value of 0.