14 #ifndef GEOMTRIANGLES_H 15 #define GEOMTRIANGLES_H 32 virtual PrimitiveType get_primitive_type()
const;
36 virtual int get_num_vertices_per_primitive()
const;
49 static void register_with_read_factory();
58 static void init_type() {
59 GeomPrimitive::init_type();
61 GeomPrimitive::get_class_type());
64 return get_class_type();
66 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Base class for objects that can be written to and read from Bam files.
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 an abstract base class for a family of classes that represent the fundamental geometry primit...
A container for geometry primitives.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
Defines a series of disconnected triangles.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
This is the data for one array of a GeomVertexData structure.