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

Class PgU3dLoader

  • All Implemented Interfaces:
    PgLoaderIf


    public final class PgU3dLoader
    extends PgAbstractLoader
    Loader for geometry files given in U3D format, specified by the ecma standard ECMA-363.
    Author:
    Ulrich Reitebuch
    Version:
    13.03.18, 3.10 revised (kp) Obsolete empty dummy read()-methods removed.
    09.03.15, 3.00 revised (kp) Moved to jvx.loader from dev.loader.
    22.03.10, 2.00 revised (kp) Superclass changed to PgAbstractLoader.
    23.03.06, 1.00 created (ur)
    • Constructor Detail

      • PgU3dLoader

        public PgU3dLoader()
    • Method Detail

      • write

        public boolean write(java.io.Writer writer,
                             PgJvxSrc[] geomArr)
                      throws java.io.IOException
        Write an array of geometries into an output stream writer.

        Numbers with absolute value less than jv.vecmath.PuMath#EPS are shown as zero. This avoids the annoying fact that double precision numbers fill the whole text area hiding the exponent, which hides their small value.

        Specified by:
        write in interface PgLoaderIf
        Overrides:
        write in class PgAbstractLoader
        Parameters:
        writer - Write all data to this stream
        geomArr - Array with geometries to save
        Returns:
        true on success.
        Throws:
        java.io.IOException
        See Also:
        PgAbstractLoader.read(BufferedReader)
        Version:
        09.09.02, 2.00 revised (kp) Exchange vn and vt, remove vd vector fields to comply with OBJ format.
        10.05.02, 1.30 revised (ep) Save first vector field if existent and vertex based as 'vd'.
        10.06.01, 1.20 revised (kp) Save array of geometries instead of single geometry.
        22.08.99, 1.10 revised (kp) Number with abs value less than PuMath.EPS are shown as zero.
        22.08.99, 1.00 created (kp)
      • storeElementColorsAtVertices

        public static void storeElementColorsAtVertices(boolean flag)
        Enable storing of element colors at vertices.
      • storeElementColorsInShaders

        public static void storeElementColorsInShaders(boolean flag)
        Enable storing of element colors in shaders. SHOULD NOT BE USED! IS IN A DEBUGGING-AND-UNDERSTAND_ADOBE_VIEWER STATE!
"JavaView? v5.03.003"

"

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

Ads help maintain this website.