abstract class FogRetained extends LeafRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) BoundingLeafRetained |
boundingLeaf
The bounding leaf reference
|
(package private) static int |
BOUNDINGLEAF_CHANGED |
(package private) static int |
BOUNDS_CHANGED |
(package private) static int |
CLEAR_MIRROR |
(package private) Color3f |
color |
(package private) static int |
COLOR_CHANGED |
(package private) UnorderList |
environmentSets
The EnvironmentSets which reference this fog.
|
(package private) boolean |
inImmCtx |
(package private) static int |
INIT_MIRROR |
(package private) int |
isDirty |
(package private) boolean |
isScoped |
(package private) boolean |
isViewScoped |
(package private) static int |
LAST_DEFINED_BIT |
private double |
localToVworldScale |
(package private) FogRetained |
mirrorFog |
(package private) Bounds |
region
The transformed value of the applicationRegion.
|
(package private) Bounds |
regionOfInfluence
The Boundary object defining the lights's region of influence.
|
(package private) static int |
SCOPE_CHANGED |
(package private) java.util.Vector |
scopes
Vector of GroupRetained nodes that scopes this fog.
|
(package private) FogRetained |
sgFog |
(package private) static int |
targetThreads |
(package private) HashKey |
tempKey |
boundsDirty, switchStateALTERNATEAPPEARANCE, AMBIENTLIGHT, apiBounds, BACKGROUND, BACKGROUNDSOUND, BEHAVIOR, BOUNDINGLEAF, boundsAutoCompute, BRANCHGROUP, branchGroupPaths, cachedBounds, childIndex, CLIP, collidable, CONESOUND, CONTAINS_VIEWPLATFORM, CURRENT_LOCAL_TO_VWORLD, DECALGROUP, DIRECTIONALLIGHT, EXPONENTIALFOG, geometryBackground, GROUP, inSharedGroup, LAST_LOCAL_TO_VWORLD, LINEARFOG, LINK, localBounds, locale, localToVworld, localToVworldIndex, localToVworldKeys, MODELCLIP, MORPH, nnuId, nodeId, nodeType, NUMNODES, ORDEREDGROUP, orderedId, ORIENTEDSHAPE3D, parent, parentSwitchLink, parentTransformLink, pickable, POINTLIGHT, POINTSOUND, refCount, SHAPE, SHAREDGROUP, SOUNDSCAPE, SPOTLIGHT, staticTransform, SWITCH, TRANSFORMGROUP, universe, validCachedBounds, VIEWPLATFORM, VIEWSPECIFICGROUPDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
FogRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addScope(Group scope)
Appends the specified scope to this node's list of scopes.
|
(package private) void |
clearLive(SetLiveState s)
This clearLive routine first calls the superclass's method, then
it removes itself to the list of fogs
|
(package private) void |
clearMirrorObject(java.lang.Object[] args) |
protected java.lang.Object |
clone() |
(package private) java.util.Enumeration |
getAllScopes()
Returns an enumeration object of the scoperen.
|
(package private) void |
getColor(Color3f color)
Retrieves the fog color.
|
(package private) BoundingLeaf |
getInfluencingBoundingLeaf()
Get the Fog's region of influence.
|
(package private) Bounds |
getInfluencingBounds()
Get the Fog's region of Influence.
|
(package private) boolean |
getInImmCtx()
This gets the immedate mode context flag
|
(package private) double |
getLocalToVworldScale() |
(package private) void |
getMirrorObjects(java.util.ArrayList leafList,
HashKey key) |
(package private) Group |
getScope(int index)
Returns the scope specified by the index.
|
(package private) int |
indexOfScope(Group scope)
Returns the index of the specified scope within this nodes' list of scopes
|
(package private) void |
initAddScope(Group scope)
Appends the specified scope to this node's list of scopes before
the fog is alive
|
(package private) void |
initColor(Color3f color)
Initialize the fog color to the specified color.
|
(package private) void |
initColor(float r,
float g,
float b)
Sets the fog color to the specified color.
|
(package private) void |
initInfluencingBoundingLeaf(BoundingLeaf region)
Set the Fog's region of influence to the specified Leaf node.
|
(package private) void |
initInfluencingBounds(Bounds region)
Set the Fog's region of influence.
|
(package private) void |
initInsertScope(Node scope,
int index)
Inserts the specified scope at specified index.before the
fog is live
|
(package private) void |
initMirrorObject(java.lang.Object[] args) |
(package private) void |
initRemoveAllScopes()
Removes all scopes from this node
|
(package private) void |
initRemoveScope(Group scope) |
(package private) void |
initRemoveScope(int index) |
(package private) void |
initScope(Group scope,
int index)
Replaces the specified scope with the scope provided.
|
(package private) void |
insertScope(Node scope,
int index)
Inserts the specified scope at specified index and sends
a message
|
(package private) boolean |
isScoped() |
(package private) void |
mergeTransform(TransformGroupRetained xform) |
(package private) int |
numScopes()
Returns a count of this nodes' scopes.
|
(package private) void |
removeAllScopes()
Removes all the scopes from this node's list of scopes.
|
(package private) void |
removeScope(Group scope)
Removes the specified scope from this nodes' list of scopes
|
(package private) void |
removeScope(int index) |
(package private) void |
sendMessage(int attrMask,
java.lang.Object attr) |
(package private) void |
setColor(Color3f color)
Sets the fog color to the specified color and send message
|
(package private) void |
setColor(float r,
float g,
float b)
Sets the fog color to the specified color and send message
|
(package private) void |
setInfluencingBoundingLeaf(BoundingLeaf region)
Set the Fog's region of influence to the specified Leaf node.
|
(package private) void |
setInfluencingBounds(Bounds region)
Set the Fog's region of influence and send message
|
(package private) void |
setInImmCtx(boolean inCtx)
This sets the immedate mode context flag
|
(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 |
setLocalToVworldScale(double localToVworldScale) |
(package private) void |
setScope(Group scope,
int index)
Replaces the specified scope with the scope provided.
|
(package private) abstract void |
update(Context ctx,
double scale)
This abstract method is used to update the current native
context fog values.
|
(package private) void |
updateBoundingLeaf()
Note: This routine will only be called on
the mirror object - will update the object's
cached region and transformed region
|
(package private) void |
updateImmediateMirrorObject(java.lang.Object[] objs) |
(package private) void |
updateImmediateTransformChange() |
(package private) void |
updateMirrorObject(java.lang.Object[] objs)
The update Object function.
|
(package private) void |
updateTransformChange() |
protected void |
validateDistancesInEc(double vworldToCoexistenceScale)
Scale distances from local to eye coordinate
|
clone, updateBoundscomputeCombineBounds, computeNonLiveLocalToVworld, dirtyBoundsCache, doSetLive, equal, findCollidableFlags, findPickableFlags, findTransformLevels, getBounds, getBoundsAutoCompute, getCollidable, getCurrentLocalToVworld, getCurrentLocalToVworld, getCurrentLocalToVworld, getEffectiveBounds, getId, getLastLocalToVworld, getLastLocalToVworld, getLastLocalToVworld, getLocalBounds, getLocale, getLocalToVworld, getLocalToVworld, getLocalToVworld, getParent, getPickable, getVirtualUniverse, isStatic, merge, notifySceneGraphChanged, processViewSpecificInfo, recombineAbove, removeNodeData, searchGeometryAtoms, setAuxData, setBounds, setBoundsAutoCompute, setCollidable, setNodeData, setParent, setPickable, transformBounds, updateCollidable, updateLocalToVworld, updatePickableclearLive, clearLive, compile, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setCompiled, setLive, setSource, traversegetIdxUsed, incIdxUsedstatic final int COLOR_CHANGED
static final int SCOPE_CHANGED
static final int BOUNDS_CHANGED
static final int BOUNDINGLEAF_CHANGED
static final int INIT_MIRROR
static final int CLEAR_MIRROR
static final int LAST_DEFINED_BIT
Color3f color
Bounds regionOfInfluence
BoundingLeafRetained boundingLeaf
java.util.Vector scopes
int isDirty
boolean inImmCtx
Bounds region
FogRetained sgFog
FogRetained mirrorFog
static final int targetThreads
boolean isScoped
HashKey tempKey
UnorderList environmentSets
boolean isViewScoped
private double localToVworldScale
void initColor(Color3f color)
void setColor(Color3f color)
void initColor(float r,
float g,
float b)
void setColor(float r,
float g,
float b)
void getColor(Color3f color)
void initInfluencingBounds(Bounds region)
void setInfluencingBounds(Bounds region)
Bounds getInfluencingBounds()
void initInfluencingBoundingLeaf(BoundingLeaf region)
void setInfluencingBoundingLeaf(BoundingLeaf region)
BoundingLeaf getInfluencingBoundingLeaf()
void initScope(Group scope, int index)
scope - the new scopeindex - which scope to replacevoid setScope(Group scope, int index)
scope - the new scopeindex - which scope to replacevoid initInsertScope(Node scope, int index)
scope - the new scopeindex - position to insert new scope atvoid insertScope(Node scope, int index)
scope - the new scopeindex - position to insert new scope atvoid initRemoveScope(int index)
void removeScope(int index)
Group getScope(int index)
index - which scope to returnjava.util.Enumeration getAllScopes()
void initAddScope(Group scope)
scope - the scope to add to this node's list of scopesvoid addScope(Group scope)
scope - the scope to add to this node's list of scopesint numScopes()
int indexOfScope(Group scope)
scope - whose index is desiredvoid removeScope(Group scope)
scope - to be removed. If the scope is not found,
the method returns silentlyvoid initRemoveScope(Group scope)
void removeAllScopes()
void initRemoveAllScopes()
void setInImmCtx(boolean inCtx)
boolean getInImmCtx()
boolean isScoped()
abstract void update(Context ctx, double scale)
void updateImmediateMirrorObject(java.lang.Object[] objs)
void updateMirrorObject(java.lang.Object[] objs)
updateMirrorObject in class LeafRetainedvoid updateBoundingLeaf()
updateBoundingLeaf in class LeafRetainedvoid setLive(SetLiveState s)
setLive in class NodeRetainedvoid initMirrorObject(java.lang.Object[] args)
void clearMirrorObject(java.lang.Object[] args)
void clearLive(SetLiveState s)
clearLive in class NodeRetainedprotected java.lang.Object clone()
clone in class SceneGraphObjectRetainedvoid updateTransformChange()
updateTransformChange in class LeafRetainedvoid updateImmediateTransformChange()
final void sendMessage(int attrMask,
java.lang.Object attr)
void mergeTransform(TransformGroupRetained xform)
mergeTransform in class NodeRetainedvoid getMirrorObjects(java.util.ArrayList leafList,
HashKey key)
getMirrorObjects in class LeafRetainedprotected void validateDistancesInEc(double vworldToCoexistenceScale)
double getLocalToVworldScale()
void setLocalToVworldScale(double localToVworldScale)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.