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
21 class 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 */
27 class EggCrop : public EggFilter {
28 public:
29 EggCrop();
30
31 virtual bool post_command_line();
32 void run();
33
34 private:
35 int strip_prims(EggGroupNode *group);
36
37 bool _got_min, _got_max;
38 LVecBase3d _min, _max;
39};
40
41#endif
EggCrop::post_command_line
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
EggGroupNode
A base class for nodes in the hierarchy that are not leaf nodes.
Definition eggGroupNode.h:46
eggFilter.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.