jvx.geom
Class PwSimplify
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwSimplify
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PwSimplify
- extends PsObject
Simplifies PgElementSets by removing edges and identifying
their ending points. Edges to remove are selected by smallest surface error
in the quadric metric.
- Version:
- 01.02.01, 1.20 revised (ur) Enabled refusing of simplification.
20.11.00, 1.10 revised (ur) Updating of boundary polygons improved.
20.09.00, 1.01 revised (ur) Simplifying elementSets with unused vertices is now possible.
15.02.00, 1.00 created (ur)
- Author:
- Ulrich Reitebuch
- See Also:
- Serialized Form
|
Field Summary |
boolean |
m_bSetSimplified
Flag to simplify or restore m_elementSet. |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
|
Method Summary |
static PsDialog |
getDialog(PgElementSet anElementSet)
Create a new instance of PwSimplify and return the dialog panel. |
void |
init()
Generate all necessary data of connectivity and initialize heap sort. |
boolean |
simplify(int remainElements)
Simplify the PgElementSet, until it has few enough elements. |
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed.
|
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_bSetSimplified
public boolean m_bSetSimplified
- Flag to simplify or restore m_elementSet.
PwSimplify
public PwSimplify(PgElementSet anElementSet)
- Constructor
getDialog
public static PsDialog getDialog(PgElementSet anElementSet)
- Create a new instance of PwSimplify and return the dialog panel.
init
public void init()
- Generate all necessary data of connectivity and initialize heap sort.
- Overrides:
init in class PsObject
update
public boolean update(java.lang.Object event)
- Update the class whenever a child has changed.
Method is usually invoked from the children.
- Overrides:
update in class PsObject
- Following copied from class:
jv.object.PsObject
- See Also:
PsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)
simplify
public boolean simplify(int remainElements)
- Simplify the PgElementSet, until it has few enough elements.
The software JavaView® is copyright protected. All Rights Reserved.