15 #include "geomPoints.h" 16 #include "pStatTimer.h" 17 #include "bamReader.h" 18 #include "bamWriter.h" 19 #include "graphicsStateGuardianBase.h" 29 GeomPoints(GeomPoints::UsageHint usage_hint) :
75 GeomPrimitive::PrimitiveType GeomPoints::
76 get_primitive_type()
const {
93 return GR_point | GR_indexed_point;
135 return gsg->draw_points(reader, force);
145 register_with_read_factory() {
163 parse_params(params, scan, manager);
164 object->fillin(scan, manager);
virtual int get_min_num_vertices_per_primitive() const
Returns the minimum number of vertices that must be added before close_primitive() may legally be cal...
Defines a series of disconnected points.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
This is an abstract base class for a family of classes that represent the fundamental geometry primit...
virtual int get_geom_rendering() const
Returns the set of GeomRendering bits that represent the rendering properties required to properly re...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
void register_factory(TypeHandle handle, CreateFunc *func)
Registers a new kind of thing the Factory will be able to create.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
virtual int get_num_vertices_per_primitive() const
If the primitive type is a simple type in which all primitives have the same number of vertices...
bool is_indexed() const
Returns true if the primitive is indexed, false otherwise.