Class TLcdOpenFlightLevelOfDetailNode

All Implemented Interfaces:
ILcd3DMesh, ILcd3DMeshNode, ILcdStyled3DMesh, ILcdOpenFlightNode, ILcdBounded

public class TLcdOpenFlightLevelOfDetailNode extends TLcdOpenFlightGeometryNode
A Level-Of-Detail (LOD) node. The contents of this node are to be processed only if they lie within a specified distance range from the camera.

Please refer to the OpenFlight specification for more details on the semantics of this node and its properties.

  • Field Details

    • FLAGS_USE_PREVIOUS_SLANT_RANGE

      public static final int FLAGS_USE_PREVIOUS_SLANT_RANGE
      See Also:
    • FLAGS_FREEZE_CENTER

      public static final int FLAGS_FREEZE_CENTER
      See Also:
  • Constructor Details

    • TLcdOpenFlightLevelOfDetailNode

      public TLcdOpenFlightLevelOfDetailNode(ILcdOpenFlightNode aParent)
  • Method Details

    • getSwitchInDistance

      public double getSwitchInDistance()
    • setSwitchInDistance

      public void setSwitchInDistance(double aSwitchInDistance)
    • getSwitchOutDistance

      public double getSwitchOutDistance()
    • setSwitchOutDistance

      public void setSwitchOutDistance(double aSwitchOutDistance)
    • getLODCenterX

      public double getLODCenterX()
    • setLODCenterX

      public void setLODCenterX(double aLODCenterX)
    • getLODCenterY

      public double getLODCenterY()
    • setLODCenterY

      public void setLODCenterY(double aLODCenterY)
    • getLODCenterZ

      public double getLODCenterZ()
    • setLODCenterZ

      public void setLODCenterZ(double aLODCenterZ)
    • getTransitionRange

      public double getTransitionRange()
    • setTransitionRange

      public void setTransitionRange(double aTransitionRange)
    • getSignificantSize

      public double getSignificantSize()
    • setSignificantSize

      public void setSignificantSize(double aSignificantSize)
    • getSpecialEffectID1

      public int getSpecialEffectID1()
    • setSpecialEffectID1

      public void setSpecialEffectID1(int aSpecialEffectID1)
    • getSpecialEffectID2

      public int getSpecialEffectID2()
    • setSpecialEffectID2

      public void setSpecialEffectID2(int aSpecialEffectID2)
    • getFlags

      public int getFlags()
    • setFlags

      public void setFlags(int aFlags)
    • accept

      public void accept(ALcdOpenFlightSceneVisitor aVisitor)
      Description copied from interface: ILcdOpenFlightNode
      Accepts an OpenFlight visitor. A typical implementation of this method should call aVisitor.visit(this).
      Specified by:
      accept in interface ILcdOpenFlightNode
      Overrides:
      accept in class TLcdOpenFlightGeometryNode
      Parameters:
      aVisitor - the visitor to accept