15 #ifndef FLTVERTEXLIST_H 16 #define FLTVERTEXLIST_H 18 #include "pandatoolbase.h" 20 #include "fltRecord.h" 21 #include "fltPackedColor.h" 22 #include "fltVertex.h" 24 #include "pointerTo.h" 40 virtual void output(ostream &out)
const;
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
58 static void init_type() {
59 FltRecord::init_type();
60 register_type(_type_handle,
"FltVertexList",
61 FltRecord::get_class_type());
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly...
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
virtual void output(ostream &out) const
Writes a quick one-line description of the record, but not its children.
int get_num_vertices() const
Returns the number of vertices in this vertex list.
void add_vertex(FltVertex *vertex)
Adds a new vertex to the end of the vertex list.
A list of vertices, typically added as a child of a face bead.
The base class for all kinds of records in a MultiGen OpenFlight file.
Represents a single vertex in the vertex palette.
void clear_vertices()
Removes all vertices from this vertex list.
FltVertex * get_vertex(int n) const
Returns the nth vertex of this vertex list.
TypeHandle is the identifier used to differentiate C++ class types.