Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EggCrop Class Reference

#include <eggCrop.h>

Inheritance diagram for EggCrop:

EggFilter EggReader EggWriter EggBase EggBase WithOutputFile ProgramBase ProgramBase List of all members.

Public Member Functions

 EggCrop ()
virtual bool post_command_line ()
void run ()

Private Member Functions

int strip_prims (EggGroupNode *group)

Private Attributes

bool _got_min
bool _got_max
LVecBase3d _min
LVecBase3d _max

Constructor & Destructor Documentation

EggCrop::EggCrop  ) 
 

Definition at line 32 of file eggCrop.cxx.

References _got_max, _got_min, _max, _min, ProgramBase::add_option(), ProgramBase::dispatch_double_triple(), and ProgramBase::set_program_description().


Member Function Documentation

bool EggCrop::post_command_line  )  [virtual]
 

Reimplemented from EggFilter.

Definition at line 60 of file eggCrop.cxx.

References _got_max, _got_min, and nout.

void EggCrop::run  ) 
 

Definition at line 75 of file eggCrop.cxx.

References EggBase::_data, nout, EggGroupNode::remove_unused_vertices(), strip_prims(), and EggWriter::write_egg_file().

Referenced by main().

int EggCrop::strip_prims EggGroupNode group  )  [private]
 

Definition at line 93 of file eggCrop.cxx.

References _max, _min, EggPrimitive::begin(), EggGroupNode::begin(), DCAST, EggPrimitive::end(), EggGroupNode::end(), EggGroupNode::erase(), EggGroupNode::get_class_type(), EggPrimitive::get_class_type(), EggVertex::get_pos3(), TypedObject::is_of_type(), EggPrimitive::iterator, and EggGroupNode::iterator.

Referenced by run().


Member Data Documentation

bool EggCrop::_got_max [private]
 

Definition at line 44 of file eggCrop.h.

Referenced by EggCrop(), and post_command_line().

bool EggCrop::_got_min [private]
 

Definition at line 44 of file eggCrop.h.

Referenced by EggCrop(), and post_command_line().

LVecBase3d EggCrop::_max [private]
 

Definition at line 45 of file eggCrop.h.

Referenced by EggCrop(), and strip_prims().

LVecBase3d EggCrop::_min [private]
 

Definition at line 45 of file eggCrop.h.

Referenced by EggCrop(), and strip_prims().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:00:49 2003 for Panda-Tool by doxygen1.3