|
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
|
+--jv.project.PgGeometry
|
+--jv.geom.PgPointSet
|
+--jv.geom.PgElementSet
|
+--jvx.surface.PgGraph
Graph over a two-dimensional domain.
Dimension of vertices in graph is equal to the sum of the dimension of domain and surface.
Connectivity of image surface and graph depends on connectivity of domain. Only the connectivity of the domain may change. Via the update mechanism the connectivity of image surface and graph are adjusted.
| 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 | |
PgGraph(int dim)
|
|
| Method Summary | |
void |
copy(PgGeometry aGeom)
Copy instance variables by duplication, not by copying a reference. |
PgElementSet |
getDomain()
Get domain of graph. |
PuFunction |
getFunction()
Get function object of the graph. |
PgElementSet |
getSurface()
Get surface of graph. |
void |
init()
Initialize and reset instance variables after call to super.init(). |
void |
makeSurface()
Recompute surface vertices after domain or function have changed. |
void |
makeVertices()
Recompute graph vertices after domain or surface have changed. |
void |
setFunction(PuFunction aFun)
|
void |
setSurfaces(PgElementSet domain,
PgElementSet surface)
|
boolean |
setVertex(int anIndex,
PdVector aVertex)
Copy new vertex to vertex at specified position in the vertex list. |
java.lang.String |
toString()
Create a multi-line string representation with detailed information about all instance variables. |
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, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.project.PgGeometryIf |
assureInspector, getInfoPanel, getName, setName |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, setParent |
| Constructor Detail |
public PgGraph(int dim)
| Method Detail |
public void init()
PgElementSetinit in class PgElementSet
public void setSurfaces(PgElementSet domain,
PgElementSet surface)
public void copy(PgGeometry aGeom)
PgElementSetcopy in class PgElementSetpublic java.lang.String toString()
toString in class PgElementSetpublic boolean update(java.lang.Object event)
PgElementSetupdate in class PgElementSetjv.object.PsUpdateIfevent - carries a lot of informationPsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)public PgElementSet getDomain()
public PuFunction getFunction()
public PgElementSet getSurface()
public void makeSurface()
public void makeVertices()
public boolean setVertex(int anIndex,
PdVector aVertex)
PgPointSetsetVertex in class PgPointSetjv.geom.PgPointSetint - index of vertex positionPdVector - vertex to be copied to vertex listpublic void setFunction(PuFunction aFun)
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||