public class PgSurfacePair extends PgGeometry implements PsTimeListenerIf
| Modifier and Type | Field and Description |
|---|---|
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 |
static int |
SURFACE |
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_TAGSAMBIENT_H2_HYPERBOLIC, AMBIENT_H3_HYPERBOLIC, AMBIENT_H4_HYPERBOLIC, AMBIENT_PROJECTIONS, AMBIENT_R1_EUCLIDEAN, AMBIENT_R2_EUCLIDEAN, AMBIENT_R3_EUCLIDEAN, AMBIENT_R4_EUCLIDEAN, AMBIENT_R5_EUCLIDEAN, AMBIENT_S1_SPHERE, AMBIENT_S2_SPHERE, AMBIENT_S3_SPHERE, AMBIENT_S4_SPHERE, AMBIENT_SPACES, BLEND_ALPHA, BLEND_MATERIAL, BLEND_REPLACE, FILTER_DIRECT, FILTER_LINEAR, FILTER_QUADRATIC, HAS_METHOD_MENU, INSPECTOR_CONTROL, INSPECTOR_CONTROL_EXT, INSPECTOR_MATERIAL, INSPECTOR_MATERIAL_EXT, INSPECTOR_TEXTURE, INSPECTOR_TEXTURE_EXT, LABEL_BASE, LABEL_CENTER, LABEL_HEAD, LABEL_MIDDLE, LABEL_TAIL, LABEL_TOP, m_numLabelTypes, METHOD_EXT, PERIODIC_BOTH, PERIODIC_HEIGHT, PERIODIC_NONE, PERIODIC_WIDTH, PROJ_KLEIN_BALL, PROJ_PARALLEL, PROJ_POINCARE_BALL, PROJ_STEREOGRAPHIC, PROJ_UPPER_HALFSPACE, SIDE_BACK, SIDE_BOTH, SIDE_FRONT, SIDE_NONE| Constructor and Description |
|---|
PgSurfacePair(int domainDim,
int imageDim) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addDisplay, addElement, addPolygon, addVertex, applyAmbientMatrix, applyModelingMatrix, blend, clearTagElement, clearTagPolygon, clearTagVertex, clone, convertWorldToModel, copy, fillMethodMenu, fillMethodMenu, getAmbientBounds, getAmbientInvMatrix, getAmbientMatrix, getAmbientProjection, getAmbientSpace, getAuthorInfo, getAuthors, getBounds, getCenter, getCenterOfElement, getControlPanel, getDiameter, getDimOfSimplex, getDimOfVertices, getDisplayList, getDisplays, getElement, getGeometryInfo, getJvx, getLabelAttribute, getLabelColor, getLabelFont, getLabelSize, getLabelStyle, getMaterialPanel, getModelMatrix, getPolygon, getState, getTextureImage, getTextureImageName, getTitle, getType, getVersion, getVersionType, getVertex, hasAmbientMatrix, hasDisplay, hasModelMatrix, hasTagElement, hasTagPolygon, hasTagVertex, intersectionWithLine, isConfigurable, isEnabledInstanceSharing, isShowingBndBox, isShowingCenter, isShowingName, isShowingTitle, isVisible, merge, projectFromAmbientSpace, reflect, removeDisplay, removeElement, removeMethodMenus, removePolygon, removeVertex, setAmbientMatrix, setAmbientProjection, setAmbientSpace, setAuthorInfo, setAuthors, setCenter, setDimOfSimplex, setDimOfVertices, setElement, setEnabledInstanceSharing, setGeometryInfo, setJvx, setLabelAttribute, setLabelAttribute, setLabelColor, setLabelFont, setLabelSize, setLabelStyle, setModelMatrix, setPolygon, setState, setTagElement, setTagPolygon, setTagVertex, setTextureImage, setTextureImageName, setTitle, setType, setVersion, setVersionType, setVertex, setVisible, showBndBox, showCenter, showName, showTitle, toStringaddInspector, addUpdateListener, assureInspector, clearTag, clone, clone, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, updatePanelsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNameassureInspector, getInfoPanel, getName, hasTag, setNamegetFather, setParentpublic 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
public void init()
PgGeometryinit in class PgGeometrypublic boolean update(java.lang.Object event)
PgGeometryupdate in interface PsUpdateIfupdate in class PgGeometryevent - carries a lot of informationPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(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 interface PgGeometryIfpaint in class 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)
Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfgetAnimation(),
hasAnimation()"