#include <Mesh.h>
Inheritance diagram for Lamp::Mesh:
Public Types | |
enum | PrimitiveType { triangleList = 0, indexedTriangleList, ptMax } |
プリミティブタイプ More... | |
Public Member Functions | |
virtual int | getReferenceCount () const |
リファレンスカウントの取得 | |
virtual Mesh * | copy (u_int copyMask=0) const=0 |
コピー | |
virtual Model * | getParent () const |
親の取得 | |
virtual bool | isGlobalScaled () const |
グローバルでスケールを使用しているか | |
virtual bool | requireNormalize () const |
法線の正規化を必要とするか | |
virtual void | setBoundingSphere (const Sphere &boundingSphere) |
バウンディングスフィアの設定 | |
virtual const Sphere & | getBoundingSphere () const |
バウンディングスフィアの取得 | |
virtual const Sphere & | getWorldBoundingSphere () const |
ワールドバウンディングスフィアの取得 | |
virtual void | setBoundingBox (const AxisAlignedBox &boundingBox) |
バウンディングボックスの設定 | |
virtual const AxisAlignedBox & | getBoundingBox () const |
バウンディングボックスの取得 | |
virtual const AxisAlignedBox & | getWorldBoundingBox () const |
ワールドバウンディングボックスの取得 | |
virtual const Vector3 & | getCenter () const |
中心の取得 | |
virtual const Vector3 & | getWorldCenter () const |
ワールド中心の取得 | |
virtual void | setEnabled (bool enabled) |
有効、無効の設定 | |
virtual bool | isEnabled () const |
有効、無効の取得 | |
virtual bool | isGlobalEnabled () const |
グローバルでの有効、無効の取得 | |
virtual void | setMeshData (MeshData *meshData) |
メッシュデータの設定 | |
virtual MeshData * | getMeshData () const |
メッシュデータの取得 | |
virtual void | removeMeshData () |
メッシュデータの削除 | |
virtual void | setMaterial (Material *material) |
マテリアルの設定 | |
virtual Material * | getMaterial () const |
マテリアルの取得 | |
virtual void | removeMaterial () |
マテリアルの削除 | |
virtual void | setPrimitiveType (Mesh::PrimitiveType primitiveType) |
プリミティブタイプの設定 | |
virtual Mesh::PrimitiveType | getPrimitiveType () const |
プリミティブタイプの取得 | |
virtual int | getPrimitiveCount () const |
プリミティブカウントの取得 | |
virtual Triangle | getTriangle (int index) const |
三角の取得 | |
virtual bool | hasVertexIndices () const |
頂点インデックスを持つかどうか | |
virtual void | setVertexIndexCount (int vertexIndexCount) |
頂点インデックス数の設定 | |
virtual int | getVertexIndexCount () const |
頂点インデックス数の取得 | |
virtual void | setVertexIndex (int index, int vertexIndex) |
頂点インデックスの設定 | |
virtual int | getVertexIndex (int index) const |
頂点インデックスの取得 | |
virtual const u_short * | getVertexIndexArray () |
頂点インデックス配列の取得 | |
virtual void | setVertexCount (int vertexCount) |
頂点数の設定 | |
virtual int | getVertexCount () const |
頂点数の取得 | |
virtual void | setPosition (int index, const Vector3 &position) |
位置の設定 | |
virtual const Vector3 & | getPosition (int index) const |
位置の取得 | |
virtual const Vector3 * | getPositionArray () const |
位置配列の取得 | |
virtual void | enableNormal (bool normalFlag) |
法線を有効にするかどうか | |
virtual bool | hasNormal () const |
法線が有効かどうか | |
virtual void | setNormal (int index, const Vector3 &normal) |
法線の設定 | |
virtual const Vector3 & | getNormal (int index) const |
法線の取得 | |
virtual const Vector3 * | getNormalArray () const |
法線配列の取得 | |
virtual void | enableColor (bool colorFlag) |
カラーを有効にするかどうか | |
virtual bool | hasColor () const |
カラーが有効かどうか | |
virtual void | setColor (int index, const Color4c &color) |
カラーの設定 | |
virtual const Color4c & | getColor (int index) const |
カラーの取得 | |
virtual const Color4c * | getColorArray () const |
カラー配列の取得 | |
virtual void | setTexCoordSetCount (int texCoordSetCount) |
テクスチャ座標セット数の設定 | |
virtual int | getTexCoordSetCount () const |
テクスチャ座標セット数の設定 | |
virtual void | setTexCoordType (int texCoordSet, TexCoord::Type texCoordType) |
テクスチャ座標タイプの設定 | |
virtual TexCoord::Type | getTexCoordType (int texCoordSet) const |
テクスチャ座標タイプの取得 | |
virtual const TexCoord::Type * | getTexCoordTypeArray () const |
テクスチャ座標タイプ配列の取得 | |
virtual void | setTexCoord (int index, int texCoordSet, const float *texCoord, int numTexCoord) |
テクスチャ座標の設定 | |
virtual const float *const * | getTexCoordArray () const |
テクスチャ座標配列の取得 | |
virtual const float * | getTexCoordArray (int texCoordSet) const |
テクスチャ座標配列の取得 | |
virtual int | getTexCoordArraySize (int texCoordSet) const |
テクスチャ座標配列サイズの取得 | |
virtual void | setTexCoord1 (int index, int texCoordSet, const TexCoord1 &texCoord) |
一次元テクスチャ座標の設定 | |
virtual const TexCoord1 & | getTexCoord1 (int index, int texCoordSet) const |
一次元テクスチャ座標の取得 | |
virtual const TexCoord1 * | getTexCoord1Array (int texCoordSet) const |
一次元テクスチャ座標配列の取得 | |
virtual void | setTexCoord2 (int index, int texCoordSet, const TexCoord2 &texCoord) |
二次元テクスチャ座標の設定 | |
virtual const TexCoord2 & | getTexCoord2 (int index, int texCoordSet) const |
二次元テクスチャ座標の取得 | |
virtual const TexCoord2 * | getTexCoord2Array (int texCoordSet) const |
二次元テクスチャ座標配列の取得 | |
virtual void | setTexCoord3 (int index, int texCoordSet, const TexCoord3 &texCoord) |
三次元テクスチャ座標の設定 | |
virtual const TexCoord3 & | getTexCoord3 (int index, int texCoordSet) const |
三次元テクスチャ座標の取得 | |
virtual const TexCoord3 * | getTexCoord3Array (int texCoordSet) const |
三次元テクスチャ座標配列の取得 | |
virtual void | setTexCoord4 (int index, int texCoordSet, const TexCoord4 &texCoord) |
四次元テクスチャ座標の設定 | |
virtual const TexCoord4 & | getTexCoord4 (int index, int texCoordSet) const |
四次元テクスチャ座標の取得 | |
virtual const TexCoord4 * | getTexCoord4Array (int texCoordSet) const |
四次元テクスチャ座標配列の取得 | |
virtual void | setBonesPerVertex (int bonesPerVertex) |
頂点あたりボーン数の設定 | |
virtual int | getBonesPerVertex () const |
頂点あたりボーン数の取得 | |
virtual bool | hasBoneIndex () const |
ボーンインデックスが有効かどうか | |
virtual void | setBoneIndex (int vertexIndex, int boneNumber, u_char boneIndex) |
ボーンインデックスの設定 | |
virtual void | setBoneIndex (int vertexIndex, u_char boneIndex) |
ボーンインデックスの設定 | |
virtual u_char | getBoneIndex (int vertexIndex, int boneNumber) const |
ボーンインデックスの取得 | |
virtual u_char | getBoneIndex (int vertexIndex) const |
ボーンインデックスの取得 | |
virtual const u_char * | getBoneIndexArray () const |
ボーンインデックス配列の取得 | |
virtual int | getWeightsPerVertex () const |
頂点当たりウェイト数の取得 | |
virtual bool | hasWeight () const |
ウェイトが有効かどうか | |
virtual void | setWeight (int vertexIndex, int boneNumber, float weight) |
ウェイトの設定 | |
virtual float | getWeight (int vertexIndex, int boneNumber) const |
ウェイトの取得 | |
virtual const float * | getWeightArray () const |
ウェイト配列の取得 | |
virtual bool | initializeGraphicsDeviceObjects () |
デバイスオブジェクトの初期化 | |
virtual void | deleteGraphicsDeviceObjects () |
デバイスオブジェクトの削除 | |
virtual bool | restoreGraphicsDeviceObjects () |
デバイスオブジェクトのリストア | |
virtual void | invalidateGraphicsDeviceObjects () |
デバイスオブジェクトの無効化 | |
virtual bool | isMesh () const |
メッシュかどうか | |
virtual bool | isRigidMesh () const |
剛体メッシュかどうか | |
virtual RigidMesh * | castRigidMesh () const |
剛体メッシュへのキャスト | |
virtual bool | isCharacterMesh () const |
キャラクタメッシュかどうか | |
virtual CharacterMesh * | castCharacterMesh () const |
キャラクタメッシュへのキャスト | |
Static Public Member Functions | |
int | recursiveDestroy (Mesh *mesh) |
再帰的破棄 | |
bool | primitiveTypeHasIndex (PrimitiveType primitiveType) |
プリミティブタイプがインデックスを持つかどうか | |
String | primitiveTypeToString (PrimitiveType primitiveType) |
プリミティブタイプから文字列への変換 | |
PrimitiveType | primitiveTypeFromString (const String &primitiveTypeString) |
文字列からプリミティブタイプへの変換 | |
Protected Member Functions | |
Mesh (const String &name, Scene *scene) | |
コンストラクタ | |
virtual | ~Mesh () |
デストラクタ | |
virtual void | copyMeshValue (Mesh *destination, u_int copyMask) const |
メッシュの値コピー | |
virtual Direct3DIndexBuffer * | getIndexBuffer () |
インデックスバッファの取得 | |
virtual Direct3DVertexDeclaration * | getVertexDeclaration () |
頂点記述の取得 | |
virtual int | getVertexSize () |
頂点サイズの取得 | |
virtual Direct3DVertexBuffer * | getVertexBuffer () |
頂点バッファの構築 | |
virtual bool | characterDeform () |
キャラクタ変形 | |
virtual Direct3DVertexDeclaration * | getDeformedVertexDeclaration () |
変形頂点記述の取得 | |
virtual int | getDeformedVertexSize () |
変形頂点サイズの取得 | |
virtual Direct3DVertexBuffer * | getDeformedVertexBuffer () |
変形頂点バッファの構築 | |
virtual void | setRenderingTemporaryData (float renderingTemporaryData) |
レンダリングテンポラリデータの設定 | |
virtual float | getRenderingTemporaryData () const |
レンダリングテンポラリデータの取得 | |
virtual void | setParent (Model *parent) |
親の設定 | |
virtual void | removeParent (Model *parent) |
親の削除 | |
virtual void | traverse (const Matrix34 &parentMatrix, bool parentEnabled, bool parentScaled, bool parentChanged) |
走査 | |
Friends | |
class | SceneObjectManagerTemplate< Mesh > |
class | Renderer |
class | MeshManager |
class | Model |
class | Shader |
class | FixedShader |
Definition at line 44 of file Mesh.h.
|
プリミティブタイプ
Definition at line 222 of file Mesh.h. Referenced by primitiveTypeFromString(). |
|
コンストラクタ
Definition at line 42 of file Mesh.cpp. References NULL. |
|
キャラクタメッシュへのキャスト
Definition at line 735 of file Mesh.h. References isCharacterMesh(), and NULL. Referenced by Lamp::TextSceneSaver::writeMeshList(), and Lamp::BinarySceneSaver::writeMeshList(). |
|
剛体メッシュへのキャスト
Definition at line 719 of file Mesh.h. References isRigidMesh(), and NULL. Referenced by Lamp::TextSceneSaver::writeMeshList(), and Lamp::BinarySceneSaver::writeMeshList(). |
|
キャラクタ変形
Reimplemented in Lamp::CharacterMesh. Definition at line 795 of file Mesh.h. Referenced by Lamp::FixedShader::drawFixed(). |
|
コピー
Implemented in Lamp::CharacterMesh, and Lamp::RigidMesh. |
|
メッシュの値コピー
Definition at line 53 of file Mesh.cpp. References Lamp::Material::copy(), Lamp::MeshData::copy(), Lamp::SceneObject::copyMaterial, Lamp::SceneObject::copyMeshData, NULL, setEnabled(), setMaterial(), and setMeshData(). Referenced by Lamp::CharacterMesh::copyCharacterMesh(), and Lamp::RigidMesh::copyRigidMesh(). |
|
カラーを有効にするかどうか
Definition at line 304 of file Mesh.cpp. References Lamp::MeshData::enableColor(), and getMeshData(). |
|
法線を有効にするかどうか
Definition at line 281 of file Mesh.cpp. References Lamp::MeshData::enableNormal(), and getMeshData(). |
|
ボーンインデックスの取得
Definition at line 463 of file Mesh.cpp. References Lamp::MeshData::getBoneIndex(), getMeshData(), and u_char. |
|
ボーンインデックスの取得
Definition at line 458 of file Mesh.cpp. References Lamp::MeshData::getBoneIndex(), getMeshData(), and u_char. |
|
ボーンインデックス配列の取得
Definition at line 468 of file Mesh.cpp. References Lamp::MeshData::getBoneIndexArray(), getMeshData(), and u_char. Referenced by Lamp::CharacterMesh::skinningDeformP(), Lamp::CharacterMesh::skinningDeformPN(), Lamp::CharacterMesh::stitchingDeformP(), and Lamp::CharacterMesh::stitchingDeformPN(). |
|
頂点あたりボーン数の取得
Definition at line 438 of file Mesh.cpp. References Lamp::MeshData::getBonesPerVertex(), and getMeshData(). Referenced by Lamp::CharacterMesh::deform(), Lamp::CharacterMesh::skinningDeformP(), and Lamp::CharacterMesh::skinningDeformPN(). |
|
バウンディングボックスの取得
Definition at line 133 of file Mesh.cpp. References Assert, Lamp::MeshData::getBoundingBox(), and NULL. Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), Lamp::CalculateBoundingSphereFilter::filterMesh(), and traverse(). |
|
バウンディングスフィアの取得
Definition at line 147 of file Mesh.cpp. References Assert, Lamp::MeshData::getBoundingSphere(), and NULL. Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and traverse(). |
|
中心の取得
Definition at line 153 of file Mesh.cpp. References Assert, Lamp::MeshData::getBoundingSphere(), Lamp::Sphere::getCenter(), and NULL. |
|
カラーの取得
Definition at line 317 of file Mesh.cpp. References Lamp::MeshData::getColor(), and getMeshData(). |
|
カラー配列の取得
Definition at line 322 of file Mesh.cpp. References Lamp::MeshData::getColorArray(), and getMeshData(). Referenced by Lamp::CharacterMesh::setupVertexBuffer(). |
|
変形頂点バッファの構築
Reimplemented in Lamp::CharacterMesh. Definition at line 822 of file Mesh.h. References Assert, Direct3DVertexBuffer, and NULL. Referenced by Lamp::FixedShader::drawFixed(). |
|
変形頂点記述の取得
Reimplemented in Lamp::CharacterMesh. Definition at line 804 of file Mesh.h. References Assert, Direct3DVertexDeclaration, and NULL. Referenced by Lamp::FixedShader::drawFixed(). |
|
変形頂点サイズの取得
Reimplemented in Lamp::CharacterMesh. Definition at line 813 of file Mesh.h. References Assert. Referenced by Lamp::FixedShader::drawFixed(). |
|
インデックスバッファの取得
Definition at line 498 of file Mesh.cpp. References Direct3DIndexBuffer, Lamp::MeshData::getIndexBuffer(), and getMeshData(). Referenced by Lamp::Shader::drawCall(). |
|
マテリアルの取得
Definition at line 211 of file Mesh.h. Referenced by Lamp::SceneLogicCheckFilter::filterMesh(), Lamp::Scene::getMeshList(), recursiveDestroy(), Lamp::Renderer::rendering(), Lamp::CollisionConverter::setCollisionLeafData(), Lamp::Renderer::sortMeshList(), Lamp::TextSceneSaver::writeMeshLink(), and Lamp::BinarySceneSaver::writeMeshLink(). |
|
|
法線の取得
Definition at line 294 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getNormal(). |
|
法線配列の取得
Definition at line 299 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getNormalArray(). Referenced by Lamp::CharacterMesh::skinningDeformPN(), and Lamp::CharacterMesh::stitchingDeformPN(). |
|
親の取得
Definition at line 81 of file Mesh.h. Referenced by Lamp::CharacterMesh::deform(), recursiveDestroy(), and Lamp::DrawRequest::setMesh(). |
|
位置の取得
Definition at line 271 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getPosition(). Referenced by Lamp::CalculateBoundingSphereFilter::filterMesh(), and Lamp::CalculateBoundingBoxFilter::filterMesh(). |
|
位置配列の取得
Definition at line 276 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getPositionArray(). Referenced by Lamp::CharacterMesh::skinningDeformP(), Lamp::CharacterMesh::skinningDeformPN(), Lamp::CharacterMesh::stitchingDeformP(), and Lamp::CharacterMesh::stitchingDeformPN(). |
|
プリミティブカウントの取得
Definition at line 218 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getPrimitiveCount(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(), and Lamp::Shader::drawCall(). |
|
プリミティブタイプの取得
Definition at line 213 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getPrimitiveType(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(). |
|
リファレンスカウントの取得
Implements Lamp::SceneObject. Definition at line 56 of file Mesh.h. References NULL. Referenced by Lamp::SceneLogicCheckFilter::filterMesh(). |
|
一次元テクスチャ座標の取得
Definition at line 378 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord1(). |
|
一次元テクスチャ座標配列の取得
Definition at line 383 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord1Array(). |
|
二次元テクスチャ座標の取得
Definition at line 393 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord2(). |
|
二次元テクスチャ座標配列の取得
Definition at line 398 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord2Array(). |
|
三次元テクスチャ座標の取得
Definition at line 408 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord3(). |
|
三次元テクスチャ座標配列の取得
Definition at line 413 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord3Array(). |
|
四次元テクスチャ座標の取得
Definition at line 423 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord4(). |
|
四次元テクスチャ座標配列の取得
Definition at line 428 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoord4Array(). |
|
テクスチャ座標配列の取得
Definition at line 363 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordArray(). |
|
テクスチャ座標配列の取得
Definition at line 358 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordArray(). Referenced by Lamp::CharacterMesh::setupVertexBuffer(). |
|
テクスチャ座標配列サイズの取得
Definition at line 368 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordArraySize(). |
|
テクスチャ座標セット数の設定
Definition at line 332 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordSetCount(). Referenced by Lamp::CharacterMesh::createVertexDeclaration(), and Lamp::CharacterMesh::setupVertexBuffer(). |
|
テクスチャ座標タイプの取得
Definition at line 342 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordType(). |
|
テクスチャ座標タイプ配列の取得
Definition at line 347 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTexCoordTypeArray(). Referenced by Lamp::CharacterMesh::createVertexDeclaration(), and Lamp::CharacterMesh::setupVertexBuffer(). |
|
三角の取得
Definition at line 223 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getTriangle(). Referenced by Lamp::CollisionConverter::convertStaticDeformedMesh(). |
|
頂点バッファの構築
Definition at line 511 of file Mesh.cpp. References Direct3DVertexBuffer, getMeshData(), and Lamp::MeshData::getVertexBuffer(). Referenced by Lamp::FixedShader::drawFixed(). |
|
|
頂点記述の取得
Definition at line 503 of file Mesh.cpp. References Direct3DVertexDeclaration, getMeshData(), and Lamp::MeshData::getVertexDeclaration(). Referenced by Lamp::FixedShader::drawFixed(). |
|
頂点インデックスの取得
Definition at line 248 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getVertexIndex(). |
|
頂点インデックス配列の取得
Definition at line 253 of file Mesh.cpp. References getMeshData(), Lamp::MeshData::getVertexIndexArray(), and u_short. |
|
頂点インデックス数の取得
Definition at line 238 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getVertexIndexCount(). |
|
頂点サイズの取得
Definition at line 508 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getVertexSize(). Referenced by Lamp::FixedShader::drawFixed(). |
|
ウェイトの取得
Definition at line 486 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getWeight(). |
|
ウェイト配列の取得
Definition at line 491 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getWeightArray(). Referenced by Lamp::CharacterMesh::skinningDeformP(), and Lamp::CharacterMesh::skinningDeformPN(). |
|
頂点当たりウェイト数の取得
Definition at line 473 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::getWeightsPerVertex(). Referenced by Lamp::CharacterMesh::skinningDeformP(), and Lamp::CharacterMesh::skinningDeformPN(). |
|
ワールドバウンディングボックスの取得
Definition at line 138 of file Mesh.h. Referenced by Lamp::Scene::getLocalLightList(), and Lamp::Scene::getMeshList(). |
|
ワールドバウンディングスフィアの取得
Definition at line 115 of file Mesh.h. Referenced by Lamp::Scene::getLocalLightList(), Lamp::Scene::getMeshList(), and Lamp::InformationRenderer::setupMeshBounding(). |
|
ワールド中心の取得
Definition at line 155 of file Mesh.h. References Lamp::Sphere::getCenter(). Referenced by Lamp::Renderer::buildMeshList(), and Lamp::DrawRequest::sortLocalLightsImprement(). |
|
ボーンインデックスが有効かどうか
Definition at line 443 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::hasBoneIndex(). |
|
カラーが有効かどうか
Definition at line 309 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::hasColor(). Referenced by Lamp::CharacterMesh::createVertexDeclaration(). |
|
法線が有効かどうか
Definition at line 286 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::hasNormal(). Referenced by Lamp::CharacterMesh::createVertexDeclaration(), Lamp::CharacterMesh::deform(), and Lamp::CharacterMesh::skinningDeformPN(). |
|
頂点インデックスを持つかどうか
Definition at line 228 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::hasVertexIndices(). Referenced by Lamp::Shader::drawCall(). |
|
ウェイトが有効かどうか
Definition at line 478 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::hasWeight(). |
|
デバイスオブジェクトの初期化
Implements Lamp::GraphicsDeviceObjectHolder. Definition at line 681 of file Mesh.h. Referenced by Lamp::MeshManager::initializeGraphicsDeviceObjects(). |
|
キャラクタメッシュかどうか
Reimplemented in Lamp::CharacterMesh. Definition at line 729 of file Mesh.h. Referenced by Lamp::CharacterModel::addMesh(), castCharacterMesh(), Lamp::CalculateBoundingSphereFilter::filterMesh(), Lamp::CalculateBoundingBoxFilter::filterMesh(), Lamp::TextSceneSaver::writeMeshList(), and Lamp::BinarySceneSaver::writeMeshList(). |
|
有効、無効の取得
Definition at line 170 of file Mesh.h. Referenced by Lamp::CollisionConverter::setCollisionLeafData(), traverse(), Lamp::TextSceneSaver::writeCharacterMesh(), Lamp::BinarySceneSaver::writeCharacterMesh(), Lamp::TextSceneSaver::writeRigidMesh(), and Lamp::BinarySceneSaver::writeRigidMesh(). |
|
グローバルでの有効、無効の取得
Definition at line 176 of file Mesh.h. Referenced by Lamp::Scene::getMeshList(), and Lamp::CharacterMesh::traverse(). |
|
グローバルでスケールを使用しているか
|
|
メッシュかどうか
Reimplemented from Lamp::SceneObject. |
|
剛体メッシュかどうか
Reimplemented in Lamp::RigidMesh. Definition at line 713 of file Mesh.h. Referenced by Lamp::StandardModel::addMesh(), castRigidMesh(), Lamp::TextSceneSaver::writeMeshList(), and Lamp::BinarySceneSaver::writeMeshList(). |
|
文字列からプリミティブタイプへの変換
Definition at line 194 of file Mesh.cpp. References Lamp::String::equals(), ErrorOut, PrimitiveType, and ptMax. |
|
プリミティブタイプがインデックスを持つかどうか
|
|
プリミティブタイプから文字列への変換
|
|
再帰的破棄
Definition at line 79 of file Mesh.cpp. References Assert, Lamp::SceneObjectManagerTemplate< Mesh >::destroy(), getMaterial(), getMeshData(), Lamp::Scene::getMeshManager(), getParent(), Lamp::SceneObject::getScene(), NULL, Lamp::Model::removeMesh(), setMaterial(), and setMeshData(). |
|
親の削除
Definition at line 859 of file Mesh.h. Referenced by Lamp::Model::removeMesh(). |
|
法線の正規化を必要とするか
Reimplemented in Lamp::CharacterMesh. Definition at line 94 of file Mesh.h. Referenced by Lamp::DrawRequest::requireNormalize(). |
|
デバイスオブジェクトのリストア
Implements Lamp::GraphicsDeviceObjectHolder. Definition at line 692 of file Mesh.h. Referenced by Lamp::MeshManager::restoreGraphicsDeviceObjects(). |
|
ボーンインデックスの設定
Definition at line 453 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setBoneIndex(). |
|
ボーンインデックスの設定
Definition at line 446 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setBoneIndex(). |
|
頂点あたりボーン数の設定
Definition at line 433 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setBonesPerVertex(). |
|
バウンディングボックスの設定
Definition at line 127 of file Mesh.cpp. References Assert, NULL, and Lamp::MeshData::setBoundingBox(). Referenced by Lamp::CalculateBoundingBoxFilter::filterMesh(). |
|
バウンディングスフィアの設定
Definition at line 141 of file Mesh.cpp. References Assert, NULL, and Lamp::MeshData::setBoundingSphere(). Referenced by Lamp::CalculateBoundingSphereFilter::filterMesh(). |
|
カラーの設定
Definition at line 312 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setColor(). |
|
有効、無効の設定
Definition at line 164 of file Mesh.h. Referenced by copyMeshValue(), Lamp::TextSceneLoader::readCharacterMesh(), Lamp::BinarySceneLoader::readCharacterMesh(), Lamp::TextSceneLoader::readRigidMesh(), and Lamp::BinarySceneLoader::readRigidMesh(). |
|
マテリアルの設定
Definition at line 170 of file Mesh.cpp. References Lamp::Material::addReference(), NULL, and Lamp::Material::removeReference(). Referenced by copyMeshValue(), Lamp::TextSceneLoader::readMeshLink(), Lamp::BinarySceneLoader::readMeshLink(), recursiveDestroy(), and removeMaterial(). |
|
メッシュデータの設定
Definition at line 161 of file Mesh.cpp. References Lamp::MeshData::addReference(), NULL, and Lamp::MeshData::removeReference(). Referenced by copyMeshValue(), Lamp::TextSceneLoader::readMeshLink(), Lamp::BinarySceneLoader::readMeshLink(), recursiveDestroy(), and removeMeshData(). |
|
法線の設定
Definition at line 289 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setNormal(). |
|
親の設定
Definition at line 848 of file Mesh.h. Referenced by Lamp::Model::addMesh(). |
|
位置の設定
Definition at line 266 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setPosition(). |
|
プリミティブタイプの設定
Definition at line 208 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setPrimitiveType(). |
|
レンダリングテンポラリデータの設定
Definition at line 832 of file Mesh.h. Referenced by Lamp::Renderer::buildMeshList(). |
|
テクスチャ座標の設定
Definition at line 352 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoord(). |
|
一次元テクスチャ座標の設定
Definition at line 373 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoord1(). |
|
二次元テクスチャ座標の設定
Definition at line 388 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoord2(). |
|
三次元テクスチャ座標の設定
Definition at line 403 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoord3(). |
|
四次元テクスチャ座標の設定
Definition at line 418 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoord4(). |
|
テクスチャ座標セット数の設定
Definition at line 327 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoordSetCount(). |
|
テクスチャ座標タイプの設定
Definition at line 337 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setTexCoordType(). |
|
頂点数の設定
Definition at line 258 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setVertexCount(). |
|
頂点インデックスの設定
Definition at line 243 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setVertexIndex(). |
|
頂点インデックス数の設定
Definition at line 233 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setVertexIndexCount(). |
|
ウェイトの設定
Definition at line 481 of file Mesh.cpp. References getMeshData(), and Lamp::MeshData::setWeight(). |
|
走査
Reimplemented in Lamp::CharacterMesh. Definition at line 104 of file Mesh.cpp. References Lamp::MeshData::clearBoundingChanged(), getBoundingBox(), getBoundingSphere(), Lamp::MeshData::isBoundingChanged(), isEnabled(), Lamp::Sphere::scaledTransform(), Lamp::Sphere::transform(), and Lamp::AxisAlignedBox::transform(). Referenced by Lamp::Model::traverse(). |