Module imp3d

Class Carpenter

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

public class Carpenter extends SyntheticTexture
See Also:
  • Field Details

  • Constructor Details

    • Carpenter

      public Carpenter()
  • Method Details

    • calculateImageData

      protected void calculateImageData()
      Specified by:
      calculateImageData in class SyntheticTexture
    • accept

      public void accept(ChannelMapNodeVisitor visitor)
      Overrides:
      accept in class ChannelMapNode
    • 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
    • getSeed

      public long getSeed()
    • setSeed

      public void setSeed(long value)
    • getColor

      public float getColor()
    • setColor

      public void setColor(float value)
    • getNoise

      public float getNoise()
    • setNoise

      public void setNoise(float value)
    • getRoughness

      public float getRoughness()
    • setRoughness

      public void setRoughness(float value)