#include <StaticSphereCollision.h>
Inheritance diagram for Lamp::StaticSphereCollision:
Public Member Functions | |
virtual void | intersection (IntersectionResult *result, const Sphere &sphere, u_int collisionMask=0xffffffff) |
球交差 | |
virtual void | intersection (IntersectionResult *result, StaticSphereCollision *sphere, u_int collisionMask=0xffffffff) |
球コリジョン交差 | |
void | setSphere (const Sphere &sphere) |
球の設定 | |
void | setSphere (const Vector3 ¢er, float radius) |
球の設定 | |
virtual const Sphere & | getSphere () const |
球の取得 | |
virtual const Sphere & | getWorldSphere () |
ワールド球の取得 | |
void | setCenter (const Vector3 ¢er) |
中心の設定 | |
const Vector3 & | getCenter () const |
中心の取得 | |
void | setRadius (float radius) |
半径の設定 | |
float | getRadius () const |
半径の取得 | |
virtual CollisionObject * | copy () const |
コピー | |
virtual CollisionLeaf * | copyCollisionLeaf () const |
コリジョンリーフのコピー | |
virtual StaticCollisionLeaf * | copyStaticCollisionLeaf () const |
静的コリジョンリーフのコピー | |
virtual StaticSphereCollision * | copyStaticSphereCollision () const |
静的球コリジョンのコピー | |
virtual bool | isStaticSphereCollision () const |
静的球コリジョンかどうか | |
Protected Member Functions | |
StaticSphereCollision (const String &name, CollisionScene *scene) | |
コンストラクタ | |
virtual | ~StaticSphereCollision () |
デストラクタ | |
virtual void | traverseImplement (const Matrix34 &parentMatrix, bool parentEnabled, bool parentScaled, bool parentChanged) |
走査 | |
Friends | |
class | CollisionScene |
Definition at line 36 of file StaticSphereCollision.h.
|
コンストラクタ
Definition at line 36 of file StaticSphereCollision.cpp. |
|
コピー
Implements Lamp::CollisionObject. Definition at line 137 of file StaticSphereCollision.h. References copyStaticSphereCollision(). |
|
コリジョンリーフのコピー
Implements Lamp::CollisionLeaf. Definition at line 145 of file StaticSphereCollision.h. References copyStaticSphereCollision(). |
|
静的コリジョンリーフのコピー
Implements Lamp::StaticCollisionLeaf. Definition at line 153 of file StaticSphereCollision.h. References copyStaticSphereCollision(). |
|
静的球コリジョンのコピー
Definition at line 50 of file StaticSphereCollision.cpp. References Lamp::StaticCollisionLeaf::copyStaticCollisionLeafValue(), Lamp::CollisionScene::createStaticSphereCollision(), Lamp::CollisionObject::getName(), Lamp::CollisionObject::getScene(), sphere_, and worldSphere_. Referenced by copy(), copyCollisionLeaf(), and copyStaticCollisionLeaf(). |
|
中心の取得
Definition at line 112 of file StaticSphereCollision.h. References Lamp::Sphere::getCenter(). Referenced by Lamp::TextCollisionSaver::writeStaticSphereCollision(). |
|
半径の取得
Definition at line 128 of file StaticSphereCollision.h. References Lamp::Sphere::getRadius(). Referenced by Lamp::TextCollisionSaver::writeStaticSphereCollision(). |
|
球の取得
Definition at line 86 of file StaticSphereCollision.h. |
|
ワールド球の取得
Definition at line 93 of file StaticSphereCollision.h. References Assert, and Lamp::CollisionObject::isGlobalEnabled(). Referenced by intersection(), Lamp::StaticDeformedMeshCollision::intersection(), and Lamp::CollisionRenderer::setupStaticSphereCollision(). |
|
球コリジョン交差
Reimplemented from Lamp::CollisionLeaf. Definition at line 79 of file StaticSphereCollision.cpp. References Lamp::IntersectionResult::add(), Lamp::CollisionLeaf::getCollisionMask(), getWorldSphere(), Lamp::Sphere::intersect(), intersection(), and Lamp::CollisionObject::isGlobalEnabled(). |
|
球交差
Reimplemented from Lamp::CollisionLeaf. Definition at line 65 of file StaticSphereCollision.cpp. References Lamp::IntersectionResult::add(), Lamp::CollisionLeaf::getCollisionMask(), Lamp::Sphere::intersect(), intersection(), and Lamp::CollisionObject::isGlobalEnabled(). Referenced by intersection(). |
|
静的球コリジョンかどうか
Reimplemented from Lamp::CollisionObject. Definition at line 171 of file StaticSphereCollision.h. |
|
中心の設定
Definition at line 103 of file StaticSphereCollision.h. References Lamp::Sphere::setCenter(), and Lamp::CollisionObject::setChanged(). |
|
半径の設定
Definition at line 119 of file StaticSphereCollision.h. References Lamp::CollisionObject::setChanged(), and Lamp::Sphere::setRadius(). |
|
球の設定
Definition at line 77 of file StaticSphereCollision.h. References Lamp::Sphere::set(), and Lamp::CollisionObject::setChanged(). |
|
球の設定
Definition at line 67 of file StaticSphereCollision.h. References Lamp::CollisionObject::setChanged(). Referenced by Lamp::TextCollisionLoader::readStaticSphere(). |
|
走査
Implements Lamp::CollisionObject. Definition at line 97 of file StaticSphereCollision.cpp. References Lamp::Sphere::scaledTransform(), Lamp::Sphere::transform(), and Lamp::CollisionLeaf::traverseSetup(). |