public class PwLocalRemesh extends PjWorkshop
| Modifier and Type | Field and Description |
|---|---|
static int |
COLLAPSE_EDGE
Identifier for Collapse Edge mode.
|
static int |
FLIP_EDGE
Identifier for Flip Edge mode.
|
static int |
FLIP_ELEMENT
Identifier for Flip Element mode.
|
static int |
IDENTIFY_MARKED_VERTICES
Identifier for Identify Marked Vertices mode.
|
static int |
REMOVE_EDGE
Identifier for Remove Edge mode.
|
static int |
REMOVE_VERTEX_FILL_STAR
Identifier for Remove Vertex Fill Star mode.
|
static int |
ROTATE_STAR
Identifier for Rotate Star mode.
|
static int |
SPLIT_CENTRAL
Identifier for Split Central mode.
|
static int |
SPLIT_ELEMENT
Identifier for Split Element mode.
|
HAS_BOUNDARY_PANEL, HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGSMODE_BUG, MODE_STANDARD, MODE_VALIDATE| Constructor and Description |
|---|
PwLocalRemesh()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemeshing()
Apply the currently selected remeshing method to the workshop's geometry.
|
void |
cancel()
Cancel all changes made by this workshop and close the dialog window.
|
void |
listenToGeometryUpdates(boolean flag)
Toggle automatic remeshing on elementSet updates.
|
void |
ok()
Confirm all changes made by this workshop and close the dialog window.
|
void |
setCurrentMode(int mode)
Set current remeshing mode.
|
void |
setGeometry(PgGeometry geom)
Set geometry to the workshop.
|
boolean |
update(java.lang.Object event)
Update whenever a child has changed.
|
close, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, init, isModal, isStandalone, removeGeometry, reset, setDisplay, setDisplays, setModal, setMode, setStandalone, setVieweraddInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanelsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFather, getName, setParentpublic static final int FLIP_EDGE
public static final int COLLAPSE_EDGE
public static final int REMOVE_EDGE
public static final int SPLIT_CENTRAL
public static final int FLIP_ELEMENT
public static final int ROTATE_STAR
public static final int SPLIT_ELEMENT
public static final int REMOVE_VERTEX_FILL_STAR
public static final int IDENTIFY_MARKED_VERTICES
public void setGeometry(PgGeometry geom)
setGeometry in interface PjWorkshopIfsetGeometry in class PjWorkshopgeom - the workshop modifies this geometry.public void listenToGeometryUpdates(boolean flag)
public void setCurrentMode(int mode)
public boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.PsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public void applyRemeshing()
public void cancel()
cancel in class PjWorkshoppublic void ok()
ok in class PjWorkshop"