Module imp3d

Class Checker

All Implemented Interfaces:
Icon, IconSource, ChannelMap, ColorMap, Manageable, PersistenceCapable, Shareable, RenderedIcon, UserFields, XObject, Map, Serializable

public class Checker extends SurfaceMap
See Also:
  • Field Details

    • DEFAULT_COLOR_1

      protected static final ColorMap DEFAULT_COLOR_1
    • DEFAULT_COLOR_2

      protected static final ColorMap DEFAULT_COLOR_2
    • $TYPE

      public static final Node.NType $TYPE
    • color1$FIELD

      public static final Node.NType.Field color1$FIELD
    • color2$FIELD

      public static final Node.NType.Field color2$FIELD
  • Constructor Details

    • Checker

      public Checker()
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node
    • getAverageColor

      public int getAverageColor()
    • getColor1

      public ChannelMap getColor1()
    • getColor2

      public ChannelMap getColor2()
    • getFloatValue

      public float getFloatValue(ChannelData data, int channel)
      Specified by:
      getFloatValue in interface ChannelMap
      Overrides:
      getFloatValue in class SurfaceMap
    • accept

      public void accept(ChannelMapNodeVisitor visitor)
      Overrides:
      accept in class ChannelMapNode