Module imp3d

Class ImageMap

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

public class ImageMap extends SurfaceMap
See Also:
  • Field Details

  • Constructor Details

    • ImageMap

      public ImageMap()
  • 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
    • getImageAdapter

      public ImageAdapter getImageAdapter()
    • setImageAdapter

      public void setImageAdapter(ImageAdapter image)
    • hasBilinearFiltering

      public boolean hasBilinearFiltering()
    • setBilinearFiltering

      public void setBilinearFiltering(boolean bilinear)
    • getAverageColor

      public int getAverageColor()
    • getDu

      protected float getDu()
      Overrides:
      getDu in class SurfaceMap
    • getDv

      protected float getDv()
      Overrides:
      getDv in class SurfaceMap
    • getFloatValueImpl

      protected float getFloatValueImpl(float u, float v, ChannelData data, int channel)
      Overrides:
      getFloatValueImpl in class SurfaceMap
    • getFloatValueImplSimple

      protected float getFloatValueImplSimple(float u, float v, ChannelData data, int channel)
    • getFloatValueImplBilinear

      protected float getFloatValueImplBilinear(float u, float v, ChannelData data, int channel)
    • accept

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