de.grogra.blocks
public class BlockScale extends Null
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
scaleX$FIELD |
static Node.NType.Field |
scaleY$FIELD |
static Node.NType.Field |
scaleZ$FIELD |
transform, transform$FIELD, TRANSFORMING_MASK, transforming$FIELD, USED_BITSADDITIONAL_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 |
|---|
BlockScale()
Creates a new
BlockScale node whose scaling
factors are set to one. |
BlockScale(double scale)
Creates a new
BlockScale node whose scaling
factors are set to scale. |
BlockScale(double scaleX,
double scaleY,
double scaleZ)
Creates a new
BlockScale node whose scaling
factors are set to the specified values. |
BlockScale(java.lang.String scale)
Creates a new
BlockScale node whose scaling
factors are set to scale. |
BlockScale(java.lang.String scaleX,
java.lang.String scaleY,
java.lang.String scaleZ)
Creates a new
BlockScale node whose scaling
factors are set to the specified values. |
| Modifier and Type | Method and Description |
|---|---|
float |
getAbsoluteHeight() |
float |
getDensity() |
float |
getLocalHeight() |
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. |
int |
getParentId() |
int |
getThisId() |
void |
instantiate(Instantiation state) |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
setScale(double scale) |
void |
setScale(double scaleX,
double scaleY,
double scaleZ) |
void |
setScale(java.lang.String scale) |
void |
setScale(java.lang.String scaleX,
java.lang.String scaleY,
java.lang.String scaleZ) |
void |
setScaleX(double scaleX) |
void |
setScaleX(java.lang.String scaleX) |
void |
setScaleY(double scaleY) |
void |
setScaleY(java.lang.String scaleY) |
void |
setScaleZ(double scaleZ) |
void |
setScaleZ(java.lang.String scaleZ) |
getLocalTransformation, 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, fieldModified, 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, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getShort, getSource, getStamp, getSuccessor, getSymbol, getSymbolColor, 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 scaleX$FIELD
public static final Node.NType.Field scaleY$FIELD
public static final Node.NType.Field scaleZ$FIELD
public BlockScale()
BlockScale node whose scaling
factors are set to one.public BlockScale(double scale)
BlockScale node whose scaling
factors are set to scale. This is a
uniform scaling.scale - scaling factorpublic BlockScale(double scaleX,
double scaleY,
double scaleZ)
BlockScale node whose scaling
factors are set to the specified values.scaleX - scaling factor in x-directionscaleY - scaling factor in y-directionscaleZ - scaling factor in z-directionpublic BlockScale(java.lang.String scale)
BlockScale node whose scaling
factors are set to scale. This is a
uniform scaling.scale - scalingfunctionpublic BlockScale(java.lang.String scaleX,
java.lang.String scaleY,
java.lang.String scaleZ)
BlockScale node whose scaling
factors are set to the specified values.scaleX - scalingfunction in x-directionscaleY - scalingfunction in y-directionscaleZ - scalingfunction in z-directionpublic float getAbsoluteHeight()
public float getDensity()
public float getLocalHeight()
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 Nullpublic int getParentId()
public int getThisId()
public void instantiate(Instantiation state)
protected Node newInstance()
NodenewInstance in class Nullpublic void setScale(double scale)
public void setScale(double scaleX,
double scaleY,
double scaleZ)
public void setScale(java.lang.String scale)
public void setScale(java.lang.String scaleX,
java.lang.String scaleY,
java.lang.String scaleZ)
public void setScaleX(double scaleX)
public void setScaleX(java.lang.String scaleX)
public void setScaleY(double scaleY)
public void setScaleY(java.lang.String scaleY)
public void setScaleZ(double scaleZ)
public void setScaleZ(java.lang.String scaleZ)