|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.IndexedObject
javax.media.j3d.SceneGraphObjectRetained
javax.media.j3d.NodeRetained
javax.media.j3d.LeafRetained
javax.media.j3d.FogRetained
javax.media.j3d.LinearFogRetained
class LinearFogRetained
The LinearFog leaf node defines distance parameters for linear fog.
Field Summary | |
---|---|
(package private) static int |
BACK_DISTANCE_CHANGED
|
private double |
backDistance
|
private double |
backDistanceInEc
|
(package private) static int |
FRONT_DISTANCE_CHANGED
|
private double |
frontDistance
Fog front and back distance |
private double |
frontDistanceInEc
|
Fields inherited from class javax.media.j3d.FogRetained |
---|
boundingLeaf, BOUNDINGLEAF_CHANGED, BOUNDS_CHANGED, CLEAR_MIRROR, color, COLOR_CHANGED, environmentSets, inImmCtx, INIT_MIRROR, isDirty, isScoped, isViewScoped, LAST_DEFINED_BIT, mirrorFog, region, regionOfInfluence, SCOPE_CHANGED, scopes, sgFog, targetThreads, tempKey |
Fields inherited from class javax.media.j3d.LeafRetained |
---|
boundsDirty, switchState |
Fields inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
DONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, source |
Fields inherited from class javax.media.j3d.IndexedObject |
---|
listIdx |
Constructor Summary | |
---|---|
LinearFogRetained()
|
Method Summary | |
---|---|
(package private) double |
getBackDistance()
Gets back distance for fog |
(package private) double |
getFrontDistance()
Gets front distance for fog |
(package private) void |
initBackDistance(double backDistance)
Initializes back distance for fog |
(package private) void |
initFrontDistance(double frontDistance)
Initializes front distance for fog before the object is live |
(package private) void |
setBackDistance(double backDistance)
Sets back distance for fog |
(package private) void |
setFrontDistance(double frontDistance)
Sets front distance for fog and sends a message |
(package private) void |
setLive(SetLiveState s)
This setLive routine just calls the superclass's method (after checking for use by an immediate context). |
(package private) void |
update(Context ctx,
double scale)
This method and its native counterpart update the native context fog values. |
(package private) void |
updateMirrorObject(java.lang.Object[] objs)
The update Object function. |
protected void |
validateDistancesInEc(double vworldToCoexistenceScale)
Scale distances from local to eye coordinate |
Methods inherited from class javax.media.j3d.LeafRetained |
---|
clone, updateBounds |
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
clearLive, clearLive, compile, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setCompiled, setLive, setSource, traverse |
Methods inherited from class javax.media.j3d.IndexedObject |
---|
getIdxUsed, incIdxUsed |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double frontDistance
private double backDistance
private double frontDistanceInEc
private double backDistanceInEc
static final int FRONT_DISTANCE_CHANGED
static final int BACK_DISTANCE_CHANGED
Constructor Detail |
---|
LinearFogRetained()
Method Detail |
---|
void initFrontDistance(double frontDistance)
void setFrontDistance(double frontDistance)
double getFrontDistance()
void initBackDistance(double backDistance)
void setBackDistance(double backDistance)
double getBackDistance()
void update(Context ctx, double scale)
update
in class FogRetained
void setLive(SetLiveState s)
FogRetained
setLive
in class FogRetained
void updateMirrorObject(java.lang.Object[] objs)
FogRetained
updateMirrorObject
in class FogRetained
protected void validateDistancesInEc(double vworldToCoexistenceScale)
validateDistancesInEc
in class FogRetained
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |