14#ifndef GEOMTRISTRIPSADJACENCY_H
15#define GEOMTRISTRIPSADJACENCY_H
25class EXPCL_PANDA_GOBJ GeomTristripsAdjacency :
public GeomPrimitive {
27 explicit GeomTristripsAdjacency(UsageHint usage_hint);
28 GeomTristripsAdjacency(
const GeomTristripsAdjacency ©);
29 virtual ~GeomTristripsAdjacency();
30 ALLOC_DELETED_CHAIN(GeomTristripsAdjacency);
33 virtual PT(GeomPrimitive) make_copy()
const;
41 const GeomPrimitivePipelineReader *reader,
45 virtual bool requires_unused_vertices()
const;
59 static void init_type() {
60 GeomPrimitive::init_type();
62 GeomPrimitive::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
An instance of this class is passed to the Factory when requesting it to do its business and construc...
get_min_num_vertices_per_primitive
Returns the minimum number of vertices that must be added before close_primitive() may legally be cal...
get_geom_rendering
Returns the set of GeomRendering bits that represent the rendering properties required to properly re...
get_num_unused_vertices_per_primitive
Returns the number of vertices that are added between primitives that aren't, strictly speaking,...
static void register_with_read_factory()
Tells the BamReader how to create objects of type Geom.
virtual bool draw(GraphicsStateGuardianBase *gsg, const GeomPrimitivePipelineReader *reader, bool force) const
Calls the appropriate method on the GSG to draw the primitive.
virtual PrimitiveType get_primitive_type() const
Returns the fundamental rendering type of this primitive: whether it is points, lines,...
This is the data for one array of a GeomVertexData structure.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
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(),...