Panda3D
Loading...
Searching...
No Matches
eggCrop.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 eggCrop.h
10 * @author drose
11 * @date 2002-06-10
12 */
13
14#ifndef EGGCROP_H
15#define EGGCROP_H
16
17#include "pandatoolbase.h"
18
19#include "eggFilter.h"
20
21class EggGroupNode;
22
23/**
24 * A program to read an egg file and write an equivalent egg file, possibly
25 * performing some minor operations along the way.
26 */
27class EggCrop : public EggFilter {
28public:
29 EggCrop();
30
31 virtual bool post_command_line();
32 void run();
33
34private:
35 int strip_prims(EggGroupNode *group);
36
37 bool _got_min, _got_max;
38 LVecBase3d _min, _max;
39};
40
41#endif
A program to read an egg file and write an equivalent egg file, possibly performing some minor operat...
Definition eggCrop.h:27
virtual bool post_command_line()
This is called after the command line has been completely processed, and it gives the program a chanc...
Definition eggCrop.cxx:50
This is the base class for a program that reads an egg file, operates on it, and writes another egg f...
Definition eggFilter.h:26
A base class for nodes in the hierarchy that are not leaf nodes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.