#include <StaticDeformedMeshCollision.h>
Inheritance diagram for Lamp::StaticDeformedMeshCollision:
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) |
球コリジョン交差 | |
virtual const DeformedMeshGeometry & | getMesh () const |
メッシュの取得 | |
virtual const DeformedMeshGeometry & | getWorldMesh () |
ワールドメッシュの取得 | |
virtual void | setTriangleCount (int triangleCount) |
トライアングル数の設定 | |
virtual int | getTriangleCount () const |
トライアングル数の取得 | |
virtual void | setTriangle (int index, const Triangle &triangle) |
トライアングルの設定 | |
virtual const Triangle & | getTriangle (int index) const |
トライアングルの取得 | |
virtual void | calculateBounding () |
バウンディングの算出 | |
virtual void | setBoundingBox (const AxisAlignedBox &boundingBox) |
バウンディングボックスの設定 | |
virtual const AxisAlignedBox & | getBoundingBox () const |
バウンディングボックスの取得 | |
virtual void | setBoundingSphere (const Sphere &boundingSphere) |
バウンディングスフィアの設定 | |
virtual const Sphere & | getBoundingSphere () const |
バウンディングスフィアの取得 | |
virtual CollisionObject * | copy () const |
コピー | |
virtual CollisionLeaf * | copyCollisionLeaf () const |
コリジョンリーフのコピー | |
virtual StaticCollisionLeaf * | copyStaticCollisionLeaf () const |
静的コリジョンリーフのコピー | |
virtual StaticDeformedMeshCollision * | copyStaticDeformedMeshCollision () const |
静的変形メッシュコリジョンのコピー | |
virtual bool | isStaticDeformedMeshCollision () const |
静的変形メッシュコリジョンかどうか | |
Protected Member Functions | |
StaticDeformedMeshCollision (const String &name, CollisionScene *scene) | |
コンストラクタ | |
virtual | ~StaticDeformedMeshCollision () |
デストラクタ | |
virtual void | traverseImplement (const Matrix34 &parentMatrix, bool parentEnabled, bool parentScaled, bool parentChanged) |
走査 | |
Friends | |
class | CollisionScene |
Definition at line 37 of file StaticDeformedMeshCollision.h.
|
コンストラクタ
Definition at line 37 of file StaticDeformedMeshCollision.cpp. |
|
コピー
Implements Lamp::CollisionObject. Definition at line 171 of file StaticDeformedMeshCollision.h. References copyStaticDeformedMeshCollision(). |
|
コリジョンリーフのコピー
Implements Lamp::CollisionLeaf. Definition at line 179 of file StaticDeformedMeshCollision.h. References copyStaticDeformedMeshCollision(). |
|
静的コリジョンリーフのコピー
Implements Lamp::StaticCollisionLeaf. Definition at line 187 of file StaticDeformedMeshCollision.h. References copyStaticDeformedMeshCollision(). |
|
静的変形メッシュコリジョンのコピー
Definition at line 50 of file StaticDeformedMeshCollision.cpp. References Assert, Lamp::StaticCollisionLeaf::copyStaticCollisionLeafValue(), Lamp::CollisionScene::createStaticDeformedMeshCollision(), Lamp::CollisionObject::getName(), Lamp::CollisionObject::getScene(), mesh_, worldMesh_, and worldMeshChanged_. Referenced by copy(), copyCollisionLeaf(), and copyStaticCollisionLeaf(). |
|
バウンディングボックスの取得
Definition at line 142 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::getBoundingBox(). Referenced by Lamp::TextCollisionSaver::writeStaticDeformedMeshCollision(). |
|
バウンディングスフィアの取得
Definition at line 160 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::getBoundingSphere(). Referenced by Lamp::TextCollisionSaver::writeStaticDeformedMeshCollision(). |
|
メッシュの取得
Definition at line 68 of file StaticDeformedMeshCollision.h. Referenced by intersection(). |
|
トライアングルの取得
Definition at line 113 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::getTriangle(). Referenced by Lamp::TextCollisionSaver::writeStaticDeformedMeshCollision(). |
|
トライアングル数の取得
Definition at line 95 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::getTriangleCount(). Referenced by Lamp::TextCollisionSaver::writeStaticDeformedMeshCollision(). |
|
ワールドメッシュの取得 ワールドメッシュの取得を行った時点でメッシュがワールド座標に変換される
Definition at line 134 of file StaticDeformedMeshCollision.cpp. References Assert, Lamp::CollisionObject::getParent(), Lamp::DeformedMeshGeometry::getTriangle(), Lamp::DeformedMeshGeometry::getTriangleCount(), Lamp::CollisionNode::getWorldMatrix(), Lamp::CollisionObject::isGlobalEnabled(), NULL, Lamp::DeformedMeshGeometry::setTriangle(), and Lamp::Triangle::transform(). Referenced by intersection(), and Lamp::CollisionRenderer::setupStaticDeformedMeshCollision(). |
|
球コリジョン交差
Reimplemented from Lamp::CollisionLeaf. Definition at line 79 of file StaticDeformedMeshCollision.cpp. References Lamp::CollisionLeaf::getCollisionMask(), getMesh(), Lamp::CollisionLeaf::getWorldMatrix(), getWorldMesh(), Lamp::StaticSphereCollision::getWorldSphere(), Lamp::DeformedMeshGeometry::intersectBounding(), Lamp::DeformedMeshGeometry::intersectMesh(), Lamp::Matrix34::invertTransformation(), Lamp::CollisionObject::isGlobalEnabled(), Lamp::CollisionLeaf::isScaled(), and Lamp::Sphere::transform(). |
|
球交差
Reimplemented from Lamp::CollisionLeaf. Definition at line 66 of file StaticDeformedMeshCollision.cpp. References Lamp::CollisionLeaf::getCollisionMask(), getWorldMesh(), Lamp::DeformedMeshGeometry::intersectBounding(), Lamp::DeformedMeshGeometry::intersectMesh(), and Lamp::CollisionObject::isGlobalEnabled(). |
|
静的変形メッシュコリジョンかどうか
Reimplemented from Lamp::CollisionObject. Definition at line 205 of file StaticDeformedMeshCollision.h. |
|
バウンディングボックスの設定
Definition at line 133 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::setBoundingBox(), and Lamp::CollisionObject::setChanged(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and Lamp::TextCollisionLoader::readStaticDeformedMesh(). |
|
バウンディングスフィアの設定
Definition at line 151 of file StaticDeformedMeshCollision.h. References Lamp::DeformedMeshGeometry::setBoundingSphere(), and Lamp::CollisionObject::setChanged(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and Lamp::TextCollisionLoader::readStaticDeformedMesh(). |
|
トライアングルの設定
Definition at line 103 of file StaticDeformedMeshCollision.h. References Lamp::CollisionObject::setChanged(), and Lamp::DeformedMeshGeometry::setTriangle(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and Lamp::TextCollisionLoader::readStaticDeformedMesh(). |
|
トライアングル数の設定
Definition at line 85 of file StaticDeformedMeshCollision.h. References Lamp::CollisionObject::setChanged(), and Lamp::DeformedMeshGeometry::setTriangleCount(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and Lamp::TextCollisionLoader::readStaticDeformedMesh(). |
|
走査
Implements Lamp::CollisionObject. Definition at line 104 of file StaticDeformedMeshCollision.cpp. References Lamp::DeformedMeshGeometry::getBoundingBox(), Lamp::DeformedMeshGeometry::getBoundingSphere(), Lamp::Sphere::scaledTransform(), Lamp::DeformedMeshGeometry::setBoundingBox(), Lamp::DeformedMeshGeometry::setBoundingSphere(), Lamp::Sphere::transform(), Lamp::AxisAlignedBox::transform(), and Lamp::CollisionLeaf::traverseSetup(). |