open_toontown_panda3d/pandatool/src/eggbase/eggMultiBase.h

62 lines
1.6 KiB
C++

// Filename: eggMultiBase.h
// Created by: drose (02Nov00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#ifndef EGGMULTIBASE_H
#define EGGMULTIBASE_H
#include <pandatoolbase.h>
#include <programBase.h>
#include <coordinateSystem.h>
#include <eggData.h>
#include <pointerTo.h>
class Filename;
////////////////////////////////////////////////////////////////////
// Class : EggMultiBase
// Description : This specialization of ProgramBase is intended for
// programs that read and/or write multiple egg files.
//
// See also EggMultiFilter, for a class that also knows
// how to read a bunch of egg files in and write them
// out again.
////////////////////////////////////////////////////////////////////
class EggMultiBase : public ProgramBase {
public:
EggMultiBase();
protected:
void append_command_comment(EggData &_data);
virtual PT(EggData) read_egg(const Filename &filename);
protected:
bool _got_coordinate_system;
CoordinateSystem _coordinate_system;
typedef pvector<PT(EggData)> Eggs;
Eggs _eggs;
bool _force_complete;
};
#endif