Panda3D
pandatool
src
eggbase
eggMultiFilter.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 eggMultiFilter.h
10
* @author drose
11
* @date 2000-11-02
12
*/
13
14
#ifndef EGGMULTIFILTER_H
15
#define EGGMULTIFILTER_H
16
17
#include "
pandatoolbase.h
"
18
19
#include "
eggMultiBase.h
"
20
21
/**
22
* This is a base class for a program that reads in a number of egg files,
23
* operates on them, and writes them out again (presumably to a different
24
* directory).
25
*/
26
class
EggMultiFilter
:
public
EggMultiBase
{
27
public
:
28
EggMultiFilter
(
bool
allow_empty =
false
);
29
30
protected
:
31
virtual
bool
handle_args(
Args
&args);
32
virtual
bool
post_command_line();
33
34
Filename
get_output_filename(
const
Filename
&source_filename)
const
;
35
virtual
void
write_eggs();
36
37
protected
:
38
bool
_allow_empty;
39
bool
_got_output_filename;
40
Filename
_output_filename;
41
bool
_got_output_dirname;
42
Filename
_output_dirname;
43
bool
_inplace;
44
Filename
_input_filename;
45
Filename
_filename;
46
bool
_got_input_filename;
47
48
bool
_read_only;
49
};
50
51
#endif
EggMultiBase
This specialization of ProgramBase is intended for programs that read and/or write multiple egg files...
Definition:
eggMultiBase.h:33
pdeque< std::string >
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
eggMultiBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EggMultiFilter
This is a base class for a program that reads in a number of egg files, operates on them,...
Definition:
eggMultiFilter.h:26
Filename
The name of a file, such as a texture file or an Egg file.
Definition:
filename.h:39
Generated on Sat Jan 11 2020 15:15:36 for Panda3D by
1.8.17