#include <basic/geometry/MPK_Segment.h>
Inherits ObjectBase.
Inherited by GL_Segment.
Inheritance diagram for MPK::Segment:
Public Member Functions | |
Segment (FrameManager *frameManager) | |
Segment (const Segment &right) | |
virtual | ~Segment () |
virtual Entity * | Clone () const |
virtual bool | IsInterfering (const Entity *entity) const |
virtual bool | CanCheckInterference (const Entity *entity) const |
virtual bool | IsInterfering (const Segment *entity) const |
void | SetStart (const Vector4 &start) |
void | SetEnd (const Vector4 &end) |
virtual bool | IsInterfering (const MPK_Sphere *entity) const |
virtual void | Deserialize (istream &is) |
virtual void | Serialize (ostream &os) const |
virtual bool | Verify () const |
Protected Attributes | |
Vector4 | startPos |
Vector4 | endPos |
Definition at line 48 of file MPK_Segment.h.
|
Definition at line 11 of file MPK_Segment.cpp. |
|
Definition at line 22 of file MPK_Segment.cpp. |
|
Definition at line 37 of file MPK_Segment.cpp. |
|
Implements Entity. Definition at line 78 of file MPK_Segment.cpp. |
|
Implements ObjectBase. Reimplemented in GL_Segment. Definition at line 46 of file MPK_Segment.cpp. References Segment::Segment(). Here is the call graph for this function: ![]() |
|
Definition at line 239 of file MPK_Segment.cpp. |
|
Definition at line 198 of file MPK_Segment.cpp. References Entity::BaseFrame(), Between(), Vector4::Dot(), Matrix4x4::Inverse(), Segment::p1, MPK_Sphere::Position(), and MPK_Sphere::Radius(). Here is the call graph for this function: ![]() |
|
Definition at line 95 of file MPK_Segment.cpp. References Entity::baseFrame, Between(), Vector4::Cross(), endPos, Vector4::MagSquared(), Segment::p1, Vector4::Projection(), Vector4::ProjectionMag(), and startPos. Here is the call graph for this function: ![]() |
|
Implements ObjectBase. Definition at line 54 of file MPK_Segment.cpp. |
|
Definition at line 246 of file MPK_Segment.cpp. |
|
Definition at line 191 of file MPK_Segment.cpp. |
|
Definition at line 184 of file MPK_Segment.cpp. |
|
Implements ObjectBase. Definition at line 254 of file MPK_Segment.cpp. |
|
Definition at line 111 of file MPK_Segment.h. Referenced by GL_Segment::DrawExplicit(), and IsInterfering(). |
|
Definition at line 105 of file MPK_Segment.h. Referenced by GL_Segment::DrawExplicit(), and IsInterfering(). |