15 #ifndef COLLISIONPARABOLA_H 16 #define COLLISIONPARABOLA_H 18 #include "pandabase.h" 20 #include "collisionSolid.h" 38 INLINE CollisionParabola(
const LParabola ¶bola, PN_stdfloat t1, PN_stdfloat t2);
40 virtual LPoint3 get_collision_origin()
const;
43 INLINE CollisionParabola(
const CollisionParabola ©);
49 virtual void xform(
const LMatrix4 &mat);
54 virtual void output(ostream &out)
const;
57 INLINE
void set_parabola(
const LParabola ¶bola);
58 INLINE
const LParabola &get_parabola()
const;
60 INLINE
void set_t1(PN_stdfloat t1);
61 INLINE PN_stdfloat get_t1()
const;
63 INLINE
void set_t2(PN_stdfloat t2);
64 INLINE PN_stdfloat get_t2()
const;
70 virtual void fill_viz_geom();
80 static void register_with_read_factory();
91 static void init_type() {
92 CollisionSolid::init_type();
93 register_type(_type_handle,
"CollisionParabola",
94 CollisionSolid::get_class_type());
97 return get_class_type();
99 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
105 #include "collisionParabola.I" 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).
A node that contains a Lens.
Base class for objects that can be written to and read from Bam files.
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 ...
virtual void write_datagram(BamWriter *manager, Datagram &me)
Function to write the important information in the particular object to a Datagram.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
A lightweight class that represents a single element that may be timed and/or counted via stats...
This is a 4-by-4 transform matrix.
Defines a single collision event.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This defines a parabolic arc, or subset of an arc, similar to the path of a projectile or falling obj...
virtual PStatCollector & get_test_pcollector()
Returns a PStatCollector that is used to count the number of intersection tests made against a solid ...
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 ...