Module m3DCS

Class BlockColor

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

public class BlockColor extends Null
See Also:
  • Field Details

  • Constructor Details

    • BlockColor

      public BlockColor()
    • BlockColor

      public BlockColor(double valueR, double valueG, double valueB)
    • BlockColor

      public BlockColor(double value)
    • BlockColor

      public BlockColor(String valueR, String valueG, String valueB)
    • BlockColor

      public BlockColor(String value)
  • Method Details

    • instantiate

      public void instantiate(Instantiation state)
    • setAddR

      public void setAddR(double value)
    • setAddG

      public void setAddG(double value)
    • setAddB

      public void setAddB(double value)
    • setAddR

      public void setAddR(String value)
    • setAddG

      public void setAddG(String value)
    • setAddB

      public void setAddB(String value)
    • setColor

      public void setColor(double valueR, double valueG, double valueB)
    • setColor

      public void setColor(String valueR, String valueG, String valueB)
    • setColor

      public void setColor(double value)
    • setColor

      public void setColor(String value)
    • getParentId

      public int getParentId()
    • getThisId

      public int getThisId()
    • getDensity

      public float getDensity()
    • getAbsoluteHeight

      public float getAbsoluteHeight()
    • getLocalHeight

      public float getLocalHeight()
    • getN1

      public float getN1()
    • getN2

      public float getN2()
    • getN3

      public float getN3()
    • 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 Null
      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 Null
      Returns:
      new instance of class of this node
    • getAddR

      public CustomFunction getAddR()
    • setAddR

      public void setAddR(CustomFunction value)
    • getAddG

      public CustomFunction getAddG()
    • setAddG

      public void setAddG(CustomFunction value)
    • getAddB

      public CustomFunction getAddB()
    • setAddB

      public void setAddB(CustomFunction value)