| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained javax.media.j3d.LeafRetained javax.media.j3d.LightRetained
All known Subclasses: javax.media.j3d.AmbientLightRetained, javax.media.j3d.PointLightRetained, javax.media.j3d.DirectionalLightRetained,
LightRetained | abstract class LightRetained extends LeafRetained (Code) | | LightRetained is an abstract class that contains instance variable common to
all lights.
|
BOUNDINGLEAF_CHANGED | final static int BOUNDINGLEAF_CHANGED(Code) | | |
BOUNDS_CHANGED | final static int BOUNDS_CHANGED(Code) | | |
CLEAR_MIRROR | final static int CLEAR_MIRROR(Code) | | |
COLOR_CHANGED | final static int COLOR_CHANGED(Code) | | |
ENABLE_CHANGED | final static int ENABLE_CHANGED(Code) | | |
INIT_MIRROR | final static int INIT_MIRROR(Code) | | |
LAST_DEFINED_BIT | final static int LAST_DEFINED_BIT(Code) | | |
SCOPE_CHANGED | final static int SCOPE_CHANGED(Code) | | |
environmentSets | UnorderList environmentSets(Code) | | A list of all the EnvironmentSets that reference this light.
Note that multiple RenderBin update thread may access
this shared environmentSets simultaneously.
So we use UnorderList when sync. all the operations.
|
inImmCtx | boolean inImmCtx(Code) | | |
isNeeded | boolean isNeeded(Code) | | |
isScoped | boolean isScoped(Code) | | |
isViewScoped | boolean isViewScoped(Code) | | |
lightDirty | int lightDirty(Code) | | This bitmask is set when something changes in the light
|
newlyAddedMirrorLights | ArrayList newlyAddedMirrorLights(Code) | | Temporary list of newly added mirror lights, during any setlive
|
numMirrorLights | int numMirrorLights(Code) | | |
region | Bounds region(Code) | | The transformed value of the applicationRegion.
|
regionOfInfluence | Bounds regionOfInfluence(Code) | | The Boundary object defining the lights's region of influence.
|
sgLightDirty | int sgLightDirty(Code) | | |
targetThreads | final static int targetThreads(Code) | | |
addScope | void addScope(Group scope)(Code) | | Appends the specified scope to this node's list of scopes.
Parameters: scope - the scope to add to this node's list of scopes |
clearMirrorObject | void clearMirrorObject(Object[] args)(Code) | | |
clone | protected Object clone()(Code) | | Clones only the retained side, internal use only
|
getAllScopes | Enumeration getAllScopes()(Code) | | Returns an enumeration object of the scope
an enumeration object of the scope |
getColor | void getColor(Color3f color)(Code) | | Retrieves the color of this light.
Parameters: color - the vector that will receive the color of this light |
getEnable | boolean getEnable()(Code) | | Returns the state of the light (on/off).
true if the light is on, false if the light is off. |
getInImmCtx | boolean getInImmCtx()(Code) | | This gets the immedate mode context flag
|
getInfluencingBoundingLeaf | BoundingLeaf getInfluencingBoundingLeaf()(Code) | | Get the Light's region of influence.
|
getInfluencingBounds | Bounds getInfluencingBounds()(Code) | | Get the Light's region of influence
this Light's region of influence information |
getScope | Group getScope(int index)(Code) | | Returns the scope specified by the index.
Parameters: index - of the scope to be returned the scope at location index |
indexOfScope | int indexOfScope(Group scope)(Code) | | Returns the index of the specified scope
index of the scope in this Light's list of scopes |
initAddScope | void initAddScope(Group scope)(Code) | | Appends the specified scope to this node's list of scopes.
Parameters: scope - the scope to add to this node's list of scopes |
initColor | void initColor(Color3f color)(Code) | | Initialize the color of this light node.
Parameters: color - the value of this new light color |
initEnable | void initEnable(boolean state)(Code) | | Initialize the light on or off.
Parameters: state - true or false to enable or disable the light |
initInfluencingBoundingLeaf | void initInfluencingBoundingLeaf(BoundingLeaf region)(Code) | | Initializes the Light's region of influence to the specified Leaf node.
|
initInfluencingBounds | void initInfluencingBounds(Bounds region)(Code) | | Initializes the Light's region of influence.
Parameters: region - a region that contains the Light's new region of influence |
initInsertScope | void initInsertScope(Group scope, int index)(Code) | | Inserts the specified scope at specified index.
Parameters: scope - the new scope Parameters: index - position to insert new scope at |
initRemoveAllScopes | void initRemoveAllScopes()(Code) | | |
initRemoveScope | void initRemoveScope(int index)(Code) | | Removes the scope at specified index.
Parameters: index - which scope to remove |
initRemoveScope | void initRemoveScope(Group scope)(Code) | | |
initScope | void initScope(Group scope, int index)(Code) | | Initializes the specified scope with the scope provided.
Parameters: scope - the new scope Parameters: index - which scope to replace |
insertScope | void insertScope(Group scope, int index)(Code) | | Inserts the specified scope at specified index.
Parameters: scope - the new scope Parameters: index - position to insert new scope at |
numScopes | int numScopes()(Code) | | Returns a count of this nodes' scopes.
the number of scopes descendant from this node |
removeAllScopes | void removeAllScopes()(Code) | | Removes all the scopes from this Light's list of scopes
|
removeScope | void removeScope(int index)(Code) | | Removes the scope at specified index.
Parameters: index - which scope to remove |
removeScope | void removeScope(Group scope)(Code) | | Removes the specified scope
Parameters: scope - to be removed |
sendMessage | void sendMessage(int attrMask, Object attr)(Code) | | |
setColor | void setColor(Color3f color)(Code) | | Sets the color of this light node and send a message
Parameters: color - the value of this new light color |
setEnable | void setEnable(boolean state)(Code) | | Turns the light on or off and send a message
Parameters: state - true or false to enable or disable the light |
setInImmCtx | void setInImmCtx(boolean inCtx)(Code) | | This sets the immedate mode context flag
|
setInfluencingBoundingLeaf | void setInfluencingBoundingLeaf(BoundingLeaf region)(Code) | | Set the Light's region of influence to the specified Leaf node.
|
setInfluencingBounds | void setInfluencingBounds(Bounds region)(Code) | | Set the Light's region of influence and send a message
Parameters: region - a region that contains the Light's new region of influence |
setScope | void setScope(Group scope, int index)(Code) | | Replaces the specified scope with the scope provided and
send a message
Parameters: scope - the new scope Parameters: index - which scope to replace |
update | abstract void update(Context ctx, int lightSlot, double scale)(Code) | | This method is implemented by each light for rendering
context updates. This default one does nothing.
|
updateBoundingLeaf | void updateBoundingLeaf()(Code) | | Note: This routine will only be called on
the mirror object - will update the object's
cached region and transformed region
|
updateImmediateMirrorObject | void updateImmediateMirrorObject(Object[] objs)(Code) | | |
updateImmediateTransformChange | void updateImmediateTransformChange()(Code) | | |
updateMirrorObject | void updateMirrorObject(Object[] objs)(Code) | | |
updateTransformChange | void updateTransformChange()(Code) | | |
Methods inherited from javax.media.j3d.NodeRetained | void clearLive(SetLiveState s)(Code)(Java Doc) void computeCombineBounds(Bounds bounds)(Code)(Java Doc) void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc) void dirtyBoundsCache()(Code)(Java Doc) void doSetLive(SetLiveState s)(Code)(Java Doc) public int equal(NnuId obj)(Code)(Java Doc) void findCollidableFlags(boolean collide)(Code)(Java Doc) void findPickableFlags(boolean pick)(Code)(Java Doc) void findTransformLevels(int transformLevels)(Code)(Java Doc) Bounds getBounds()(Code)(Java Doc) boolean getBoundsAutoCompute()(Code)(Java Doc) boolean getCollidable()(Code)(Java Doc) Transform3D getCurrentLocalToVworld()(Code)(Java Doc) Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc) Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getEffectiveBounds()(Code)(Java Doc) public int getId()(Code)(Java Doc) Transform3D getLastLocalToVworld()(Code)(Java Doc) Transform3D getLastLocalToVworld(int index)(Code)(Java Doc) Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc) void getLocalToVworld(Transform3D t)(Code)(Java Doc) void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc) void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc) Locale getLocale()(Code)(Java Doc) NodeRetained getParent()(Code)(Java Doc) boolean getPickable()(Code)(Java Doc) VirtualUniverse getVirtualUniverse()(Code)(Java Doc) boolean isStatic()(Code)(Java Doc) void merge(CompileState compState)(Code)(Java Doc) void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc) void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc) int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc) void recombineAbove()(Code)(Java Doc) void removeNodeData(SetLiveState s)(Code)(Java Doc) void searchGeometryAtoms(UnorderList list)(Code)(Java Doc) void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc) void setBounds(Bounds bounds)(Code)(Java Doc) void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc) void setCollidable(boolean collidable)(Code)(Java Doc) void setLive(SetLiveState s)(Code)(Java Doc) void setNodeData(SetLiveState s)(Code)(Java Doc) void setParent(NodeRetained parent)(Code)(Java Doc) void setPickable(boolean pickable)(Code)(Java Doc) void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc) void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc) synchronized void updateLocalToVworld()(Code)(Java Doc) void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|