|
|||||||||
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.ViewPlatformRetained
class ViewPlatformRetained
ViewPlatform object (retained side)
Field Summary | |
---|---|
(package private) Point3d |
center
|
(package private) static java.lang.Object[] |
emptyObj
|
(package private) static Transform3D |
identity
|
(package private) Locale |
locale
|
(package private) BoundingSphere |
schedSphere
This is the cached bounding sphere used for the activation volume. |
(package private) BoundingSphere |
sphere
Position used for placing this view platform. |
(package private) static int |
TOTAL_INDEXED_UNORDER_SET_TYPES
|
(package private) int |
viewAttachPolicy
This variable specifies the policy Java 3D will use in placing the user's eye point as a function of head position. |
private java.util.ArrayList |
viewList
The list of views associated with this view platform. |
(package private) boolean |
viewListDirty
|
private View[] |
views
Cached list of viewList for synchronization |
(package private) static int |
VP_IN_BS_LIST
|
(package private) Transform3D |
vpcToVworld
|
(package private) int |
vprDirtyMask
|
(package private) Transform3D |
vworldToVpc
The current cached view platform transform (vworldToVpc) and its inverse (vpcToVworld). |
(package private) static Point3d |
zeroPoint
|
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 | |
---|---|
ViewPlatformRetained()
|
Method Summary | |
---|---|
(package private) void |
clearLive(SetLiveState s)
This clearLive routine first calls the superclass's method, then it deactivates all canvases that are associated with the attached view. |
(package private) void |
compile(CompileState compState)
This is the default compile() method, which just marks the sgo as compiled. |
(package private) void |
evaluateInitViewPlatformTransform()
|
(package private) void |
evaluateInitViewPlatformTransform(NodeRetained node,
Transform3D trans)
Evaluate the view platform transform by traversing *up* the tree from this ViewPlatform node, computing the composite model transform along the way. |
(package private) void |
evaluateViewPlatformTransform()
|
(package private) float |
getActivationRadius()
Get the ViewPlatform's activation radius |
(package private) int |
getViewAttachPolicy()
Returns the current coexistence center in virtual-world policy. |
(package private) View[] |
getViewList()
Get a copy of cached view list |
(package private) Transform3D |
getVpcToVworld()
|
(package private) Transform3D |
getVworldToVpc()
|
(package private) boolean |
isActiveViewPlatform()
Use by BehaviorStructure to determine whether current ViewPlatform is active or not. |
(package private) void |
processSwitchChanged()
|
(package private) void |
reEvaluateView()
Re-evaluate all View active status reference to this view platform. |
(package private) void |
removeView(View v)
|
(package private) void |
repaint()
|
(package private) void |
setActivationRadius(float activationRadius)
Set the ViewPlatform's activation radius |
(package private) void |
setLive(SetLiveState s)
This setLive routine first calls the superclass's method, then it evaluates the view platform transform, and then it activates all canvases that are associated with the attached view. |
(package private) void |
setView(View v)
This sets the view that is associated with this view platform. |
(package private) void |
setViewAttachPolicy(int policy)
Sets the coexistence center in virtual world policy. |
(package private) void |
updateActivationRadius(float radius)
|
(package private) void |
updateTransformRegion()
|
Methods inherited from class javax.media.j3d.LeafRetained |
---|
clone, getMirrorObjects, updateBoundingLeaf, updateBounds, updateMirrorObject, updateTransformChange |
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained |
---|
clearLive, clearLive, clone, 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 VP_IN_BS_LIST
static final int TOTAL_INDEXED_UNORDER_SET_TYPES
int viewAttachPolicy
private java.util.ArrayList viewList
private View[] views
Locale locale
boolean viewListDirty
Transform3D vworldToVpc
Transform3D vpcToVworld
BoundingSphere sphere
BoundingSphere schedSphere
Point3d center
static final Point3d zeroPoint
int vprDirtyMask
static final java.lang.Object[] emptyObj
static final Transform3D identity
Constructor Detail |
---|
ViewPlatformRetained()
Method Detail |
---|
void setViewAttachPolicy(int policy)
policy
- the new policy, one of NOMINAL_SCREEN, NOMINAL_HEAD,
or NOMINAL_FEETvoid repaint()
int getViewAttachPolicy()
void setActivationRadius(float activationRadius)
float getActivationRadius()
void setView(View v)
void removeView(View v)
Transform3D getVworldToVpc()
Transform3D getVpcToVworld()
void evaluateViewPlatformTransform()
void evaluateInitViewPlatformTransform(NodeRetained node, Transform3D trans)
void evaluateInitViewPlatformTransform()
void updateActivationRadius(float radius)
void updateTransformRegion()
void setLive(SetLiveState s)
setLive
in class NodeRetained
void clearLive(SetLiveState s)
clearLive
in class NodeRetained
void reEvaluateView()
View[] getViewList()
boolean isActiveViewPlatform()
void processSwitchChanged()
void compile(CompileState compState)
SceneGraphObjectRetained
compile
in class SceneGraphObjectRetained
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |