#include <basic/geometry/MPK_Sphere.h>
Inherits ObjectBase.
Inherited by GL_Sphere.
Inheritance diagram for MPK_Sphere:
Public Member Functions | |
MPK_Sphere (FrameManager *frameManager) | |
MPK_Sphere (const MPK_Sphere &right) | |
virtual | ~MPK_Sphere () |
virtual Entity * | Clone () const |
virtual bool | IsInterfering (const Entity *entity) const |
virtual bool | IsInterfering (const MPK_Sphere *entity) const |
void | SetRadius (const double radius) |
Vector4 | Position () const |
void | SetPosition (const Vector4 &position) |
virtual void | Serialize (ostream &os) const |
virtual bool | CanCheckInterference (const Entity *entity) const |
double | Radius () const |
virtual void | Deserialize (IfstreamWithComments &is) |
virtual void | SetFrame (const Matrix4x4 &frame) |
virtual bool | IsInterfering (const MPK_Cylinder *entity) const |
virtual bool | Verify () const |
Protected Attributes | |
double | radius |
Vector4 | position |
Definition at line 46 of file MPK_Sphere.h.
|
Definition at line 30 of file MPK_Sphere.cpp. Referenced by Clone(). |
|
Definition at line 42 of file MPK_Sphere.cpp. |
|
Definition at line 56 of file MPK_Sphere.cpp. |
|
Implements Entity. Definition at line 143 of file MPK_Sphere.cpp. Referenced by IsInterfering(). |
|
Implements ObjectBase. Reimplemented in GL_Sphere. Definition at line 65 of file MPK_Sphere.cpp. References MPK_Sphere(). Here is the call graph for this function: ![]() |
|
Reimplemented from ObjectBase. Definition at line 165 of file MPK_Sphere.cpp. |
|
Definition at line 186 of file MPK_Sphere.cpp. References Entity::GetTransform(), MPK_Cylinder::Height(), and position. Here is the call graph for this function: ![]() |
|
Definition at line 95 of file MPK_Sphere.cpp. References Entity::baseFrame, Entity::frameManager, FrameManager::GetTransformRelative(), Matrix4x4::Inverse(), position, radius, and ObjectBase::theFrame. Here is the call graph for this function: ![]() |
|
Implements ObjectBase. Definition at line 73 of file MPK_Sphere.cpp. References CanCheckInterference(). Here is the call graph for this function: ![]() |
|
Definition at line 122 of file MPK_Sphere.cpp. References position. Referenced by Range_Sensor::AddSphereToDepthMap(), MPK::Segment::IsInterfering(), and Mesh::IsInterfering(). |
|
Definition at line 158 of file MPK_Sphere.cpp. References radius. Referenced by Range_Sensor::AddSphereToDepthMap(), MPK::Segment::IsInterfering(), and Mesh::IsInterfering(). |
|
Definition at line 136 of file MPK_Sphere.cpp. |
|
Reimplemented from ObjectBase. Definition at line 172 of file MPK_Sphere.cpp. References position. |
|
Definition at line 129 of file MPK_Sphere.cpp. References position. |
|
Definition at line 115 of file MPK_Sphere.cpp. |
|
Implements ObjectBase. Definition at line 199 of file MPK_Sphere.cpp. |
|
Definition at line 118 of file MPK_Sphere.h. Referenced by GL_Sphere::DrawExplicit(), IsInterfering(), MPK_Sphere(), Position(), SetFrame(), and SetPosition(). |
|
Definition at line 110 of file MPK_Sphere.h. Referenced by GL_Sphere::DrawExplicit(), IsInterfering(), MPK_Sphere(), and Radius(). |