An infinite line, similar to a CollisionRay, except that it extends in both directions. More...
#include "collisionLine.h"
List of all members.
An infinite line, similar to a CollisionRay, except that it extends in both directions.
It is, however, directional.
Definition at line 28 of file collisionLine.h.
[inline]
Creates an invalid line.
This isn't terribly useful; it's expected that the user will subsequently adjust the line via set_origin()/set_direction() or set_from_lens().
Definition at line 25 of file collisionLine.I.
Referenced by make_from_bam().
[protected, virtual]
Fills the _viz_geom GeomNode up with Geoms suitable for rendering this solid.
Reimplemented from CollisionRay.
Definition at line 72 of file collisionLine.cxx.
References GeomVertexWriter::add_data3(), GeomVertexWriter::add_data4(), and GeomVertexFormat::get_v3cp().
This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new CollisionLine.
Definition at line 156 of file collisionLine.cxx.
[static, protected]
This function is called by the BamReader's factory when a new object of type CollisionLine is encountered in the Bam file.
It should create the CollisionLine and extract its information from the file.
Definition at line 137 of file collisionLine.cxx.
References CollisionLine(), and fillin().
Referenced by register_with_read_factory().
[static]
Tells the BamReader how to create objects of type CollisionLine.
Definition at line 113 of file collisionLine.cxx.
References BamReader::get_factory(), make_from_bam(), and Factory< Type >::register_factory().
[virtual]
Writes the contents of this object to the datagram for shipping out to a Bam file.
Definition at line 124 of file collisionLine.cxx.