jvx.surface
Class PgParmSurface
java.lang.Object
|
+--jv.object.PsObject
|
+--jv.project.PgGeometry
|
+--jvx.surface.PgParmSurface
- All Implemented Interfaces:
- java.lang.Cloneable, PgGeometryIf, PsUpdateIf, java.io.Serializable
- public class PgParmSurface
- extends PgGeometry
Describes a parametrized surface over a two dimensional domain.
Coordinate functions may be given as strings and
interactively edited. Parameter domain allows adjusting using sliders.
- Version:
- 27.08.99, 1.60 revised (kp) Name PgDomain changed to PgDomainDescr.
27.08.99, 1.50 revised (kp) Project part moved into separate project.
04.07.99, 1.01 revised (kp) Modifications on domain functions, parameter linking.
00.00.98, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
PjParmSurface, Serialized Form
| 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 |
| Fields inherited from interface jv.project.PgGeometryIf |
AMBIENT_H3_HYPERBOLIC, AMBIENT_PROJECTIONS, AMBIENT_R3_EUCLIDEAN, AMBIENT_R4_EUCLIDEAN, AMBIENT_S3_SPHERE, AMBIENT_SPACES, INSPECTOR_CONTROL, INSPECTOR_CONTROL_EXT, INSPECTOR_MATERIAL, INSPECTOR_MATERIAL_EXT, LABEL_BASE, LABEL_CENTER, LABEL_HEAD, LABEL_MIDDLE, LABEL_TAIL, LABEL_TOP, METHOD_EXT, PROJ_KLEIN_BALL, PROJ_PARALLEL, PROJ_POINCARE_BALL, PROJ_STEREOGRAPHIC, PROJ_UPPER_HALFSPACE |
| Methods inherited from class jv.project.PgGeometry |
addDisplay, addElement, addPolygon, addVertex, blend, clearTagElement, clearTagPolygon, clearTagVertex, clone, copy, fillMethodMenu, getAmbientProjection, getAmbientSpace, getAuthorInfo, getAuthors, getBounds, getCenter, getCenterOfElement, getControlPanel, getDiameter, getDimOfSimplex, getDimOfVertices, getDisplays, getElement, getGeometryInfo, getJvx, getLabelAttribute, getMaterialPanel, getModelMatrix, getPolygon, getTextureImage, getTextureImageName, getTitle, getVersion, getVersionType, getVertex, hasDisplay, hasModelMatrix, hasTagElement, hasTagPolygon, hasTagVertex, intersectionWithLine, isConfigurable, isShowingBndBox, isShowingCenter, isShowingTitle, isVisible, merge, paint, reflect, removeDisplay, removeElement, removePolygon, removeVertex, setAmbientProjection, setAmbientSpace, setAuthorInfo, setAuthors, setCenter, setDimOfSimplex, setElement, setGeometryInfo, setJvx, setLabelAttribute, setLabelAttribute, setModelMatrix, setPolygon, setTagElement, setTagPolygon, setTagVertex, setTextureImage, setTextureImageName, setTitle, setVersion, setVersionType, setVertex, setVisible, showBndBox, showCenter, showTitle, toString |
| 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 |
m_numVariables
protected static final int m_numVariables
- Number of independent arguments, i.e. dimension of domain.
m_numFunctions
protected int m_numFunctions
- Number of functions, i.e. dimension of image space.
m_domain
protected PgDomainDescr m_domain
- Domain of parametrized surface.
m_function
protected PuFunction m_function
- Function object consisting of functions as strings.
m_surface
protected PgElementSet m_surface
- Geometry of surface, dimension of vertices is equal to numFunctions.
PgParmSurface
public PgParmSurface(int dim)
init
public void init()
- Description copied from class:
PgGeometry
- Initializes and resets geometry.
- Overrides:
init in class PgGeometry
update
public boolean update(java.lang.Object event)
- Update the class whenever a child has changed.
Method is usually invoked from the children.
- Overrides:
update in class PgGeometry
- Following copied from interface:
jv.object.PsUpdateIf
- Parameters:
event - carries a lot of information- Returns:
- true if event has been handled, otherwise false
- See Also:
PsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)
computeSurface
public boolean computeSurface()
setDomain
public boolean setDomain(PgDomainDescr aDomain)
setFunction
public boolean setFunction(PuFunction aFun)
setSurface
public boolean setSurface(PgElementSet aSurface)
The software JavaView® is copyright protected. All Rights Reserved.