de.grogra.blocks
public class Tree extends NullWithShaderNode implements Instantiator<Instantiation>
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NTypeINFINITE_MASK, interior, interior$FIELD, shader, shader$FIELD, treatedAsInfinite$FIELD, USED_BITStransform, transform$FIELD, TRANSFORMING_MASK, transforming$FIELDADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELDDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
Tree() |
Tree(float number) |
Tree(java.lang.String number) |
draw, pickgetInterior, getShader, getSurfaceArea, getSymbolColor, getVolume, isTreatedAsInfinite, setBackShader, setColor, setColor, setFrontShader, setInterior, setMaterial, setShader, setShaders, setTreatedAsInfinitegetLocalTransformation, getTransform, getTranslation, isTransforming, postTransform, preTransform, setRotation, setScale, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming, setTranslationaddEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupUnmanagedFields, edgeChanged, findAdjacent, findRefinementType, get, getAccessor, getAccessor, getAttributes, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIndex, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getShort, getSource, getStamp, getSuccessor, getSymbol, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, paramString, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setLayer, setMark, setName, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceaddEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
public static final Node.NType.Field arrangement$FIELD
public static final Node.NType.Field branchesAngle$FIELD
public static final Node.NType.Field branchesDense$FIELD
public static final Node.NType.Field branchesDistribution$FIELD
public static final Node.NType.Field branchesGeometricScale$FIELD
public static final Node.NType.Field branchesGrowthScale$FIELD
public static final Node.NType.Field branchesNumber$FIELD
public static final Node.NType.Field crookednessAmount$FIELD
public static final Node.NType.Field crookednessCurve$FIELD
public static final Node.NType.Field crookednessIntensity$FIELD
public static final Node.NType.Field deviate$FIELD
public static final Node.NType.Field deviateCurve$FIELD
public static final Node.NType.Field geometry$FIELD
public static final Node.NType.Field initAll$FIELD
public static final Node.NType.Field locationParameter$FIELD
public static final Node.NType.Field lod$FIELD
public static final Node.NType.Field profile$FIELD
public static final Node.NType.Field screw$FIELD
public static final Node.NType.Field shape$FIELD
public static final Node.NType.Field spline$FIELD
public static final Node.NType.Field stemLength$FIELD
public static final Node.NType.Field top$FIELD
public static final Node.NType.Field trajectory$FIELD
public static final Node.NType.Field trunkScale$FIELD
public Tree()
public Tree(float number)
public Tree(java.lang.String number)
public void fieldModified(PersistenceField field, int[] indices, Transaction t)
fieldModified in interface ManageablefieldModified in class Nodepublic float getAbsoluteHeight()
public int getArrangement()
public FloatToFloat getBranchesAngle()
public FloatToFloat getBranchesDense()
public FloatToFloat getBranchesDistribution()
public FloatToFloat getBranchesGeometricScale()
public FloatToFloat getBranchesGrowthScale()
public float getBranchesNumber()
public int getChildId()
public float getCrookednessAmount()
public BSplineCurve getCrookednessCurve()
public FloatToFloat getCrookednessIntensity()
public float getDensity()
public FloatToFloat getDeviate()
public BSplineCurve getDeviateCurve()
public Instantiator getInstantiator()
getInstantiator in class Nodepublic float getLocalHeight()
public LocationParameterBase getLocationParameter()
public TreeLOD getLod()
public float getN1()
public float getN2()
public float getN3()
protected Node.NType getNTypeImpl()
NodeNode.NType which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.getNTypeImpl in class NullWithShaderNodepublic int getParentId()
public BSplineCurve getProfile()
public FloatToFloat getScrew()
public FloatToFloat getShape()
public float getStemLength()
public int getThisId()
public BSplineCurve getTrajectory()
public float getTrunkScale()
public void instantiate(Instantiation state)
instantiate in interface Instantiator<Instantiation>public boolean isGeometry()
public boolean isInitAll()
public boolean isSpline()
public boolean isTop()
protected Node newInstance()
NodenewInstance in class NullWithShaderNodepublic void setArrangement(int value)
public void setBranchesAngle(FloatToFloat value)
public void setBranchesDense(FloatToFloat value)
public void setBranchesDistribution(FloatToFloat value)
public void setBranchesGeometricScale(FloatToFloat value)
public void setBranchesGrowthScale(FloatToFloat value)
public void setBranchesNumber(CustomFunction value)
public void setBranchesNumber(float value)
public void setCrookednessAmount(CustomFunction value)
public void setCrookednessAmount(double value)
public void setCrookednessAmount(java.lang.String value)
public void setCrookednessCurve(BSplineCurve value)
public void setCrookednessIntensity(FloatToFloat value)
public void setDeviate(FloatToFloat value)
public void setDeviateCurve(BSplineCurve value)
public void setGeometry(boolean value)
public void setInitAll(boolean value)
public void setLocationParameter(LocationParameterBase value)
public void setLod(TreeLOD value)
public void setProfile(BSplineCurve value)
public void setScrew(FloatToFloat value)
public void setShape(FloatToFloat value)
public void setSpline(boolean value)
public void setStemLength(CustomFunction value)
public void setStemLength(double value)
public void setStemLength(java.lang.String value)
public void setTop(boolean value)
public void setTrajectory(BSplineCurve value)
public void setTrunkScale(CustomFunction value)
public void setTrunkScale(double value)
public void setTrunkScale(java.lang.String value)
public void useLod(boolean value)