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());
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
The base class for all kinds of records in a MultiGen OpenFlight file.
A list of vertices, typically added as a child of a face bead.
void add_vertex(FltVertex *vertex)
Adds a new vertex to the end of the vertex list.
FltVertex * get_vertex(int n) const
Returns the nth vertex of this vertex list.
void clear_vertices()
Removes all vertices from this vertex list.
int get_num_vertices() const
Returns the number of vertices in this vertex list.
virtual void output(std::ostream &out) const
Writes a quick one-line description of the record, but not its children.
Represents a single vertex in the vertex palette.
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL vector.
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(),...