|
JavaView® v2.00.008 | ||||||||
| 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.
| Field Summary | |
protected int |
m_dimOfDomain
Dimension of domain. |
protected int |
m_dimOfSurface
Dimension of surface in image space. |
protected PgElementSet |
m_domain
Domain of graph. |
protected PuFunction |
m_function
Function object consisting of function expressions as strings. |
protected PgElementSet |
m_surface
Geometry of surface, dimension of vertices is equal to m_dimOfSurface. |
| Fields inherited from class jv.project.PgGeometry |
m_ambientProj, m_ambientSpace, m_authorInfo, m_bShowBndBox, m_bShowCenter, m_bShowing, m_bShowTitle, m_center, m_dim, m_dimOfSimplex, m_displayList, m_geometryInfo, m_labelAttribute, m_methodMenu, m_modelMatrix, m_title, m_version, m_versionType |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, m_infoPanel, m_name, m_panelList, m_parent, m_tag, m_updateList, 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, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.project.PgGeometryIf |
getInfoPanel, getName, setName |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, setParent |
| Field Detail |
protected int m_dimOfDomain
protected int m_dimOfSurface
protected PgElementSet m_domain
protected PuFunction m_function
protected PgElementSet m_surface
| 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.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||