de.grogra.imp3d.shading
public class ImageMap extends SurfaceMap
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
bilinearFiltering$FIELD |
static Node.NType.Field |
image$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 |
|---|
ImageMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ChannelMapNodeVisitor visitor) |
int |
getAverageColor() |
protected float |
getDu() |
protected float |
getDv() |
protected float |
getFloatValueImpl(float u,
float v,
ChannelData data,
int channel) |
protected float |
getFloatValueImplBilinear(float u,
float v,
ChannelData data,
int channel) |
protected float |
getFloatValueImplSimple(float u,
float v,
ChannelData data,
int channel) |
ImageAdapter |
getImageAdapter() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
boolean |
hasBilinearFiltering() |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
setBilinearFiltering(boolean bilinear) |
void |
setImageAdapter(ImageAdapter image) |
getFloatValue, renderLinedrawImage, getIcon, getIconBounds, getIconSource, getImage, getImage, getImageSource, getInputData, getPreferredIconSize, getRenderedImage, getSizeRatio, isMutable, paintIcon, prepareIcon, renderImageaccept, getInput, getObjectValue, setInputaddEdgeBitsTo, 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, waitaccept, getObjectValue, getStampgetStampgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
public static final Node.NType.Field bilinearFiltering$FIELD
public static final Node.NType.Field image$FIELD
public void accept(ChannelMapNodeVisitor visitor)
accept in class ChannelMapNodepublic int getAverageColor()
protected float getDu()
getDu in class SurfaceMapprotected float getDv()
getDv in class SurfaceMapprotected float getFloatValueImpl(float u,
float v,
ChannelData data,
int channel)
getFloatValueImpl in class SurfaceMapprotected float getFloatValueImplBilinear(float u,
float v,
ChannelData data,
int channel)
protected float getFloatValueImplSimple(float u,
float v,
ChannelData data,
int channel)
public ImageAdapter getImageAdapter()
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 boolean hasBilinearFiltering()
protected Node newInstance()
NodenewInstance in class Nodepublic void setBilinearFiltering(boolean bilinear)
public void setImageAdapter(ImageAdapter image)