Documentation of 'jvx.primitive.PgGraphF' Java class
PgGraphF ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.primitive

Class PgGraphF

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PgGeometryIf


    public class PgGraphF
    extends PgElementSet
    Graph surface of a scalar-valued function over a two-dimensional domain. The graph is a surface in 3(=2+1)-dimensional space.

    Connectivity of image surface and graph are the same as the connectivity of the domain and synchronized when the domain connectivity changes.

    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    09.03.15, 2.00 revised (kp) Moved to jvx.primitive from dev.primitive.
    05.08.04, 1.00 created (kp) New development based on jvx.surface.PgGraph.
    • Constructor Detail

      • PgGraphF

        public PgGraphF()
        Create a graph of a scalar-valued function over a rectangular 2D domain. The resulting graph is a surface in 3(=2+1)-dimensional space. The graph has empty domain and function.
    • Method Detail

      • init

        public void init()
        Initialize sliders.
        Overrides:
        init in class PgElementSet
      • computeSample

        public void computeSample()
        Provide default settings and compute a sample geometry. This method is only provided as a convenience.
      • clone

        public java.lang.Object clone()
        Duplicate geometry by recursively cloning all instance variables except inspector panels and lists of registered listeners. The parent relationship is maintained only within this class but not to external classes.
        Specified by:
        clone in interface PgGeometryIf
        Overrides:
        clone in class PgElementSet
        See Also:
        copy(PsObject)
      • toString

        public java.lang.String toString()
        Create a multi-line string representation with detailed information about all instance variables.
        Specified by:
        toString in interface PgGeometryIf
        Overrides:
        toString in class PgElementSet
      • getDomain

        public PgDomain getDomain()
        Get domain of graph as element set with 2-dimensional vertices.
      • getScalar

        public PgElementSet getScalar()
        Get scalar values of graph as element set with 1-dimensional vertices.
      • getFunction

        public PuFunction getFunction()
        Get function object of the graph.
      • setFunction

        public void setFunction(PuFunction function)
        Set function object which contains exactly one function. The function is copied.
      • isEnabledSynchronization

        public boolean isEnabledSynchronization()
        Check if synchronization of material properties from graph to domain is enabled.
      • setEnabledSynchronization

        public void setEnabledSynchronization(boolean flag)
        Enable synchronization of material properties from graph to domain.
      • isShowingDomain

        public boolean isShowingDomain()
        Check if display of domain is enabled.
      • setShowingDomain

        public void setShowingDomain(boolean flag)
        Enable display of domain.
      • getOffsetSlider

        public PuDouble getOffsetSlider()
        Get slider of offset factor of graph.
      • getOffset

        public double getOffset()
        Get offset factor of graph.
      • setOffset

        public void setOffset(double offset)
        Set offset factor of graph.
      • getScalingSlider

        public PuDouble getScalingSlider()
        Get slider of scaling factor of graph.
      • getScaling

        public double getScaling()
        Get scaling factor of graph.
      • setScaling

        public void setScaling(double scaling)
        Set scaling factor of graph.
      • compute

        public void compute()
        Compute scalar values based on domain vertices and function expression..
      • makeVertexTextureFromUV

        public boolean makeVertexTextureFromUV()
        Create vertex texture of a parametrized surface from domain.
        Author:
        Konrad Polthier
        Version:
        25.07.04, 1.00 created (kp)
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.