de.grogra.imp3d.shading
public class Checker extends SurfaceMap
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
static Node.NType.Field |
color1$FIELD |
static Node.NType.Field |
color2$FIELD |
protected static ColorMap |
DEFAULT_COLOR_1 |
protected static ColorMap |
DEFAULT_COLOR_2 |
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 |
|---|
Checker() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ChannelMapNodeVisitor visitor) |
int |
getAverageColor() |
ChannelMap |
getColor1() |
ChannelMap |
getColor2() |
float |
getFloatValue(ChannelData data,
int channel) |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
getDu, getDv, getFloatValueImpl, 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 color1$FIELD
public static final Node.NType.Field color2$FIELD
protected static final ColorMap DEFAULT_COLOR_1
protected static final ColorMap DEFAULT_COLOR_2
public void accept(ChannelMapNodeVisitor visitor)
accept in class ChannelMapNodepublic int getAverageColor()
public ChannelMap getColor1()
public ChannelMap getColor2()
public float getFloatValue(ChannelData data, int channel)
getFloatValue in interface ChannelMapgetFloatValue in class SurfaceMapprotected 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 Nodeprotected Node newInstance()
NodenewInstance in class Node