java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.blocks.TreeLOD
- All Implemented Interfaces:
Manageable
,Shareable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TreeLOD.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
branches_NumberToLod
(float number) int
int
int
getScale()
boolean
boolean
isUseLOD()
protected float
scaleToLod
(float number) void
void
setBranchesNumber
(int value) void
void
setMinBranchesNumber
(int value) void
setProfile
(boolean 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
-
Field Details
-
$TYPE
-
useLOD$FIELD
-
branchesNumber$FIELD
-
branchesNumberMode$FIELD
-
minBranchesNumber$FIELD
-
scale$FIELD
-
scaleMode$FIELD
-
profile$FIELD
-
-
Constructor Details
-
TreeLOD
public TreeLOD()
-
-
Method Details
-
set
-
branches_NumberToLod
protected float branches_NumberToLod(float number) -
scaleToLod
protected float scaleToLod(float number) -
isProfile
public boolean isProfile() -
getManageableType
-
isUseLOD
public boolean isUseLOD() -
setUseLOD
public void setUseLOD(boolean value) -
setProfile
public void setProfile(boolean value) -
getBranchesNumber
public int getBranchesNumber() -
setBranchesNumber
public void setBranchesNumber(int value) -
getMinBranchesNumber
public int getMinBranchesNumber() -
setMinBranchesNumber
public void setMinBranchesNumber(int value) -
getScale
public int getScale() -
setScale
public void setScale(int value) -
getBranchesNumberMode
-
setBranchesNumberMode
-
getScaleMode
-
setScaleMode
-