open_toontown_panda3d/pandatool/src/eggbase/eggBase.h

42 lines
1.1 KiB
C++

// Filename: eggBase.h
// Created by: drose (14Feb00)
//
////////////////////////////////////////////////////////////////////
#ifndef EGGBASE_H
#define EGGBASE_H
#include <pandatoolbase.h>
#include <programBase.h>
#include <coordinateSystem.h>
#include <eggData.h>
////////////////////////////////////////////////////////////////////
// Class : EggBase
// Description : This specialization of ProgramBase is intended for
// programs that read and/or write a single egg file.
// (See EggMultiBase for programs that operate on
// multiple egg files at once.)
//
// This is just a base class; see EggReader, EggWriter,
// or EggFilter according to your particular I/O needs.
////////////////////////////////////////////////////////////////////
class EggBase : public ProgramBase {
public:
EggBase();
protected:
virtual bool post_command_line();
void append_command_comment(EggData &_data);
protected:
bool _got_coordinate_system;
CoordinateSystem _coordinate_system;
EggData _data;
};
#endif