32 PF_continuity_1 = 0x0400,
33 PF_continuity_2 = 0x0800,
34 PF_numverts_mask = 0x03f,
59 virtual void write(std::ostream &out,
int indent_level = 0)
const;
62 typedef pvector< PT(
Polygon) > Polygons;
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
70 static TypeHandle get_class_type() {
73 static void init_type() {
74 LwoChunk::init_type();
76 LwoChunk::get_class_type());
80 static TypeHandle _type_handle;
A four-byte chunk ID appearing in an "IFF" file.
A specialization of IffChunk for Lightwave Object files.
An array of polygons that will be referenced by later chunks.
Polygon * get_polygon(int n) const
Returns the nth polygon of this group.
int get_num_polygons() const
Returns the number of polygons of this group.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
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.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.