|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.imp3d.shading.ChannelMapNode
de.grogra.imp3d.shading.VolumeFunction
de.grogra.imp3d.shading.Gradient
public class Gradient
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node |
---|
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType |
Nested classes/interfaces inherited from interface de.grogra.util.Map |
---|
Map.Chain |
Field Summary | |
---|---|
static Node.NType |
$TYPE
|
static Node.NType.Field |
direction$FIELD
|
Fields inherited from class de.grogra.imp3d.shading.VolumeFunction |
---|
frequency$FIELD, phase$FIELD, waveForm$FIELD |
Fields inherited from class de.grogra.imp3d.shading.ChannelMapNode |
---|
AMBIENT, COLOR, COLOR_2, DIFFUSE_TRANSPARENCY, DISPLACEMENT, EMISSIVE, FIRST_OP, INPUT, input$FIELD, MIN_UNUSED_SPECIAL_OF_TARGET, SECOND_OP, SHININESS, SPECULAR, TRANSPARENCY, TRANSPARENCY_SHININESS |
Fields inherited from class de.grogra.graph.impl.Node |
---|
ADDITIONAL_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_BITS |
Fields inherited from interface de.grogra.util.Map |
---|
DEFAULT_VALUE, EMPTY_MAP |
Constructor Summary | |
---|---|
Gradient()
|
Method Summary | |
---|---|
void |
accept(ChannelMapNodeVisitor visitor)
|
Vector3f |
getDirection()
|
protected float |
getFloatValue(float x,
float y,
float z)
Evaluates the volume function at the given point. |
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. |
void |
setDirection(Vector3f value)
|
Methods inherited from class de.grogra.imp3d.shading.VolumeFunction |
---|
getFloatValue, getFrequency, getPhase, getWaveForm, setFrequency, setPhase |
Methods inherited from class de.grogra.imp3d.shading.ChannelMapNode |
---|
accept, getInput, getObjectValue, setInput |
Methods inherited from class de.grogra.graph.impl.Edge |
---|
addEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBits |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.grogra.math.ChannelMap |
---|
getStamp |
Methods inherited from interface de.grogra.persistence.PersistenceCapable |
---|
getBitMark, getObjectMark, setBitMark, setObjectMark |
Field Detail |
---|
public static final Node.NType $TYPE
public static final Node.NType.Field direction$FIELD
Constructor Detail |
---|
public Gradient()
Method Detail |
---|
public void accept(ChannelMapNodeVisitor visitor)
accept
in class VolumeFunction
public Vector3f getDirection()
protected float getFloatValue(float x, float y, float z)
VolumeFunction
getFloatValue
in class VolumeFunction
x
- x-coordinate of 3D-pointy
- y-coordinate of 3D-pointz
- z-coordinate of 3D-point
(x, y, z)
protected Node.NType getNTypeImpl()
Node
Node.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 Node
protected Node newInstance()
Node
newInstance
in class Node
public void setDirection(Vector3f value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |