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;
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
73 static void init_type() {
74 LwoChunk::init_type();
76 LwoChunk::get_class_type());
int get_num_polygons() const
Returns the number of polygons of this group.
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.
This is our own Panda specialization on the default STL vector.
A specialization of IffChunk for Lightwave Object files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.
Polygon * get_polygon(int n) const
Returns the nth polygon of this group.
An array of polygons that will be referenced by later chunks.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.