Class LinearObjectAppearanceWire

java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.LinearObjectAppearanceWire
All Implemented Interfaces:
Marshaller, Serializable, Cloneable

public class LinearObjectAppearanceWire extends DisBitSet
Generated from XML, UID 488, marshal size 32, LinearObjectAppearanceWire
See Also:
  • Field Details

    • COLOR

      public static LinearObjectAppearanceWire.Bits COLOR
      (bit position 0, length=8) 8-bit enumeration indicating the color, use Color values for this field
    • CONTRAST

      public static LinearObjectAppearanceWire.Bits CONTRAST
      (bit position 16, length=4) 4-bit unsigned integer indicating 16 levels of contrast (low to high) distinguishing variation of object from surrounding surface
    • ISBURIED

      public static LinearObjectAppearanceWire.Bits ISBURIED
      (bit position 20, boolean) Describes whether the wire is buried or not
  • Constructor Details

    • LinearObjectAppearanceWire

      public LinearObjectAppearanceWire()
      Default constructor
    • LinearObjectAppearanceWire

      public LinearObjectAppearanceWire(LinearObjectAppearanceWire.Bits wh, int value)
      Default constructor with parameters
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
  • Method Details

    • set

      Accessor method to set value
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
      Returns:
      this object
    • set

      public LinearObjectAppearanceWire set(int start, int length, int value)
      Some bitfields are defined without specific bits enumerated
      Parameters:
      start - initial position in bit array
      length - number of bits
      value - bits of interest
      Returns:
      this object
    • toString

      public String toString()
      Provide string representation
      Overrides:
      toString in class BitSet
      Returns:
      string representation