public class PwIntersectWithFunction extends PwIntersectElementSet
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_TAGS
MODE_BUG, MODE_STANDARD, MODE_VALIDATE
Constructor and Description |
---|
PwIntersectWithFunction()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clipAtFunction(boolean bPositive)
Clip the workshop's geometry at the level function.
|
void |
clipAtPdVector(boolean bPositive)
Clip the workshop's geometry at level in scalar data.
|
java.lang.String |
getFunction()
Get textual expression of level function.
|
double |
getLevel()
Get level value at which clipping happens.
|
void |
intersectWithFunction()
Invoke Cutting the elements of the workshop's geometry at the level function.
|
void |
intersectWithPdVector()
Invoke Cutting the elements of the workshop's geometry at scalar data.
|
void |
setFunction(java.lang.String s)
Set textual expression of level function used clipping from outside of workshop.
|
void |
setGeometry(PgGeometry geom)
Assign a geometry on which this workshop operates,
and create a backup copy if workshop is canceled.
|
void |
setLevel(double level)
Set the value at which clipping happens.
|
void |
setScalarData(PdVector data)
Set double data to clip or split Geometry at.
|
PgElementSet |
splitAtFunction()
Split the workshop's geometry into two geometries along the level function.
|
PgElementSet |
splitAtPdVector()
Split the workshop's geometry into two geometries at a level in scalar data.
|
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed.
|
breakElements, breakElements, cancel, cutAlongIntersection, cutAlongIntersection, getIntersection, init, intersect, reset, setGeometries
close, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, isModal, isStandalone, ok, openDialog, removeGeometry, setDisplay, setDisplays, setModal, setMode, setStandalone, setViewer
addInspector, 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, updatePanels
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFather, getName, setParent
public void setGeometry(PgGeometry geom)
setGeometry
in interface PjWorkshopIf
setGeometry
in class PjWorkshop
geom
- the workshop modifies this geometry.public java.lang.String getFunction()
public void setFunction(java.lang.String s)
s
- string containing a function expressionParser
public void setScalarData(PdVector data)
public double getLevel()
public void setLevel(double level)
level
- level value at which clipping happenspublic boolean update(java.lang.Object event)
update
in interface PsUpdateIf
update
in class PjWorkshop
event
- sender of this update.PsObject.setParent(PsUpdateIf)
,
PsObject.getFather()
,
PsObject.addUpdateListener(PsUpdateIf)
public void intersectWithFunction()
public void intersectWithPdVector()
public PgElementSet splitAtFunction()
public PgElementSet splitAtPdVector()
public void clipAtFunction(boolean bPositive)
bPositive
- Flag to get either the higher or the lower function value areas.public void clipAtPdVector(boolean bPositive)
bPositive
- Flag to get either the higher or the lower function value areas."