#include <collisionEntry.h>
Inheritance diagram for CollisionEntry:

Public Member Functions | |
| INLINE | CollisionEntry () |
| CollisionEntry (const CollisionEntry ©) | |
| void | operator= (const CollisionEntry ©) |
| INLINE bool | has_into () const |
| INLINE const CollisionSolid * | get_into () const |
| INLINE CollisionNode * | get_from_node () const |
| INLINE PandaNode * | get_into_node () const |
| INLINE const NodePath & | get_into_node_path () const |
| INLINE const LMatrix4f & | get_from_space () const |
| INLINE const LMatrix4f & | get_into_space () const |
| INLINE const LMatrix4f & | get_wrt_space () const |
| INLINE const LMatrix4f & | get_inv_wrt_space () const |
| INLINE void | set_from_velocity (const LVector3f &vel) |
| INLINE bool | has_from_velocity () const |
| INLINE const LVector3f & | get_from_velocity () const |
| INLINE void | set_into_intersection_point (const LPoint3f &point) |
| INLINE bool | has_into_intersection_point () const |
| INLINE const LPoint3f & | get_into_intersection_point () const |
| INLINE bool | has_from_intersection_point () const |
| INLINE LPoint3f | get_from_intersection_point () const |
| INLINE void | set_into_surface_normal (const LVector3f &normal) |
| INLINE bool | has_into_surface_normal () const |
| INLINE const LVector3f & | get_into_surface_normal () const |
| INLINE void | set_from_surface_normal (const LVector3f &normal) |
| INLINE bool | has_from_surface_normal () const |
| INLINE const LVector3f & | get_from_surface_normal () const |
| INLINE void | set_into_depth (float depth) |
| INLINE bool | has_into_depth () const |
| INLINE float | get_into_depth () const |
| INLINE void | set_from_depth (float depth) |
| INLINE bool | has_from_depth () const |
| INLINE float | get_from_depth () const |
| virtual TypeHandle | get_type () const |
| virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
| TypeHandle | get_class_type () |
| void | init_type () |
Public Attributes | |
| PUBLISHED | __pad0__: INLINE const CollisionSolid *get_from() const |
Private Types | |
| enum | Flags { F_has_into_intersection_point = 0x0001, F_has_into_surface_normal = 0x0002, F_has_from_surface_normal = 0x0004, F_has_into_depth = 0x0008, F_has_from_depth = 0x0010, F_has_from_velocity = 0x0020 } |
Private Member Functions | |
| INLINE void | test_intersection (CollisionHandler *record, const CollisionTraverser *trav) const |
| void | compute_from_surface_normal () |
| CPT (CollisionSolid) _from | |
| CPT (CollisionSolid) _into | |
| PT (CollisionNode) _from_node | |
| PT (PandaNode) _into_node | |
Private Attributes | |
| NodePath | _into_node_path |
| LMatrix4f | _from_space |
| LMatrix4f | _into_space |
| LMatrix4f | _wrt_space |
| LMatrix4f | _inv_wrt_space |
| int | _flags |
| LVector3f | _from_velocity |
| LPoint3f | _into_intersection_point |
| LVector3f | _into_surface_normal |
| LVector3f | _from_surface_normal |
| float | _into_depth |
| float | _from_depth |
Static Private Attributes | |
| TypeHandle | _type_handle |
Friends | |
| class | CollisionTraverser |
|
|
Definition at line 111 of file collisionEntry.h. |
|
|
|
|
|
Definition at line 29 of file collisionEntry.cxx. |
|
|
Definition at line 76 of file collisionEntry.cxx. References _flags, _from_surface_normal, F_has_from_surface_normal, get_into_surface_normal(), and get_inv_wrt_space(). |
|
|
|
|
|
|
|
|
Reimplemented from TypedReferenceCount. Definition at line 141 of file collisionEntry.h. References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type(). |
|
|
Reimplemented from ReferenceCount. Definition at line 130 of file collisionEntry.h. |
|
|
Referenced by CollisionHandlerPusher::handle_entries(). |
|
|
Referenced by CollisionEntrySorter::CollisionEntrySorter(), and CollisionHandlerFloor::handle_entries(). |
|
|
|
|
|
|
Referenced by CollisionHandlerPusher::handle_entries(). |
|
|
Referenced by PT(). |
|
|
Referenced by CollisionHandlerPhysical::add_entry(), CollisionHandlerPusher::handle_entries(), PT(), and CollisionHandlerEvent::throw_event_pattern(). |
|
|
|
|
|
|
|
|
Referenced by CollisionHandlerEvent::add_entry(), CollisionHandlerPusher::handle_entries(), and CollisionHandlerEvent::throw_event_pattern(). |
|
|
Referenced by CollisionHandlerPusher::handle_entries(), and PT(). |
|
|
|
|
|
Referenced by compute_from_surface_normal(). |
|
|
Referenced by compute_from_surface_normal(), and PT(). |
|
|
Reimplemented from TypedReferenceCount. Definition at line 138 of file collisionEntry.h. References ReferenceCount::get_class_type(). |
|
|
Referenced by PT(). |
|
|
Referenced by CollisionHandlerPusher::handle_entries(). |
|
|
Referenced by CollisionHandlerFloor::handle_entries(). |
|
|
Referenced by CollisionHandlerPusher::handle_entries(). |
|
|
Referenced by PT(). |
|
|
Referenced by CollisionHandlerPhysical::add_entry(), and CollisionHandlerEvent::throw_event_pattern(). |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from TypedReferenceCount. Definition at line 133 of file collisionEntry.h. References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by init_libcollide(). |
|
|
Definition at line 52 of file collisionEntry.cxx. References _flags, _from_space, _into_depth, _into_intersection_point, _into_node_path, _into_space, _into_surface_normal, _inv_wrt_space, and _wrt_space. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by CollisionTraverser::r_traverse(). |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Referenced by CollisionTraverser::compare_collider_to_geom(), and CollisionTraverser::compare_collider_to_solid(). |
|
|
Definition at line 146 of file collisionEntry.h. |
|
|
Reimplemented from TypedReferenceCount. Definition at line 55 of file collisionEntry.h. |
|
|
Definition at line 120 of file collisionEntry.h. Referenced by compute_from_surface_normal(), and operator=(). |
|
|
Definition at line 127 of file collisionEntry.h. |
|
|
Definition at line 106 of file collisionEntry.h. Referenced by operator=(), and CollisionTraverser::r_traverse(). |
|
|
Definition at line 125 of file collisionEntry.h. Referenced by compute_from_surface_normal(). |
|
|
Definition at line 122 of file collisionEntry.h. |
|
|
Definition at line 126 of file collisionEntry.h. Referenced by operator=(). |
|
|
Definition at line 123 of file collisionEntry.h. Referenced by operator=(). |
|
|
Definition at line 105 of file collisionEntry.h. Referenced by operator=(), and CollisionTraverser::r_traverse(). |
|
|
Definition at line 107 of file collisionEntry.h. Referenced by operator=(), and CollisionTraverser::r_traverse(). |
|
|
Definition at line 124 of file collisionEntry.h. Referenced by operator=(). |
|
|
Definition at line 109 of file collisionEntry.h. Referenced by operator=(), and CollisionTraverser::r_traverse(). |
|
|
Reimplemented from TypedReferenceCount. Definition at line 21 of file collisionEntry.cxx. |
|
|
Definition at line 108 of file collisionEntry.h. Referenced by operator=(), and CollisionTraverser::r_traverse(). |
1.3