de.grogra.blocks
public class Hydra extends Sphere implements Instantiator<Instantiation>
Sphere.PatternNode.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
initAll$FIELD |
static Node.NType.Field |
locationParameter$FIELD |
static Node.NType.Field |
lod$FIELD |
static Node.NType.Field |
number$FIELD |
static Node.NType.Field |
scale1$FIELD |
static Node.NType.Field |
scale2$FIELD |
static Node.NType.Field |
scaleMode$FIELD |
static Node.NType.Field |
slopeFunction$FIELD |
static Node.NType.Field |
spin1$FIELD |
static Node.NType.Field |
spin2$FIELD |
static Node.NType.Field |
spinMode$FIELD |
static Node.NType.Field |
trajectory$FIELD |
static Node.NType.Field |
twist1$FIELD |
static Node.NType.Field |
twist2$FIELD |
static Node.NType.Field |
twistMode$FIELD |
radius, radius$FIELDINFINITE_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 |
|---|
Hydra() |
Hydra(boolean type) |
Hydra(float n) |
Hydra(float n,
boolean type) |
| Modifier and Type | Method and Description |
|---|---|
void |
fieldModified(PersistenceField field,
int[] indices,
Transaction t) |
float |
getAbsoluteHeight() |
int |
getChildId() |
float |
getDensity() |
Instantiator |
getInstantiator() |
float |
getLocalHeight() |
LocationParameterBase |
getLocationParameter() |
HydraLOD |
getLod() |
float |
getN1() |
float |
getN2() |
float |
getN3() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
float |
getNumber() |
int |
getParentId() |
float |
getRadius() |
float |
getScale1() |
float |
getScale2() |
FloatToFloat |
getScaleMode() |
FloatToFloat |
getSlopeFunction() |
float |
getSpin1() |
float |
getSpin2() |
FloatToFloat |
getSpinMode() |
int |
getThisId() |
BSplineCurve |
getTrajectory() |
float |
getTwist1() |
float |
getTwist2() |
FloatToFloat |
getTwistMode() |
void |
instantiate(Instantiation state) |
boolean |
isInitAll() |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
setInitAll(boolean value) |
void |
setLocationParameter(LocationParameterBase value) |
void |
setLod(HydraLOD value) |
void |
setNumber(CustomFunction value) |
void |
setNumber(double value) |
void |
setNumber(java.lang.String value) |
void |
setRadius(float value) |
void |
setRadius(float firstRadius,
float secondRadius) |
void |
setScale(double value1,
double value2) |
void |
setScale(java.lang.String value1,
java.lang.String value2) |
void |
setScale1(CustomFunction value) |
void |
setScale1(double value) |
void |
setScale1(java.lang.String value) |
void |
setScale2(CustomFunction value) |
void |
setScale2(double value) |
void |
setScale2(java.lang.String value) |
void |
setScaleMode(FloatToFloat value) |
void |
setSlopeFunction(FloatToFloat value) |
void |
setSpin(double value1,
double value2) |
void |
setSpin(java.lang.String value1,
java.lang.String value2) |
void |
setSpin1(CustomFunction value) |
void |
setSpin1(double value) |
void |
setSpin1(java.lang.String value) |
void |
setSpin2(CustomFunction value) |
void |
setSpin2(double value) |
void |
setSpin2(java.lang.String value) |
void |
setSpinMode(FloatToFloat value) |
void |
setTrajectory(BSplineCurve value) |
void |
setTwist(double value1,
double value2) |
void |
setTwist(java.lang.String value1,
java.lang.String value2) |
void |
setTwist1(CustomFunction value) |
void |
setTwist1(double value) |
void |
setTwist1(java.lang.String value) |
void |
setTwist2(CustomFunction value) |
void |
setTwist2(double value) |
void |
setTwist2(java.lang.String value) |
void |
setTwistMode(FloatToFloat value) |
void |
useLod(boolean value) |
createRaytracerLeaf, draw, getSurfaceArea, getVolume, pick, pickgetInterior, getShader, getSymbolColor, 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 initAll$FIELD
public static final Node.NType.Field locationParameter$FIELD
public static final Node.NType.Field lod$FIELD
public static final Node.NType.Field number$FIELD
public static final Node.NType.Field scale1$FIELD
public static final Node.NType.Field scale2$FIELD
public static final Node.NType.Field scaleMode$FIELD
public static final Node.NType.Field slopeFunction$FIELD
public static final Node.NType.Field spin1$FIELD
public static final Node.NType.Field spin2$FIELD
public static final Node.NType.Field spinMode$FIELD
public static final Node.NType.Field trajectory$FIELD
public static final Node.NType.Field twist1$FIELD
public static final Node.NType.Field twist2$FIELD
public static final Node.NType.Field twistMode$FIELD
public Hydra()
public Hydra(boolean type)
public Hydra(float n)
public Hydra(float n,
boolean type)
public void fieldModified(PersistenceField field, int[] indices, Transaction t)
fieldModified in interface ManageablefieldModified in class Nodepublic float getAbsoluteHeight()
public int getChildId()
public float getDensity()
public Instantiator getInstantiator()
getInstantiator in class Nodepublic float getLocalHeight()
public LocationParameterBase getLocationParameter()
public HydraLOD 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 Spherepublic float getNumber()
public int getParentId()
public float getScale1()
public float getScale2()
public FloatToFloat getScaleMode()
public FloatToFloat getSlopeFunction()
public float getSpin1()
public float getSpin2()
public FloatToFloat getSpinMode()
public int getThisId()
public BSplineCurve getTrajectory()
public float getTwist1()
public float getTwist2()
public FloatToFloat getTwistMode()
public void instantiate(Instantiation state)
instantiate in interface Instantiator<Instantiation>public boolean isInitAll()
protected Node newInstance()
NodenewInstance in class Spherepublic void setInitAll(boolean value)
public void setLocationParameter(LocationParameterBase value)
public void setLod(HydraLOD value)
public void setNumber(CustomFunction value)
public void setNumber(double value)
public void setNumber(java.lang.String value)
public void setRadius(float firstRadius,
float secondRadius)
public void setScale(double value1,
double value2)
public void setScale(java.lang.String value1,
java.lang.String value2)
public void setScale1(CustomFunction value)
public void setScale1(double value)
public void setScale1(java.lang.String value)
public void setScale2(CustomFunction value)
public void setScale2(double value)
public void setScale2(java.lang.String value)
public void setScaleMode(FloatToFloat value)
public void setSlopeFunction(FloatToFloat value)
public void setSpin(double value1,
double value2)
public void setSpin(java.lang.String value1,
java.lang.String value2)
public void setSpin1(CustomFunction value)
public void setSpin1(double value)
public void setSpin1(java.lang.String value)
public void setSpin2(CustomFunction value)
public void setSpin2(double value)
public void setSpin2(java.lang.String value)
public void setSpinMode(FloatToFloat value)
public void setTrajectory(BSplineCurve value)
public void setTwist(double value1,
double value2)
public void setTwist(java.lang.String value1,
java.lang.String value2)
public void setTwist1(CustomFunction value)
public void setTwist1(double value)
public void setTwist1(java.lang.String value)
public void setTwist2(CustomFunction value)
public void setTwist2(double value)
public void setTwist2(java.lang.String value)
public void setTwistMode(FloatToFloat value)
public void useLod(boolean value)