Module m3DCS

Class Hydra

All Implemented Interfaces:
Transformation, Pickable, Raytraceable, Renderable, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Instantiator<Instantiation>, Serializable

public class Hydra extends Sphere implements Instantiator<Instantiation>
See Also:
  • Field Details

  • Constructor Details

    • Hydra

      public Hydra()
    • Hydra

      public Hydra(float n)
    • Hydra

      public Hydra(boolean type)
    • Hydra

      public Hydra(float n, boolean type)
  • Method Details

    • getInstantiator

      public Instantiator getInstantiator()
      Overrides:
      getInstantiator in class Node
    • instantiate

      public void instantiate(Instantiation state)
      Specified by:
      instantiate in interface Instantiator<Instantiation>
    • setRadius

      public void setRadius(float firstRadius, float secondRadius)
    • setRadius

      public void setRadius(float value)
      Overrides:
      setRadius in class Sphere
    • getRadius

      public float getRadius()
      Overrides:
      getRadius in class Sphere
    • fieldModified

      public void fieldModified(PersistenceField field, int[] indices, Transaction t)
      Specified by:
      fieldModified in interface Manageable
      Overrides:
      fieldModified in class Node
    • getNumber

      public float getNumber()
    • setNumber

      public void setNumber(double value)
    • getTwist2

      public float getTwist2()
    • setTwist2

      public void setTwist2(double value)
    • getTwist1

      public float getTwist1()
    • setTwist1

      public void setTwist1(double value)
    • setTwist

      public void setTwist(double value1, double value2)
    • getSpin1

      public float getSpin1()
    • setSpin1

      public void setSpin1(double value)
    • getSpin2

      public float getSpin2()
    • setSpin2

      public void setSpin2(double value)
    • setSpin

      public void setSpin(double value1, double value2)
    • getScale2

      public float getScale2()
    • setScale2

      public void setScale2(double value)
    • getScale1

      public float getScale1()
    • setScale1

      public void setScale1(double value)
    • setScale

      public void setScale(double value1, double value2)
    • setNumber

      public void setNumber(String value)
    • setTwist2

      public void setTwist2(String value)
    • setTwist1

      public void setTwist1(String value)
    • setTwist

      public void setTwist(String value1, String value2)
    • setSpin1

      public void setSpin1(String value)
    • setSpin2

      public void setSpin2(String value)
    • setSpin

      public void setSpin(String value1, String value2)
    • setScale2

      public void setScale2(String value)
    • setScale1

      public void setScale1(String value)
    • setScale

      public void setScale(String value1, String value2)
    • useLod

      public void useLod(boolean value)
    • getChildId

      public int getChildId()
    • 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 Sphere
      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 Sphere
      Returns:
      new instance of class of this node
    • isInitAll

      public boolean isInitAll()
    • setInitAll

      public void setInitAll(boolean value)
    • setNumber

      public void setNumber(CustomFunction value)
    • getTrajectory

      public BSplineCurve getTrajectory()
    • setTrajectory

      public void setTrajectory(BSplineCurve value)
    • setTwist2

      public void setTwist2(CustomFunction value)
    • setTwist1

      public void setTwist1(CustomFunction value)
    • getTwistMode

      public FloatToFloat getTwistMode()
    • setTwistMode

      public void setTwistMode(FloatToFloat value)
    • setSpin2

      public void setSpin2(CustomFunction value)
    • setSpin1

      public void setSpin1(CustomFunction value)
    • getSpinMode

      public FloatToFloat getSpinMode()
    • setSpinMode

      public void setSpinMode(FloatToFloat value)
    • setScale2

      public void setScale2(CustomFunction value)
    • setScale1

      public void setScale1(CustomFunction value)
    • getScaleMode

      public FloatToFloat getScaleMode()
    • setScaleMode

      public void setScaleMode(FloatToFloat value)
    • getSlopeFunction

      public FloatToFloat getSlopeFunction()
    • setSlopeFunction

      public void setSlopeFunction(FloatToFloat value)
    • getLod

      public HydraLOD getLod()
    • setLod

      public void setLod(HydraLOD value)
    • getLocationParameter

      public LocationParameterBase getLocationParameter()
    • setLocationParameter

      public void setLocationParameter(LocationParameterBase value)