14 #ifndef FLTVERTEXLIST_H 15 #define FLTVERTEXLIST_H 37 virtual void output(std::ostream &out)
const;
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
55 static void init_type() {
56 FltRecord::init_type();
58 FltRecord::get_class_type());
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
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.
This is our own Panda specialization on the default STL vector.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
FltVertex * get_vertex(int n) const
Returns the nth vertex of this vertex list.
TypeHandle is the identifier used to differentiate C++ class types.
virtual void output(std::ostream &out) const
Writes a quick one-line description of the record, but not its children.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.