Class OGLUserData
java.lang.Object
org.j3d.util.UserSupplementData
org.web3d.vrml.renderer.ogl.nodes.OGLUserData
public class OGLUserData
extends org.j3d.util.UserSupplementData
Extended version of the supplemental node data class with information that
is specific to Xj3D.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe visibility listener that is using this node for rendering.boolean
Flag to say that this is a node that will cause a transformation of the scene graph rather than just an aggregation.The link from this node.A back pointer to the OGL node for those containing TransformGroups.The list of sensors held by this grouping node.The visibility listener that is using this node for rendering.Fields inherited from class org.j3d.util.UserSupplementData
collidable, geometryData, isTerrain, userData
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new instance of the transform node and set the default values. -
Method Summary
-
Field Details
-
sensors
The list of sensors held by this grouping node. If no sensors are registered, this will be null. -
linkReference
The link from this node. A grouping node only ever has one link, so this represents that information. If none is set, the value is null. -
visibilityListener
The visibility listener that is using this node for rendering. Set by the implementing VRML node, in the picked object at the end. If none is set, the value is null. -
areaListener
The visibility listener that is using this node for rendering. Set by the implementing VRML node, in the picked object at the end. If none is set, the value is null. -
isTransform
public boolean isTransformFlag to say that this is a node that will cause a transformation of the scene graph rather than just an aggregation. Basically only Transform nodes should set this to true. It is an optimisation flag so that we know whether to perform coordinate transformations on the picked points when dealing with point device sensors because the normal node implementation will only expose the BranchGroup/SharedGroup surrounding the VRML node's internal representation to the pick reporting. Therefore the picking code working on the internals of the J3D scene graph will have no idea about transformations, so this is a performance hint allowing faster picking. Defaults to false; -
owner
A back pointer to the OGL node for those containing TransformGroups.
-
-
Constructor Details
-
OGLUserData
public OGLUserData()Construct a new instance of the transform node and set the default values.
-