Module imp3d

Class VolumeChecker

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

public class VolumeChecker extends ChannelMapNode implements ColorMap
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

    • VolumeChecker

      public VolumeChecker()
  • 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()
      Specified by:
      getAverageColor in interface ColorMap
    • getFloatValue

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

      public ChannelMap getColor1()
    • getColor2

      public ChannelMap getColor2()
    • accept

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