class ViewPlatformRetained extends LeafRetained
| Modifier and Type | Field and Description |
|---|---|
(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 |
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, 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 |
|---|
ViewPlatformRetained() |
| Modifier and Type | Method and Description |
|---|---|
(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() |
clone, getMirrorObjects, updateBoundingLeaf, updateBounds, updateMirrorObject, updateTransformChangecomputeCombineBounds, 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, mergeTransform, notifySceneGraphChanged, processViewSpecificInfo, recombineAbove, removeNodeData, searchGeometryAtoms, setAuxData, setBounds, setBoundsAutoCompute, setCollidable, setNodeData, setParent, setPickable, transformBounds, updateCollidable, updateLocalToVworld, updatePickableclearLive, clearLive, clone, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setCompiled, setLive, setSource, traversegetIdxUsed, incIdxUsedstatic 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
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 NodeRetainedvoid clearLive(SetLiveState s)
clearLive in class NodeRetainedvoid reEvaluateView()
View[] getViewList()
boolean isActiveViewPlatform()
void processSwitchChanged()
void compile(CompileState compState)
SceneGraphObjectRetainedcompile in class SceneGraphObjectRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.