// Filename: dynamicVertices.h // Created by: drose (01Mar99) // //////////////////////////////////////////////////////////////////// // // 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 DYNAMICVERTICES_H #define DYNAMICVERTICES_H #include #include #include #include #include #include #include #include #include class BamReader; //////////////////////////////////////////////////////////////////// // Class : DynamicVertices // Description : //////////////////////////////////////////////////////////////////// class EXPCL_PANDA DynamicVertices : public TypedWritable { public: DynamicVertices(); DynamicVertices(const DynamicVertices ©); static DynamicVertices deep_copy(const DynamicVertices ©); PTA_Vertexf _coords; PTA_Normalf _norms; PTA_Colorf _colors; PTA_TexCoordf _texcoords; public: virtual void write_datagram(BamWriter* manager, Datagram &me); void fillin(DatagramIterator& scan, BamReader* manager); public: virtual TypeHandle get_type() const { return get_class_type(); } virtual TypeHandle force_init_type() {init_type(); return get_class_type();} static TypeHandle get_class_type() { return _type_handle; } static void init_type() { TypedWritable::init_type(); register_type(_type_handle, "DynamicVertices", TypedWritable::get_class_type()); } private: static TypeHandle _type_handle; }; #endif