de.grogra.imp3d.shading
public class AffineUVTransformation extends UVTransformation
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
angle$FIELD |
static Node.NType.Field |
offsetU$FIELD |
static Node.NType.Field |
offsetV$FIELD |
static Node.NType.Field |
scaleU$FIELD |
static Node.NType.Field |
scaleV$FIELD |
static Node.NType.Field |
shear$FIELD |
AMBIENT, COLOR, COLOR_2, DIFFUSE_TRANSPARENCY, DISPLACEMENT, EMISSIVE, FIRST_OP, INPUT, input$FIELD, MIN_UNUSED_SPECIAL_OF_TARGET, SECOND_OP, SHININESS, SPECULAR, TRANSPARENCY, TRANSPARENCY_SHININESSADDITIONAL_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, name$FIELD, USED_BITSDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
AffineUVTransformation() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ChannelMapNodeVisitor visitor) |
void |
fieldModified(PersistenceField field,
int[] indices,
Transaction t) |
float |
getAngle() |
Matrix3f |
getInvTransform() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
float |
getOffsetU() |
float |
getOffsetV() |
float |
getScaleU() |
float |
getScaleV() |
float |
getShear() |
Matrix3f |
getTransform() |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
setAngle(float value) |
void |
setOffsetU(float value) |
void |
setOffsetV(float value) |
void |
setScaleU(float value) |
void |
setScaleV(float value) |
void |
setShear(float value) |
protected void |
transform(ChannelData src,
ChannelData dest,
boolean calculateDerivatives) |
getFloatValue, setDerivativesaccept, getInput, getObjectValue, setInputaddEdgeBitsTo, 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, 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, waitgetStampgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
public static final Node.NType.Field angle$FIELD
public static final Node.NType.Field offsetU$FIELD
public static final Node.NType.Field offsetV$FIELD
public static final Node.NType.Field scaleU$FIELD
public static final Node.NType.Field scaleV$FIELD
public static final Node.NType.Field shear$FIELD
public void accept(ChannelMapNodeVisitor visitor)
accept in class ChannelMapNodepublic void fieldModified(PersistenceField field, int[] indices, Transaction t)
fieldModified in interface ManageablefieldModified in class Nodepublic float getAngle()
public Matrix3f getInvTransform()
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 Nodepublic float getOffsetU()
public float getOffsetV()
public float getScaleU()
public float getScaleV()
public float getShear()
public Matrix3f getTransform()
protected Node newInstance()
NodenewInstance in class Nodepublic void setAngle(float value)
public void setOffsetU(float value)
public void setOffsetV(float value)
public void setScaleU(float value)
public void setScaleV(float value)
public void setShear(float value)
protected void transform(ChannelData src, ChannelData dest, boolean calculateDerivatives)
transform in class UVTransformation