|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwModel
Utility programs for modeling of PgElementSet. Contains static functions to shrink, truncate or stellate an PgElementSet.
| 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 |
| Constructor Summary | |
PwModel(PgElementSet anElementSet)
Constructor |
|
| Method Summary | |
static void |
dooSabin(PgElementSet geom)
Cut all edges and vertices and fill the gaps with new elements. |
static PsDialog |
getDialog(PgElementSet anElementSet)
Open dialog window and create a new instance of PwModel. |
static void |
punch(PgElementSet geom,
double factor)
Cut out a shrinked copy from every element; the remaining face gets divided into quadrilaterals, each containing one edge of the original element and of the cut-out shrinked copy. |
void |
setElementSet(PgElementSet anElementSet)
Overwrite the backup elementSet, on which the modeling tools will work. |
static void |
shrink(PgElementSet geom,
double factor)
Shrink every face of ElementSet by a constant factor; every face gets it's own edges and vertices, all neighbourhood information gets lost. |
static void |
stellate(PgElementSet geom,
double h)
Replace every face by a pyramide dimension of Elements gets set to 3. |
static void |
truncate(PgElementSet geom,
double factor,
boolean newFaces)
Truncate all vertices |
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, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PwModel(PgElementSet anElementSet)
| Method Detail |
public static PsDialog getDialog(PgElementSet anElementSet)
public void setElementSet(PgElementSet anElementSet)
public boolean update(java.lang.Object event)
update in class PsObjectjv.object.PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)
public static void shrink(PgElementSet geom,
double factor)
factor - shrinking factor
public static void stellate(PgElementSet geom,
double h)
h - height of pyramide
public static void truncate(PgElementSet geom,
double factor,
boolean newFaces)
t - blend factor for VerticesnewFaces - true = replace truncated vertices with new faces
public static void punch(PgElementSet geom,
double factor)
p - shrinking factor for the cut-out element.public static void dooSabin(PgElementSet geom)
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||