Panda3D
 All Classes Functions Variables Enumerations
eggCrop.h
1 // Filename: eggCrop.h
2 // Created by: drose (10Jun02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef EGGCROP_H
16 #define EGGCROP_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggFilter.h"
21 
22 class EggGroupNode;
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : EggCrop
26 // Description : A program to read an egg file and write an equivalent
27 // egg file, possibly performing some minor operations
28 // along the way.
29 ////////////////////////////////////////////////////////////////////
30 class EggCrop : public EggFilter {
31 public:
32  EggCrop();
33 
34  virtual bool post_command_line();
35  void run();
36 
37 private:
38  int strip_prims(EggGroupNode *group);
39 
40  bool _got_min, _got_max;
41  LVecBase3d _min, _max;
42 };
43 
44 #endif
45 
A base class for nodes in the hierarchy that are not leaf nodes.
Definition: eggGroupNode.h:51
A program to read an egg file and write an equivalent egg file, possibly performing some minor operat...
Definition: eggCrop.h:30
This is the base class for a program that reads an egg file, operates on it, and writes another egg f...
Definition: eggFilter.h:29
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:58
This is the base class for all three-component vectors and points.
Definition: lvecBase3.h:1455