| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained javax.media.j3d.LeafRetained javax.media.j3d.ModelClipRetained
ModelClipRetained | class ModelClipRetained extends LeafRetained (Code) | | The ModelClip retained object.
|
Method Summary | |
void | addScope(Group scope) Appends the specified scope to this node's list of scopes. | void | clearLive(SetLiveState s) | void | clearMirrorObject(Object[] args) | protected Object | clone() | Enumeration | getAllScopes() Returns an enumeration object of the scoperen. | boolean | getEnable(int planeNum) | void | getEnables(boolean[] enables) | boolean | getInImmCtx() | BoundingLeaf | getInfluencingBoundingLeaf() Get the Model Clip's region of influencing. | Bounds | getInfluencingBounds() Get the Model Clip's region of influencing. | void | getMirrorObjects(ArrayList leafList, HashKey key) | void | getPlane(int planeNum, Vector4d plane) | void | getPlanes(Vector4d[] planes) | Group | getScope(int index) Returns the scope specified by the index. | int | indexOfScope(Group node) | void | initAddScope(Group scope) | void | initEnable(int planeNum, boolean enable) | void | initEnables(boolean[] enables) | void | initInfluencingBoundingLeaf(BoundingLeaf region) Set the Model Clip's region of influencing to the specified Leaf node. | void | initInfluencingBounds(Bounds region) | void | initInsertScope(Node scope, int index) | void | initMirrorObject(Object[] args) | void | initPlane(int planeNum, Vector4d plane) | void | initPlanes(Vector4d[] planes) | void | initRemoveAllScopes() | void | initRemoveScope(int index) | void | initRemoveScope(Group node) | void | initScope(Group scope, int index) Replaces the specified scope with the scope provided. | void | insertScope(Node scope, int index) | void | mergeTransform(TransformGroupRetained staticTransform) | int | numScopes() Returns a count of this nodes' scopes. | void | printEnables(String string, boolean[] enables) | void | printPlane(int index, String string) | void | printPlanes(String string, Vector4d[] planes) | void | removeAllScopes() Removes all the Group nodes from the ModelClip's scope
list. | void | removeScope(int index) | void | removeScope(Group node) Removes the specified Group node from this ModelClip's list of
scopes if the specified node is not found in the list of scoped
nodes, method returns quietly. | final void | sendMessage(int attrMask, Object attr1, Object attr2) | void | setEnable(int planeNum, boolean enable) | void | setEnables(boolean[] enables) | void | setInImmCtx(boolean inCtx) | void | setInfluencingBoundingLeaf(BoundingLeaf region) Set the Model Clip's region of influencing to the specified Leaf node. | void | setInfluencingBounds(Bounds region) | void | setLive(SetLiveState s) | void | setPlane(int planeNum, Vector4d plane) | void | setPlanes(Vector4d[] planes) | void | setScope(Group scope, int index) Replaces the specified scope with the scope provided. | void | update(Canvas3D cv, int enableMask) This method and its native counterpart update the native context
model clip planes. | void | update(Context ctx, int enableMask, Transform3D trans) | void | updateBoundingLeaf() | void | updateImmediateMirrorObject(Object[] objs) | void | updateImmediateTransformChange() | void | updateMirrorObject(Object[] objs) |
BOUNDINGLEAF_CHANGED | final static int BOUNDINGLEAF_CHANGED(Code) | | |
BOUNDS_CHANGED | final static int BOUNDS_CHANGED(Code) | | |
CLEAR_MIRROR | final static int CLEAR_MIRROR(Code) | | |
ENABLES_CHANGED | final static int ENABLES_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) | | |
PLANES_CHANGED | final static int PLANES_CHANGED(Code) | | |
PLANE_CHANGED | final static int PLANE_CHANGED(Code) | | |
SCOPE_CHANGED | final static int SCOPE_CHANGED(Code) | | |
enableFlag | boolean enableFlag(Code) | | |
enables | boolean[] enables(Code) | | |
environmentSets | UnorderList environmentSets(Code) | | The EnvironmentSets which reference this model clip.
Note that multiple RenderBin update thread may access
this shared environmentSets simultaneously.
So we use UnorderList which sync. all the operations.
|
inImmCtx | boolean inImmCtx(Code) | | |
isScoped | boolean isScoped(Code) | | |
isViewScoped | boolean isViewScoped(Code) | | |
planes | Vector4d[] planes(Code) | | The clip planes and the enable bits
|
region | Bounds region(Code) | | The transformed value of the influencingRegion.
|
regionOfInfluence | Bounds regionOfInfluence(Code) | | The Boundary object defining the model clip's region of influencing
|
scopes | Vector scopes(Code) | | Vector of GroupRetained nodes that scopes this model clip.
|
targetThreads | final static int targetThreads(Code) | | |
xformPlanes | Vector4d[] xformPlanes(Code) | | |
ModelClipRetained | ModelClipRetained()(Code) | | Constructs and initializes model clip planes
|
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 |
clearLive | void clearLive(SetLiveState s)(Code) | | This clearLive routine first calls the superclass's method, then
it removes itself to the list of model clip
|
clearMirrorObject | void clearMirrorObject(Object[] args)(Code) | | |
getAllScopes | Enumeration getAllScopes()(Code) | | Returns an enumeration object of the scoperen.
an enumeration object of the scoperen |
getEnable | boolean getEnable(int planeNum)(Code) | | Gets the specified enable
|
getEnables | void getEnables(boolean[] enables)(Code) | | Gets enables
|
getInImmCtx | boolean getInImmCtx()(Code) | | This gets the immedate mode context flag
|
getInfluencingBoundingLeaf | BoundingLeaf getInfluencingBoundingLeaf()(Code) | | Get the Model Clip's region of influencing.
|
getInfluencingBounds | Bounds getInfluencingBounds()(Code) | | Get the Model Clip's region of influencing.
|
getPlane | void getPlane(int planeNum, Vector4d plane)(Code) | | Gets the specified clipping plane
|
getPlanes | void getPlanes(Vector4d[] planes)(Code) | | Gets planes
|
getScope | Group getScope(int index)(Code) | | Returns the scope specified by the index.
Parameters: index - which scope to return the scoperen at location index |
indexOfScope | int indexOfScope(Group node)(Code) | | Returns the index of the specified Group node within the ModelClip's list of scoped
Group nodes
Parameters: Group - node whose index is desired index of this node |
initAddScope | void initAddScope(Group scope)(Code) | | Appends the specified scope to this node's list of scopes before
the fog is alive
Parameters: scope - the scope to add to this node's list of scopes |
initEnable | void initEnable(int planeNum, boolean enable)(Code) | | Initializes planes before the object is live
|
initEnables | void initEnables(boolean[] enables)(Code) | | Initializes planes before the object is live
|
initInfluencingBoundingLeaf | void initInfluencingBoundingLeaf(BoundingLeaf region)(Code) | | Set the Model Clip's region of influencing to the specified Leaf node.
|
initInfluencingBounds | void initInfluencingBounds(Bounds region)(Code) | | Set the Model Clip's region of influencing
|
initInsertScope | void initInsertScope(Node scope, int index)(Code) | | Inserts the specified scope at specified index
Parameters: scope - the new scope Parameters: index - position to insert new scope at |
initPlane | void initPlane(int planeNum, Vector4d plane)(Code) | | Initializes planes before the object is live
|
initPlanes | void initPlanes(Vector4d[] planes)(Code) | | Initializes planes before the object is live
|
initRemoveAllScopes | void initRemoveAllScopes()(Code) | | |
initRemoveScope | void initRemoveScope(int index)(Code) | | |
initScope | void initScope(Group scope, int index)(Code) | | Replaces the specified scope with the scope provided.
Parameters: scope - the new scope Parameters: index - which scope to replace |
insertScope | void insertScope(Node scope, int index)(Code) | | Inserts the specified scope at specified index and sends
a message
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 |
printEnables | void printEnables(String string, boolean[] enables)(Code) | | |
printPlanes | void printPlanes(String string, Vector4d[] planes)(Code) | | |
removeAllScopes | void removeAllScopes()(Code) | | Removes all the Group nodes from the ModelClip's scope
list. The ModelClip reverts to universal scope.
|
removeScope | void removeScope(int index)(Code) | | |
removeScope | void removeScope(Group node)(Code) | | Removes the specified Group node from this ModelClip's list of
scopes if the specified node is not found in the list of scoped
nodes, method returns quietly.
Parameters: Group - node to be removed |
setEnable | void setEnable(int planeNum, boolean enable)(Code) | | Sets the clip planes and send a message
|
setEnables | void setEnables(boolean[] enables)(Code) | | Sets the clip planes and send a message
|
setInImmCtx | void setInImmCtx(boolean inCtx)(Code) | | This sets the immedate mode context flag
|
setInfluencingBoundingLeaf | void setInfluencingBoundingLeaf(BoundingLeaf region)(Code) | | Set the Model Clip's region of influencing to the specified Leaf node.
|
setInfluencingBounds | void setInfluencingBounds(Bounds region)(Code) | | Set the Model Clip's region of influencing and send message
|
setPlane | void setPlane(int planeNum, Vector4d plane)(Code) | | Sets the clip planes and send a message
|
setPlanes | void setPlanes(Vector4d[] planes)(Code) | | Sets the clip planes and send a message
|
setScope | void setScope(Group scope, int index)(Code) | | Replaces the specified scope with the scope provided.
Parameters: scope - the new scope Parameters: index - which scope to replace |
update | void update(Canvas3D cv, int enableMask)(Code) | | This method and its native counterpart update the native context
model clip planes.
|
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) | | |
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)
|
|
|
|