Go to the documentation of this file.
26 GeomPoints(GeomPoints::UsageHint usage_hint) :
63 GeomPrimitive::PrimitiveType GeomPoints::
64 get_primitive_type()
const {
73 get_geom_rendering()
const {
78 return GR_point | GR_indexed_point;
92 get_num_vertices_per_primitive()
const {
101 get_min_num_vertices_per_primitive()
const {
111 return gsg->draw_points(reader, force);
118 register_with_read_factory() {
134 object->fillin(scan, manager);
A class to retrieve the individual data elements previously stored in a Datagram.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Defines a series of disconnected points.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
PT(GeomPrimitive) GeomPoints
Returns the fundamental rendering type of this primitive: whether it is points, lines,...
TypeHandle is the identifier used to differentiate C++ class types.
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, void *user_data=nullptr)
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
bool is_indexed() const
Returns true if the primitive is indexed, false otherwise.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void parse_params(const FactoryParams ¶ms, DatagramIterator &scan, BamReader *&manager)
Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function,...
This is an abstract base class for a family of classes that represent the fundamental geometry primit...