Panda3D
Loading...
Searching...
No Matches
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 */
27public:
28 EggMultiFilter(bool allow_empty = false);
29
30protected:
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
37protected:
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
This specialization of ProgramBase is intended for programs that read and/or write multiple egg files...
This is a base class for a program that reads in a number of egg files, operates on them,...
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.