14 #ifndef COLLISIONPARABOLA_H 15 #define COLLISIONPARABOLA_H 35 INLINE
explicit CollisionParabola(
const LParabola ¶bola, PN_stdfloat t1, PN_stdfloat t2);
37 virtual LPoint3 get_collision_origin()
const;
46 virtual void xform(
const LMatrix4 &mat);
51 virtual void output(std::ostream &out)
const;
54 INLINE
void set_parabola(
const LParabola ¶bola);
55 INLINE
const LParabola &get_parabola()
const;
57 INLINE
void set_t1(PN_stdfloat t1);
58 INLINE PN_stdfloat get_t1()
const;
60 INLINE
void set_t2(PN_stdfloat t2);
61 INLINE PN_stdfloat get_t2()
const;
64 MAKE_PROPERTY(parabola, get_parabola, set_parabola);
65 MAKE_PROPERTY(t1, get_t1, set_t1);
66 MAKE_PROPERTY(t2, get_t2, set_t2);
72 virtual void fill_viz_geom();
82 static void register_with_read_factory();
93 static void init_type() {
94 CollisionSolid::init_type();
96 CollisionSolid::get_class_type());
99 return get_class_type();
101 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...
A node that contains a Lens.
Base class for objects that can be written to and read from Bam files.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
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 ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 ...