Panda3D

Loading...
Searching...
No Matches
eggFilter.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 eggFilter.h
10 * @author drose
11 * @date 2000-02-14
12 */
13
14#ifndef EGGFILTER_H
15#define EGGFILTER_H
16
17#include "pandatoolbase.h"
18
19#include "eggReader.h"
20#include "eggWriter.h"
21
22/**
23 * This is the base class for a program that reads an egg file, operates on
24 * it, and writes another egg file out.
25 */
26 class EggFilter : public EggReader, public EggWriter {
27 public:
28 EggFilter(bool allow_last_param = false, bool allow_stdout = true);
29
30 protected:
31 virtual bool handle_args(Args &args);
32 virtual bool post_command_line();
33};
34
35#endif
EggWriter::EggWriter
EggWriter(bool allow_last_param=false, bool allow_stdout=true)
Egg-writing type programs may specify their output file using either the last-filename convention,...
Definition eggWriter.cxx:34
eggReader.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
eggWriter.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.