de.grogra.blocks
Class HydraLOD

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

public class HydraLOD
extends ShareableBase


Nested Class Summary
static class HydraLOD.Type
           
 
Field Summary
static HydraLOD.Type $TYPE
           
static SCOType.Field minNumber$FIELD
           
static SCOType.Field number$FIELD
           
static SCOType.Field numberMode$FIELD
           
static SCOType.Field scale$FIELD
           
static SCOType.Field scaleMode$FIELD
           
static SCOType.Field useLOD$FIELD
           
 
Constructor Summary
HydraLOD()
           
 
Method Summary
 ManageableType getManageableType()
           
 int getMinNumber()
           
 int getNumber()
           
 FloatToFloat getNumberMode()
           
 int getScale()
           
 FloatToFloat getScaleMode()
           
 boolean isUseLOD()
           
protected  int numberToLod(float number)
           
protected  float scaleToLod(float number)
           
 void set(View view, Vector3d v, float size)
           
 void setMinNumber(int value)
           
 void setNumber(int value)
           
 void setNumberMode(FloatToFloat value)
           
 void setScale(int value)
           
 void setScaleMode(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 HydraLOD.Type $TYPE

minNumber$FIELD

public static final SCOType.Field minNumber$FIELD

number$FIELD

public static final SCOType.Field number$FIELD

numberMode$FIELD

public static final SCOType.Field numberMode$FIELD

scale$FIELD

public static final SCOType.Field scale$FIELD

scaleMode$FIELD

public static final SCOType.Field scaleMode$FIELD

useLOD$FIELD

public static final SCOType.Field useLOD$FIELD
Constructor Detail

HydraLOD

public HydraLOD()
Method Detail

getManageableType

public ManageableType getManageableType()

getMinNumber

public int getMinNumber()

getNumber

public int getNumber()

getNumberMode

public FloatToFloat getNumberMode()

getScale

public int getScale()

getScaleMode

public FloatToFloat getScaleMode()

isUseLOD

public boolean isUseLOD()

numberToLod

protected int numberToLod(float number)

scaleToLod

protected float scaleToLod(float number)

set

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

setMinNumber

public void setMinNumber(int value)

setNumber

public void setNumber(int value)

setNumberMode

public void setNumberMode(FloatToFloat value)

setScale

public void setScale(int value)

setScaleMode

public void setScaleMode(FloatToFloat value)

setUseLOD

public void setUseLOD(boolean value)