15 #ifndef COLLISIONLINE_H
16 #define COLLISIONLINE_H
18 #include "pandabase.h"
20 #include "collisionRay.h"
32 INLINE CollisionLine(PN_stdfloat ox, PN_stdfloat oy, PN_stdfloat oz,
33 PN_stdfloat dx, PN_stdfloat dy, PN_stdfloat dz);
36 INLINE CollisionLine(
const CollisionLine ©);
42 virtual void output(ostream &out)
const;
45 virtual void fill_viz_geom();
59 static void init_type() {
60 CollisionRay::init_type();
61 register_type(_type_handle,
"CollisionLine",
62 CollisionRay::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
73 #include "collisionLine.I"
An infinite ray, with a specific origin and direction.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
The abstract base class for all things that can collide with other things in the world, and all the things they can collide with (except geometry).
Base class for objects that can be written to and read from Bam files.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
Defines a single collision event.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
An infinite line, similar to a CollisionRay, except that it extends in both directions.
static void register_with_read_factory()
Tells the BamReader how to create objects of type CollisionRay.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.