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

Class PwLocalButterfly

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


    public class PwLocalButterfly
    extends PjWorkshop
    Workshop for local refinement of triangles of a surface. The connectivity is refined according to the combinatorical Rivara algorithm, the geometrical informations are computed using the butterfly scheme, the Loop scheme, or planar subdividing by edge midpoints.
    See Also:
    Serialized Form
    Author:
    Ulrich Reitebuch
    Version:
    23.01.06, 1.10 revised (ur) Adaptive Loop subdivision implemented.
    15.10.03, 1.00 created (ur)
    • Field Detail

      • PLANAR

        public static int PLANAR
      • BUTTERFLY

        public static int BUTTERFLY
      • LOOP

        public static int LOOP
      • m_tolerance

        public PuDouble m_tolerance
        To steer the tolerance, when selecting for refinement by Gauss curvature.
      • m_maxNumSteps

        public PuInteger m_maxNumSteps
        To steer the maximal number of refinement steps, when selecting for refinement by Gauss curvature.
      • m_percentage

        public PuDouble m_percentage
        To select the triangles with the greatest area for refinement.
      • m_markBy

        public int m_markBy
    • Constructor Detail

      • PwLocalButterfly

        public PwLocalButterfly()
        Constructor.
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
    • Method Detail

      • setGeometry

        public void setGeometry(PgElementSet geom)
        Register a geometry, on which this workshop will operate.
      • setScheme

        public void setScheme(int aScheme)
        Set subdivision scheme.
      • init

        public void init()
        Initialization.
        Overrides:
        init in class PjWorkshop
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
      • markBySize

        public void markBySize()
        Select the triangles with the greatest area. The number of selected triangles will be computed by the PuInteger m_percentage.
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
      • unselectAllElements

        public void unselectAllElements()
        Remove tag IS_SELECTED from all triangles.
      • refineByCurvature

        public void refineByCurvature()
        Refine triangles, until all vertices have Gauss curvature inside a tolerance interval given by m_tolerance or triangles are more often refined than defined by m_maxNumSteps.
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
      • refine

        public void refine()
        Start Rivara refinement. All triangles marked with tag IS_SELECTED are bisected.
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
      • reset

        public void reset()
        Remove all previously done refinement and set the workshop to its initial status.
        Overrides:
        reset in class PjWorkshop
        Author:
        Ulrich Reitebuch
        Version:
        15.10.03, 1.00 created (ur)
      • ok

        public void ok()
        Hold geometry and close the Workshop.
        Overrides:
        ok in class PjWorkshop
      • cancel

        public void cancel()
        Reset geometry and close the Workshop.
        Overrides:
        cancel in class PjWorkshop
"JavaView? v5.03.003"

"

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

Ads help maintain this website.