Class TLcdOpenFlightSwitchNode

All Implemented Interfaces:
ILcd3DMeshNode, ILcdOpenFlightNode

public class TLcdOpenFlightSwitchNode extends TLcdOpenFlightTransformableNode
A switch node. This node defines "on/off" switches for its children. If a child is "switched off", it should not be considered during scene graph traversal.

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

  • Constructor Details Link icon

  • Method Details Link icon

    • getCurrentMask Link icon

      public int getCurrentMask()
    • setCurrentMask Link icon

      public void setCurrentMask(int aCurrentMask)
    • getMaskCount Link icon

      public int getMaskCount()
    • setMaskCount Link icon

      public void setMaskCount(int aMaskCount)
    • getWordsPerMask Link icon

      public int getWordsPerMask()
    • setWordsPerMask Link icon

      public void setWordsPerMask(int aWordsPerMask)
    • getMasks Link icon

      public long[] getMasks()
    • setMasks Link icon

      public void setMasks(long[] aMasks)
    • isChildEnabled Link icon

      public boolean isChildEnabled(int aChildIndex)
      Returns true if the specified child node is "switched on".
      Parameters:
      aChildIndex - the index of the child node to be checked
    • accept Link icon

      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 TLcdOpenFlightTransformableNode
      Parameters:
      aVisitor - the visitor to accept