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

Class PgParmSurface

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


    public class PgParmSurface
    extends PgElementSet
    A parametrized surface over a two dimensional domain. Coordinate functions may be given as strings and interactively edited. Parameter domain allows adjusting using sliders.

    Since major revision 4.0 domain and functions are copied rather than assigned. Therefore, avoid using deprecated methods although they still work.

    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    29.09.04, 4.00 revised (kp) Major revision since JavaView v3.50.000, avoid using deprecated methods.
    26.07.04, 3.00 revised (kp) Deprecated method setSurface() removed since this class derives from PgElementSet.
    17.01.04, 2.50 revised (kp) Clone, copy implemented, updateListerIf used.
    03.01.02, 2.00 revised (kp) Superclass changed to PgElementSet from PgGeometry.
    27.08.99, 1.60 revised (kp) Name PgDomain changed to PgDomainDescr.
    27.08.99, 1.50 revised (kp) Project part moved into separate project.
    04.07.99, 1.01 revised (kp) Modifications on domain functions, parameter linking.
    00.00.98, 1.00 created (kp)
    • Constructor Detail

      • PgParmSurface

        public PgParmSurface()
      • PgParmSurface

        public PgParmSurface(int dim)
    • Method Detail

      • init

        public void init()
        Description copied from class: PgElementSet
        Initialize and reset instance variables after call to super.init().
        Overrides:
        init in class PgElementSet
      • 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)
        Version:
        16.01.04, 1.00 created (kp)
      • 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
      • getDomainDescr

        public PgDomainDescr getDomainDescr()
        Get domain description of surface.
        Since:
        JavaView 3.50.003
        Version:
        03.08.04, 1.00 created (kp)
      • setDomainDescr

        public boolean setDomainDescr(PgDomainDescr domainDescr)
        Set domain descriptor which specifies the extension of the (u,v)-domain. Data of argument domain descriptor is copied.
        Since:
        JavaView 3.50.003
        Version:
        03.08.04, 1.00 created (kp)
      • getFunctionExpr

        public PuFunction getFunctionExpr()
        Get function object of the surface.
        Version:
        17.01.04, 1.00 created (kp)
      • setFunctionExpr

        public boolean setFunctionExpr(PuFunction function)
        Set coordinate functions which may be interactively edited in the control panel. Number of functions must be equal to the vertex dimension of this surface. Data of argument function is copied.
        Version:
        03.08.04, 2.00 revised (kp) Argument is no longer referenced but copied.
      • getDomain

        public PgDomainDescr getDomain()
        Deprecated. since JavaView 3.50.003, use getDomainDescr().
        Get domain description of surface.
        Version:
        17.01.04, 1.00 created (kp)
      • setDomain

        public boolean setDomain(PgDomainDescr aDomain)
        Deprecated. since JavaView 3.50.003, use setDomainDescr().
        Set domain descriptor which specifies the extension of the (u,v)-domain.
      • getFunction

        public PuFunction getFunction()
        Deprecated. since JavaView 3.57.003, use getFunctionExpr instead, method no longer supported.
        Get function object of the surface.
        Version:
        17.01.04, 1.00 created (kp)
      • setFunction

        public boolean setFunction(PuFunction aFun)
        Deprecated. since JavaView 3.57.003, use setFunctionExpr instead, method no longer supported.
        Set coordinate functions which may be interactively edited in the control panel. Number of functions must be equal to the vertex dimension of this surface.
      • setSurface

        public boolean setSurface(PgElementSet aSurface)
        Deprecated. obsolete since this class now derives from PgElementSet. Use this class instead.
      • compute

        public void compute()
        Perform all computations of surface.
        Since:
        JavaView v.3.50.001
        Version:
        26.07.04, 1.00 created (kp) For compatibility reason with other geometry classes.
      • computeSurface

        public boolean computeSurface()
        Deprecated. since JavaView 3.50.003, use compute().
        Recalculate surface vertices, connectivity and normal vectors.
      • makeVertexTextureFromUV

        public boolean makeVertexTextureFromUV()
        Create vertex texture of a parametrized surface based on (u,v)-discretization of domain.
        Author:
        Konrad Polthier
        Version:
        26.07.04, 2.00 revised (kp) Method body removed since now PgPointSet#makeVertexTextureFromUV() called
        10.09.02, 1.00 created (kp)
"JavaView? v5.03.003"

"

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

Ads help maintain this website.