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

Class PgSmallCubes

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


    public class PgSmallCubes
    extends PgElementSet
    Class shows small volume elements for a PgCubeSet.
    See Also:
    Serialized Form
    Author:
    Ulrich Reitebuch
    Version:
    09.03.15, 2.00 revised (kp) Moved to jvx.volume from dev.volume.
    08.10.10, 1.00 created (ur)
    • Constructor Detail

      • PgSmallCubes

        public PgSmallCubes(int aDim)
        Constructs a cube ELementSet with given dimension of vertices.
    • Method Detail

      • init

        public void init()
        Initialize size parameter to default value.
        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. In general, all links of the clone to external objects are set to null.
        Specified by:
        clone in interface PgGeometryIf
        Overrides:
        clone in class PgElementSet
        See Also:
        PgElementSet.copy(PsObject)
        Version:
        08.10.10, 1.00 created (ur)
      • copy

        public void copy(PsObject object)
        Copy instance variables by duplication, not by copying a reference.
        Overrides:
        copy in class PgElementSet
        See Also:
        clone()
        Version:
        04.08.08, 1.00 created (ur)
      • setCubeSet

        public void setCubeSet(PgCubeSet cubeSet)
        Set cubeSet to compute small cubes from.
        Version:
        08.10.08, 1.00 created (ur)
      • removeCubeSet

        public void removeCubeSet()
        Remove the current cube set.

        Method removes this class as updateListener of the cube set.

        Version:
        08.10.08, 1.00 created (ur)
      • update

        public boolean update(java.lang.Object event)
        A call of update with the cube set as set by setCubeSet(PgCubeSet) re-computes small cubes.
        Specified by:
        update in interface PsUpdateIf
        Overrides:
        update in class PgElementSet
        Parameters:
        event - carries a lot of information
        Returns:
        true if event has been handled, otherwise false
        See Also:
        setCubeSet(PgCubeSet), computeCubes()
        Version:
        16.07.99, 2.01 revised (kp) update() now ensures that info panel is updated.
      • computeCubes

        public void computeCubes()
        Make small cube elements for each cube of m_cubeSet. Vertex and element normals are recomputed.
        Author:
        Ulrich Reitebuch
        Version:
        08.10.10, 1.00 created (ur)
"JavaView? v5.03.003"

"

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

Ads help maintain this website.