Panda3D
pandatool
src
imageprogs
imageFixHiddenColor.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 imageFixHiddenColor.h
10
* @author drose
11
* @date 2003-03-13
12
*/
13
14
#ifndef IMAGEFIXHIDDENCOLOR_H
15
#define IMAGEFIXHIDDENCOLOR_H
16
17
#include "
pandatoolbase.h
"
18
19
#include "
imageFilter.h
"
20
21
/**
22
* This program repairs an image's RGB values hidden behind an A value of 0.
23
*/
24
class
ImageFixHiddenColor
:
public
ImageFilter
{
25
public
:
26
ImageFixHiddenColor
();
27
28
void
run();
29
30
private
:
31
Filename
_alpha_filename;
32
double
_min_opaque_alpha;
33
double
_max_transparent_alpha;
34
};
35
36
#include "
imageFixHiddenColor.I
"
37
38
#endif
imageFixHiddenColor.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ImageFilter
This is the base class for a program that reads an image file, operates on it, and writes another ima...
Definition:
imageFilter.h:26
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
imageFilter.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ImageFixHiddenColor
This program repairs an image's RGB values hidden behind an A value of 0.
Definition:
imageFixHiddenColor.h:24
Filename
The name of a file, such as a texture file or an Egg file.
Definition:
filename.h:39
Generated on Sun Dec 27 2020 13:23:20 for Panda3D by
1.8.20