de.grogra.blocks
Class HornLOD

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.blocks.HornLOD
All Implemented Interfaces:
Manageable, Shareable

public class HornLOD
extends ShareableBase


Nested Class Summary
static class HornLOD.Type
           
 
Field Summary
static HornLOD.Type $TYPE
           
static SCOType.Field minSegments$FIELD
           
static SCOType.Field profile$FIELD
           
static SCOType.Field scale$FIELD
           
static SCOType.Field scaleMode$FIELD
           
static SCOType.Field segments$FIELD
           
static SCOType.Field segmentsMode$FIELD
           
static SCOType.Field useLOD$FIELD
           
 
Constructor Summary
HornLOD()
           
 
Method Summary
 ManageableType getManageableType()
           
 int getMinSegments()
           
 int getScale()
           
 FloatToFloat getScaleMode()
           
 int getSegments()
           
 FloatToFloat getSegmentsMode()
           
 boolean isProfile()
           
 boolean isUseLOD()
           
protected  float scaleToLod(float number)
           
protected  int segmentsToLod(float number)
           
 void set(View view, Vector3d v, float size)
           
 void setMinSegments(int value)
           
 void setProfile(boolean value)
           
 void setScale(int value)
           
 void setScaleMode(FloatToFloat value)
           
 void setSegments(int value)
           
 void setSegmentsMode(FloatToFloat value)
           
 void setUseLOD(boolean value)
           
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$TYPE

public static final HornLOD.Type $TYPE

minSegments$FIELD

public static final SCOType.Field minSegments$FIELD

profile$FIELD

public static final SCOType.Field profile$FIELD

scale$FIELD

public static final SCOType.Field scale$FIELD

scaleMode$FIELD

public static final SCOType.Field scaleMode$FIELD

segments$FIELD

public static final SCOType.Field segments$FIELD

segmentsMode$FIELD

public static final SCOType.Field segmentsMode$FIELD

useLOD$FIELD

public static final SCOType.Field useLOD$FIELD
Constructor Detail

HornLOD

public HornLOD()
Method Detail

getManageableType

public ManageableType getManageableType()

getMinSegments

public int getMinSegments()

getScale

public int getScale()

getScaleMode

public FloatToFloat getScaleMode()

getSegments

public int getSegments()

getSegmentsMode

public FloatToFloat getSegmentsMode()

isProfile

public boolean isProfile()

isUseLOD

public boolean isUseLOD()

scaleToLod

protected float scaleToLod(float number)

segmentsToLod

protected int segmentsToLod(float number)

set

public void set(View view,
                Vector3d v,
                float size)

setMinSegments

public void setMinSegments(int value)

setProfile

public void setProfile(boolean value)

setScale

public void setScale(int value)

setScaleMode

public void setScaleMode(FloatToFloat value)

setSegments

public void setSegments(int value)

setSegmentsMode

public void setSegmentsMode(FloatToFloat value)

setUseLOD

public void setUseLOD(boolean value)