org.xith3d.terrain
Class GridResourceSpec<Type extends GridResource>

java.lang.Object
  extended by org.xith3d.terrain.GridResourceSpec<Type>

public class GridResourceSpec<Type extends GridResource>
extends java.lang.Object


Constructor Summary
GridResourceSpec(int detail, java.net.URL[] locations, float s1, float t1, float s2, float t2)
           
GridResourceSpec(int detail, java.net.URL[] locations, float s1, float t1, float s2, float t2, float min, float max)
           
GridResourceSpec(int detail, java.net.URL location, float s1, float t1, float s2, float t2)
           
GridResourceSpec(int detail, java.net.URL location, float s1, float t1, float s2, float t2, float min, float max)
           
 
Method Summary
 void addReference()
           
 Type getCachedResource()
           
 int getDetail()
           
 java.net.URL[] getLocations()
           
 float getMax()
           
 float getMin()
           
 int getRefCount()
           
 float getS1()
           
 float getS2()
           
 float getT1()
           
 float getT2()
           
 boolean release()
           
 void setCachedResource(Type cachedResource)
           
 void setDetail(int detail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridResourceSpec

public GridResourceSpec(int detail,
                        java.net.URL location,
                        float s1,
                        float t1,
                        float s2,
                        float t2)

GridResourceSpec

public GridResourceSpec(int detail,
                        java.net.URL location,
                        float s1,
                        float t1,
                        float s2,
                        float t2,
                        float min,
                        float max)

GridResourceSpec

public GridResourceSpec(int detail,
                        java.net.URL[] locations,
                        float s1,
                        float t1,
                        float s2,
                        float t2)

GridResourceSpec

public GridResourceSpec(int detail,
                        java.net.URL[] locations,
                        float s1,
                        float t1,
                        float s2,
                        float t2,
                        float min,
                        float max)
Method Detail

setDetail

public void setDetail(int detail)

getDetail

public int getDetail()

getLocations

public java.net.URL[] getLocations()

getRefCount

public int getRefCount()

getS1

public float getS1()

getS2

public float getS2()

getT1

public float getT1()

getT2

public float getT2()

getMax

public float getMax()

getMin

public float getMin()

getCachedResource

public Type getCachedResource()

setCachedResource

public void setCachedResource(Type cachedResource)

addReference

public void addReference()

release

public boolean release()