18 #include "pandatoolbase.h"
23 #include "vector_int.h"
24 #include "referenceCount.h"
25 #include "pointerTo.h"
35 PF_continuity_1 = 0x0400,
36 PF_continuity_2 = 0x0800,
37 PF_numverts_mask = 0x03f,
64 virtual void write(ostream &out,
int indent_level = 0)
const;
72 return get_class_type();
74 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 static void init_type() {
79 LwoChunk::init_type();
80 register_type(_type_handle,
"LwoPolygons",
81 LwoChunk::get_class_type());
int get_num_polygons() const
Returns the number of polygons of this group.
A specialization of IffChunk for Lightwave Object files.
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.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.