com.jme3.terrain.geomipmap.lodcalc
クラス PerspectiveLodCalculator

java.lang.Object
  上位を拡張 com.jme3.terrain.geomipmap.lodcalc.PerspectiveLodCalculator
すべての実装されたインタフェース:
Savable, LodCalculator, java.lang.Cloneable

public class PerspectiveLodCalculator
extends java.lang.Object
implements LodCalculator


コンストラクタの概要
PerspectiveLodCalculator(Camera cam, float pixelError)
           
 
メソッドの概要
 boolean calculateLod(java.util.List<Vector3f> locations, java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates)
           
 LodCalculator clone()
           
 Vector3f getCenterLocation()
           
 void read(JmeImporter im)
           
 void setTerrainPatch(TerrainPatch terrainPatch)
           
 boolean usesVariableLod()
          If true, then this calculator can cause neighbouring terrain chunks to have LOD levels that are greater than 1 apart.
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PerspectiveLodCalculator

public PerspectiveLodCalculator(Camera cam,
                                float pixelError)
メソッドの詳細

setTerrainPatch

public void setTerrainPatch(TerrainPatch terrainPatch)
定義:
インタフェース LodCalculator 内の setTerrainPatch

calculateLod

public boolean calculateLod(java.util.List<Vector3f> locations,
                            java.util.HashMap<java.lang.String,UpdatedTerrainPatch> updates)
定義:
インタフェース LodCalculator 内の calculateLod

getCenterLocation

public Vector3f getCenterLocation()

clone

public LodCalculator clone()
定義:
インタフェース LodCalculator 内の clone
オーバーライド:
クラス java.lang.Object 内の clone

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

usesVariableLod

public boolean usesVariableLod()
インタフェース LodCalculator の記述:
If true, then this calculator can cause neighbouring terrain chunks to have LOD levels that are greater than 1 apart. Entropy algorithms will want to return true for this. Straight distance calculations will just want to return false.

定義:
インタフェース LodCalculator 内の usesVariableLod