|
|||||||||
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.ClipRetained
class ClipRetained
The Clip leaf node defines the back, or far, clipping distance in the virtual universe. The front clipping plane is defined in the View object. If no clip node is in scope of the view platform associated with the current view, then the back clipping plane is also defined by the View.
View
Field Summary | |
---|---|
(package private) Bounds |
applicationRegion
The Boundary object defining the application region. |
(package private) double |
backDistance
Clip's back distance |
(package private) static int |
BACKDISTANCE_CHANGED
|
(package private) double |
backDistanceInVworld
back distance scaled to vworld |
(package private) BoundingLeafRetained |
boundingLeaf
The bounding leaf reference |
(package private) static int |
BOUNDINGLEAF_CHANGED
|
(package private) static int |
BOUNDS_CHANGED
|
(package private) boolean |
inImmCtx
|
(package private) boolean |
isViewScoped
|
(package private) static int |
targetThreads
|
(package private) Bounds |
transformedRegion
The transformed value of the applicationRegion. |
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 | |
---|---|
ClipRetained()
Constructs a Clip node with a default color (black). |
Method Summary | |
---|---|
(package private) void |
clearLive(SetLiveState s)
This clearLive routine first calls the superclass's method, then it removes itself to the list of lights |
(package private) BoundingLeaf |
getApplicationBoundingLeaf()
Get the Clip's application region |
(package private) Bounds |
getApplicationBounds()
Get the Backgound's application region. |
(package private) double |
getBackDistance()
Retrieves the clip's back distance. |
(package private) boolean |
getInImmCtx()
This gets the immedate mode context flag |
(package private) void |
getMirrorObjects(java.util.ArrayList leafList,
HashKey key)
|
(package private) void |
initApplicationBoundingLeaf(BoundingLeaf region)
Initializes the Clip's application region to the specified Leaf node. |
(package private) void |
initApplicationBounds(Bounds region)
Initializes the Clip's application region. |
(package private) void |
initBackDistance(double backDistance)
initializes the clip's back distance to the specified value. |
(package private) void |
initMirrorObject()
|
(package private) void |
mergeTransform(TransformGroupRetained xform)
|
(package private) void |
sendMessage(int attrMask,
java.lang.Object attr,
java.lang.Object attr2)
|
(package private) void |
setApplicationBoundingLeaf(BoundingLeaf region)
Set the Clip's application region to the specified Leaf node. |
(package private) void |
setApplicationBounds(Bounds region)
Set the Clip's application region. |
(package private) void |
setBackDistance(double backDistance)
Sets the clip's back distance to the specified value. |
(package private) void |
setInImmCtx(boolean inCtx)
This sets the immedate mode context flag |
(package private) void |
setLive(SetLiveState s)
This setLive routine first calls the superclass's method, then it adds itself to the list of lights |
(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()
|
Methods inherited from class javax.media.j3d.LeafRetained |
---|
clone, updateBounds, updateMirrorObject, updateTransformChange |
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
clearLive, clearLive, clone, 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 |
---|
static final int BOUNDS_CHANGED
static final int BOUNDINGLEAF_CHANGED
static final int BACKDISTANCE_CHANGED
double backDistance
double backDistanceInVworld
Bounds applicationRegion
BoundingLeafRetained boundingLeaf
Bounds transformedRegion
boolean inImmCtx
static final int targetThreads
boolean isViewScoped
Constructor Detail |
---|
ClipRetained()
Method Detail |
---|
final void initBackDistance(double backDistance)
backDistance
- the new back clipping distancefinal void setBackDistance(double backDistance)
backDistance
- the new back clipping distancefinal double getBackDistance()
final void initApplicationBounds(Bounds region)
region
- a region that contains the Backgound's new application boundsfinal void setApplicationBounds(Bounds region)
region
- a region that contains the Clip's new application boundsfinal Bounds getApplicationBounds()
void initApplicationBoundingLeaf(BoundingLeaf region)
void setApplicationBoundingLeaf(BoundingLeaf region)
BoundingLeaf getApplicationBoundingLeaf()
void setInImmCtx(boolean inCtx)
boolean getInImmCtx()
void setLive(SetLiveState s)
setLive
in class NodeRetained
void clearLive(SetLiveState s)
clearLive
in class NodeRetained
void initMirrorObject()
void updateImmediateMirrorObject(java.lang.Object[] objs)
void updateBoundingLeaf()
updateBoundingLeaf
in class LeafRetained
void updateImmediateTransformChange()
final void sendMessage(int attrMask, java.lang.Object attr, java.lang.Object attr2)
void mergeTransform(TransformGroupRetained xform)
mergeTransform
in class NodeRetained
void getMirrorObjects(java.util.ArrayList leafList, HashKey key)
getMirrorObjects
in class LeafRetained
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |