Class BaseGeoLOD

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLBoundedNodeType, VRMLChildNodeType, VRMLExternalNodeType, VRMLGroupingNodeType, VRMLMultiExternalNodeType, VRMLNodeType, VRMLViewDependentNodeType, VRMLWorldRootChildNodeType, OriginListener
Direct Known Subclasses:
NRGeoLOD, OGLGeoLOD

public abstract class BaseGeoLOD extends BaseGroupingNode implements VRMLViewDependentNodeType, VRMLMultiExternalNodeType, OriginListener
Common base implementation of a GeoLOD node.

Internally the LOD keeps both the basic range and the values squared. This makes computation much faster, eliminating the need to take expensive square-roots each frame. The basic (X3D) definition of GeoLOD is:

  GeoLOD : X3DGroupingNode {
    SFNode   [in,out] metadata       NULL       [X3DMetadataObject]
    MFNode   [out]    children       []         [X3DChildNode]
    SFInt32  [out]    level_changed
    SFVec3d  []       center         0 0 0      (-inf,inf)
    MFString []       child1Url      []         [urn]
    MFString []       child2Url      []         [urn]
    MFString []       child3Url      []         [urn]
    MFString []       child4Url      []         [urn]
    MFNode   []       geoOrigin      NULL       [GeoOrigin]
    MFString []       geoSystem      ["GD",WE"]
    SFFloat  []       range          10         [0,inf)
    MFString []       rootUrl        []         [urn]
    MFNode   []       rootNode       NULL       [X3DChildNode]
    SFVec3f  []       bboxCenter     0 0 0      (-inf,inf)
    SFVec3f  []       bboxSize       -1 -1 -1   [0,inf) or -1 -1 -1
    SFBool            bboxDisplay    FALSE
 }
 
Version:
$Revision: 1.18 $
Author:
Justin Couch