|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.project.PjWorkshop
jvx.vector.PwIsoline
Study scalar fields on a surface which are given as vector fields of dimension 1. Compute level lines as polygon set or assign vertex colors based on the scalar.
| Field Summary | |
static int |
RANGE_FULL
|
static int |
RANGE_HIGHER
|
static int |
RANGE_LOWER
|
static int |
RANGE_MAJOR
|
| Fields inherited from class jv.object.PsObject |
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 |
| Constructor Summary | |
PwIsoline()
Constructor. |
|
| Method Summary | |
void |
cancel()
Cancel operation of this workshop by resetting the assigned geometry, and finally close this workshop. |
PdVector |
getLevels()
|
int |
getRangeType()
|
void |
init()
Initialize and reset project, stops the running animation if any. |
void |
makeIsolines()
Compute isolines of selected scalar field of geometry. |
static PgPolygonSet |
makeIsolines(PgElementSet geom,
PdVector levels,
PgPolygonSet isolines,
PdVector scalar)
Computes a set of isolines of a scalar field on a triangulated surface. |
void |
reset()
Reset workshop and geometry to original state. |
void |
setGeometry(PgGeometry geom)
Assign a geometry on which this workshop operates, and create a backup clone of the geometry. |
void |
setLevels(PdVector level)
|
void |
setRangeType(int type)
|
boolean |
update(java.lang.Object event)
Each time another geometry is loaded. |
| Methods inherited from class jvx.project.PjWorkshop |
close, getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, isModal, ok, removeGeometry, setDisplay, setDisplays, setModal, setViewer |
| Methods inherited from class jv.object.PsObject |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, getName, setParent |
| Field Detail |
public static final int RANGE_MAJOR
public static final int RANGE_LOWER
public static final int RANGE_HIGHER
public static final int RANGE_FULL
| Constructor Detail |
public PwIsoline()
| Method Detail |
public void init()
PjWorkshop
init in class PjWorkshoppublic void reset()
reset in class PjWorkshoppublic boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.
public void setGeometry(PgGeometry geom)
PjWorkshopSubclasses frequently overwrite this method but are adviced to call this method.
setGeometry in interface PjWorkshopIfsetGeometry in class PjWorkshopgeom - the workshop modifies this geometry.public void cancel()
If necessary, the duplicate of the original geometry is restored into the geometry.
cancel in class PjWorkshoppublic PdVector getLevels()
public void setLevels(PdVector level)
public int getRangeType()
public void setRangeType(int type)
public void makeIsolines()
public static PgPolygonSet makeIsolines(PgElementSet geom,
PdVector levels,
PgPolygonSet isolines,
PdVector scalar)
PuCleanMesh.identifyVertices(PgGeometry) and
PwCleanMesh.joinPolygons.
geom - Base surface must consist of triangles only.levels - List of values sorted by increasing value, determines the computed isolines.isolines - Isocurves which will be computed.scalar - Scalar values at each vertex of the base geometry.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||