25class EXPCL_PANDA_EGG EggPatch :
public EggPrimitive {
27 INLINE
explicit EggPatch(
const std::string &name =
"");
28 INLINE EggPatch(
const EggPatch ©);
29 INLINE EggPatch &operator = (
const EggPatch ©);
31 virtual EggPatch *
make_copy()
const override;
33 virtual void write(std::ostream &out,
int indent_level)
const override;
39 static void init_type() {
40 EggPrimitive::init_type();
42 EggPrimitive::get_class_type());
45 return get_class_type();
47 virtual TypeHandle force_init_type()
override {
49 return get_class_type();
virtual EggPatch * make_copy() const override
Makes a copy of this object.
virtual void write(std::ostream &out, int indent_level) const override
Writes the patch to the indicated output stream in Egg format.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...