com.jme3.collision.bih
クラス BIHTree

java.lang.Object
  上位を拡張 com.jme3.collision.bih.BIHTree
すべての実装されたインタフェース:
Savable, CollisionData, java.lang.Cloneable

public class BIHTree
extends java.lang.Object
implements CollisionData


フィールドの概要
static int MAX_TREE_DEPTH
           
static int MAX_TRIS_PER_NODE
           
 
コンストラクタの概要
BIHTree()
           
BIHTree(Mesh mesh)
           
BIHTree(Mesh mesh, int maxTrisPerNode)
           
 
メソッドの概要
 int collideWith(Collidable other, Matrix4f worldMatrix, BoundingVolume worldBound, CollisionResults results)
           
 void construct()
           
 void getTriangle(int index, Vector3f v1, Vector3f v2, Vector3f v3)
           
 void read(JmeImporter im)
           
 void swapTriangles(int index1, int index2)
           
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

MAX_TREE_DEPTH

public static final int MAX_TREE_DEPTH
関連項目:
定数フィールド値

MAX_TRIS_PER_NODE

public static final int MAX_TRIS_PER_NODE
関連項目:
定数フィールド値
コンストラクタの詳細

BIHTree

public BIHTree(Mesh mesh,
               int maxTrisPerNode)

BIHTree

public BIHTree(Mesh mesh)

BIHTree

public BIHTree()
メソッドの詳細

construct

public void construct()

getTriangle

public void getTriangle(int index,
                        Vector3f v1,
                        Vector3f v2,
                        Vector3f v3)

swapTriangles

public void swapTriangles(int index1,
                          int index2)

collideWith

public int collideWith(Collidable other,
                       Matrix4f worldMatrix,
                       BoundingVolume worldBound,
                       CollisionResults results)
定義:
インタフェース CollisionData 内の collideWith

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
例外:
java.io.IOException