|
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
|
+--vgp.discrete.harmonic.PgSurfacePair
Maps between surfaces are given by specifying a domain and an image surface. Additionally, image surface may have a conjugate surface and a continuous, animatable 1-parameter family between surface and its conjugate.
| Field Summary | |
static int |
ASSOCIATE
|
static int |
ASSOCIATE_FULL
|
static int |
CURRENT
|
static int |
DOMAIN
Identifiers of surfaces handle in data structure PgSurfacePair. |
static int |
DUAL
|
static int |
DUAL_FULL
|
protected int |
m_activeSurface
Currently active geometry for interactive modifications. |
protected PsAnimation |
m_anim
Supervising animation control, empty if not used. |
protected PgElementSet |
m_associate
Associate family of surface and dual. |
protected double |
m_associateTime
Current value in associate family. |
protected PgElementSet |
m_domain
Domain of surface map. |
protected int |
m_domainDim
Dimension of vertices in domain space, i.e. m_domain. |
protected PgElementSet |
m_dual
Dual surface of map. |
protected PgElementSet |
m_geom
Current active geometry. |
protected int |
m_imageDim
Dimension of vertices in image space, i.e. m_surface, m_dual, m_associate. |
protected PgElementSet |
m_surface
Image surface of map. |
static int |
SURFACE
|
| 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 | |
PgSurfacePair(int domainDim,
int imageDim)
|
|
| Method Summary | |
boolean |
computeAssociate(double t)
Compute associate family by interpolating between surface and dual. |
boolean |
conjugate()
|
boolean |
conjugateToFull()
|
PgElementSet |
getActiveSurface()
|
PsAnimation |
getAnimation()
Get the animation object of the project which handles the projects animations. |
PgElementSet |
getSurface(int type)
|
boolean |
hasAnimation()
Check whether this project is registered as listener of an animation object. |
void |
init()
Initializes and resets geometry. |
void |
paint(PvGeometryIf dc)
Major rendering method fills an internal container class supplied by the display. |
void |
setActiveSurface(int type)
|
void |
setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. |
void |
setSurface(PgElementSet geom,
int type)
|
boolean |
setTime(PsTimeEvent timeEvent)
Required interface for PsTimeListenerIf |
boolean |
update(java.lang.Object event)
Update method of geometry updates registered panels, update listeners, and invokes a repaint in the registered displays. |
| 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.anim.PsTimeListenerIf |
getName |
| Methods inherited from interface jv.project.PgGeometryIf |
getInfoPanel, getName, setName |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, setParent |
| Field Detail |
public static final int DOMAIN
public static final int SURFACE
public static final int DUAL
public static final int DUAL_FULL
public static final int ASSOCIATE
public static final int ASSOCIATE_FULL
public static final int CURRENT
protected PgElementSet m_geom
protected int m_domainDim
protected int m_imageDim
protected PgElementSet m_domain
protected PgElementSet m_surface
protected PgElementSet m_dual
protected PgElementSet m_associate
protected double m_associateTime
protected int m_activeSurface
protected PsAnimation m_anim
| Constructor Detail |
public PgSurfacePair(int domainDim,
int imageDim)
| Method Detail |
public void init()
PgGeometryinit in class PgGeometrypublic boolean update(java.lang.Object event)
PgGeometryupdate in class PgGeometryjv.object.PsUpdateIfevent - carries a lot of informationPsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)public PgElementSet getActiveSurface()
public void setActiveSurface(int type)
public boolean computeAssociate(double t)
public void setSurface(PgElementSet geom,
int type)
public PgElementSet getSurface(int type)
public void paint(PvGeometryIf dc)
PgGeometryjv.project.PgGeometryIf for detailed information.paint in class PgGeometryjv.project.PgGeometryPgGeometryIfpublic boolean conjugate()
public boolean conjugateToFull()
public boolean setTime(PsTimeEvent timeEvent)
setTime in interface PsTimeListenerIfpublic PsAnimation getAnimation()
setAnimation(PsAnimation).getAnimation in interface PsTimeListenerIfhasAnimation(),
setAnimation(PsAnimation)public boolean hasAnimation()
hasAnimation in interface PsTimeListenerIfgetAnimation(),
setAnimation(PsAnimation)public void setAnimation(PsAnimation anAnimation)
If this project has an animation object assigned in its constructor or
init() method, then the animation panel is shown when the project's
start() method is invoked during loading of the project.
Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfgetAnimation(),
hasAnimation()
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||