jv.viewer
Class PvGrid
java.lang.Object
|
+--jv.object.PsObject
|
+--jv.project.PgGeometry
|
+--jv.project.PgJvxSrc
|
+--jv.viewer.PvGrid
- All Implemented Interfaces:
- java.lang.Cloneable, PgGeometryIf, PsUpdateIf, java.io.Serializable
- public final class PvGrid
- extends PgJvxSrc
Two-dimensional grid for use in display.
TODO: Class is very similar to PgDomain and should be subclassed from PgDomain.
- Version:
- 12.08.00, 1.10 revised (kp) Superclass changed to PgJvxSrc from PgElementSet for JAX.
02.01.99, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
PgDomain, Serialized Form
| Fields inherited from class jv.project.PgJvxSrc |
m_bDefaultLabelEnabled, m_bShowBackface, m_bShowBoundaries, m_bShowEdgeColors, m_bShowEdgeLabels, m_bShowEdges, m_bShowElementBackColor, m_bShowElementBackColors, m_bShowElementColors, m_bShowElementLabels, m_bShowElementNormalArrow, m_bShowElementNormals, m_bShowElements, m_bShowElementTexture, m_bShowIndices, m_bShowOutline, m_bShowPolygonColors, m_bShowPolygonEndArrow, m_bShowPolygonLabels, m_bShowPolygonNormalArrow, m_bShowPolygonNormals, m_bShowPolygons, m_bShowPolygonStartArrow, m_bShowTaggedBoundaries, m_bShowTaggedEdges, m_bShowTaggedElements, m_bShowTaggedPolygons, m_bShowTaggedVertices, m_bShowVectorArrow, m_bShowVectorField, m_bShowVertexColors, m_bShowVertexLabels, m_bShowVertexNormalArrow, m_bShowVertexNormals, m_bShowVertexTexture, m_bShowVertices, m_dimOfElements, m_dimOfPolygons, m_dimOfTextures, m_edge, m_edgeColor, m_element, m_elementBackColor, m_elementColor, m_elementNormal, m_elementTexture, m_geomType, m_globalBndColor, m_globalBndSize, m_globalBndTagColor, m_globalEdgeColor, m_globalEdgeSize, m_globalEdgeTagColor, m_globalElementBackColor, m_globalElementColor, m_globalElementNormalColor, m_globalElementNormalLength, m_globalElementNormalSize, m_globalElementTagColor, m_globalPolygonColor, m_globalPolygonNormalColor, m_globalPolygonNormalLength, m_globalPolygonNormalSize, m_globalPolygonSize, m_globalPolygonTagColor, m_globalVectorColor, m_globalVectorLength, m_globalVectorSize, m_globalVertexColor, m_globalVertexNormalColor, m_globalVertexNormalLength, m_globalVertexNormalSize, m_globalVertexSize, m_globalVertexTagColor, m_maxDimOfElements, m_maxNumElements, m_maxNumPolygons, m_maxNumVertices, m_neighbour, m_numEdges, m_numElements, m_numPolygons, m_numVectorFields, m_numVertices, m_polygon, m_polygonColor, m_polygonNormal, m_textureImage, m_textureImageName, m_vector, m_vectorColor, m_vectorIsElementBased, m_vectorName, m_vertex, m_vertexColor, m_vertexFunction, m_vertexNormal, m_vertexTexture |
| 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 |
|
Constructor Summary |
PvGrid(int dim)
|
|
Method Summary |
void |
compute()
|
int |
getNumULines()
|
int |
getNumVLines()
|
double |
getUMax()
|
double |
getUMin()
|
double |
getVMax()
|
double |
getVMin()
|
void |
init()
Initializes and resets geometry. |
void |
setDefDiscr(int uLines,
int vLines,
int uSub,
int vSub)
|
void |
setDefSize(double uMin,
double vMin,
double uMax,
double vMax)
|
void |
setDiscr(int uLines,
int vLines,
int uSub,
int vSub)
|
void |
setNumULines(int aNum)
|
protected void |
setNumULinesFromPanel(int aNum)
|
void |
setNumVLines(int aNum)
|
protected void |
setNumVLinesFromPanel(int aNum)
|
void |
setOrientation(PdVector origin,
PdVector uDir,
PdVector vDir)
|
void |
setSize(double uMin,
double vMin,
double uMax,
double vMax)
|
void |
setUMax(double uMax)
|
void |
setUMin(double uMin)
|
void |
setVMax(double vMax)
|
void |
setVMin(double vMin)
|
| Methods inherited from class jv.project.PgJvxSrc |
addEdge, addElement, addPolygon, addVertex, assureEdgeColors, assureElementBackColors, assureElementColors, assureElementNormals, assureElementTextures, assureNeighbours, assurePolygonColors, assurePolygonNormals, assureVectorColors, assureVertexColors, assureVertexNormals, assureVertexTextures, clone, copy, getBounds, getDimOfVectors, getEdge, getEdgeColors, getEdges, getElement, getElementBackColors, getElementColors, getElementNormals, getElements, getElementTextures, getGlobalBndColor, getGlobalBndSize, getGlobalBndTagColor, getGlobalEdgeColor, getGlobalEdgeSize, getGlobalEdgeTagColor, getGlobalElementBackColor, getGlobalElementColor, getGlobalElementNormalColor, getGlobalElementNormalLength, getGlobalElementNormalSize, getGlobalElementTagColor, getGlobalPolygonColor, getGlobalPolygonNormalColor, getGlobalPolygonNormalLength, getGlobalPolygonNormalSize, getGlobalPolygonSize, getGlobalPolygonTagColor, getGlobalVectorColor, getGlobalVectorLength, getGlobalVectorSize, getGlobalVertexColor, getGlobalVertexNormalColor, getGlobalVertexNormalLength, getGlobalVertexNormalSize, getGlobalVertexSize, getGlobalVertexTagColor, getJvx, getNeighbours, getNumEdges, getNumElements, getNumPolygons, getNumVectorFields, getNumVertices, getPolygon, getPolygonColors, getPolygonNormals, getPolygons, getTextureImage, getTextureImageName, getType, getVectorFieldColors, getVectorFieldName, getVectors, getVertex, getVertexColors, getVertexFunctions, getVertexNormals, getVertexTextures, getVertices, isDefaultLabelEnabled, isShowingBackface, isShowingBoundaries, isShowingEdgeColors, isShowingEdgeLabels, isShowingEdges, isShowingElementBackColor, isShowingElementBackColors, isShowingElementColors, isShowingElementLabels, isShowingElementNormalArrow, isShowingElementNormals, isShowingElements, isShowingElementTexture, isShowingIndices, isShowingOutline, isShowingPolygonColors, isShowingPolygonEndArrow, isShowingPolygonLabels, isShowingPolygonNormalArrow, isShowingPolygonNormals, isShowingPolygons, isShowingPolygonStartArrow, isShowingVertexColors, isShowingVertexLabels, isShowingVertexNormalArrow, isShowingVertexNormals, isShowingVertexTexture, isShowingVertices, isVectorArrowVisible, isVectorElementBased, makeElementColorsFromXYZ, makeElementNormals, makeQuadrConn, paint, reflect, setDefaultLabelEnabled, setDimOfElement, setDimOfElements, setDimOfPolygons, setDimOfVertices, setEdge, setEdgeColors, setEdges, setElement, setElementBackColors, setElementColors, setElementNormals, setElements, setElementTextures, setGlobalBndColor, setGlobalBndSize, setGlobalBndTagColor, setGlobalEdgeColor, setGlobalEdgeSize, setGlobalEdgeTagColor, setGlobalElementBackColor, setGlobalElementColor, setGlobalElementNormalColor, setGlobalElementNormalLength, setGlobalElementNormalSize, setGlobalElementTagColor, setGlobalPolygonColor, setGlobalPolygonNormalColor, setGlobalPolygonNormalLength, setGlobalPolygonNormalSize, setGlobalPolygonSize, setGlobalPolygonTagColor, setGlobalVectorColor, setGlobalVectorLength, setGlobalVectorSize, setGlobalVertexColor, setGlobalVertexNormalColor, setGlobalVertexNormalLength, setGlobalVertexNormalSize, setGlobalVertexSize, setGlobalVertexTagColor, setJvx, setMaxNumElements, setMaxNumPolygons, setMaxNumVertices, setNeighbours, setNumEdges, setNumElements, setNumPolygons, setNumVectorFields, setNumVectors, setNumVertices, setPolygon, setPolygonColors, setPolygonNormals, setPolygons, setTextureImage, setTextureImageName, setType, setVectorArrowVisible, setVectorColors, setVectorElementBased, setVectorFieldName, setVectors, setVertex, setVertexColors, setVertexFunctions, setVertexNormals, setVertexTextures, setVertices, showBackface, showBoundaries, showEdgeColors, showEdgeLabels, showEdges, showElementBackColor, showElementBackColors, showElementColors, showElementLabels, showElementNormalArrow, showElementNormals, showElements, showElementTexture, showIndices, showOutline, showPolygonColors, showPolygonEndArrow, showPolygonLabels, showPolygonNormalArrow, showPolygonNormals, showPolygons, showPolygonStartArrow, showVertexColors, showVertexLabels, showVertexNormalArrow, showVertexNormals, showVertexTexture, showVertices |
| Methods inherited from class jv.project.PgGeometry |
addDisplay, blend, clearTagElement, clearTagPolygon, clearTagVertex, copy, fillMethodMenu, getAmbientProjection, getAmbientSpace, getAuthorInfo, getAuthors, getCenter, getCenterOfElement, getControlPanel, getDiameter, getDimOfSimplex, getDimOfVertices, getDisplays, getGeometryInfo, getLabelAttribute, getMaterialPanel, getModelMatrix, getTitle, getVersion, getVersionType, hasDisplay, hasModelMatrix, hasTagElement, hasTagPolygon, hasTagVertex, intersectionWithLine, isConfigurable, isShowingBndBox, isShowingCenter, isShowingTitle, isVisible, merge, removeDisplay, removeElement, removePolygon, removeVertex, setAmbientProjection, setAmbientSpace, setAuthorInfo, setAuthors, setCenter, setDimOfSimplex, setGeometryInfo, setLabelAttribute, setLabelAttribute, setModelMatrix, setTagElement, setTagPolygon, setTagVertex, setTitle, setVersion, setVersionType, setVisible, showBndBox, showCenter, showTitle, toString, update |
| 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_uMin
protected PuDouble m_uMin
m_vMin
protected PuDouble m_vMin
m_uMax
protected PuDouble m_uMax
m_vMax
protected PuDouble m_vMax
m_numULines
protected int m_numULines
m_numVLines
protected int m_numVLines
m_numUSub
protected int m_numUSub
m_numVSub
protected int m_numVSub
m_origin
protected PdVector m_origin
m_uDir
protected PdVector m_uDir
m_vDir
protected PdVector m_vDir
m_normal
protected PdVector m_normal
m_defOrigin
protected PdVector m_defOrigin
m_defUDir
protected PdVector m_defUDir
m_defVDir
protected PdVector m_defVDir
PvGrid
public PvGrid(int dim)
init
public void init()
- Description copied from class:
PgJvxSrc
- Initializes and resets geometry.
- Overrides:
init in class PgJvxSrc
setDefDiscr
public void setDefDiscr(int uLines,
int vLines,
int uSub,
int vSub)
setDefSize
public void setDefSize(double uMin,
double vMin,
double uMax,
double vMax)
setDiscr
public void setDiscr(int uLines,
int vLines,
int uSub,
int vSub)
setSize
public void setSize(double uMin,
double vMin,
double uMax,
double vMax)
setUMin
public void setUMin(double uMin)
setUMax
public void setUMax(double uMax)
setVMin
public void setVMin(double vMin)
setVMax
public void setVMax(double vMax)
getUMin
public double getUMin()
getUMax
public double getUMax()
getVMin
public double getVMin()
getVMax
public double getVMax()
setNumULines
public void setNumULines(int aNum)
setNumULinesFromPanel
protected void setNumULinesFromPanel(int aNum)
getNumULines
public int getNumULines()
setNumVLines
public void setNumVLines(int aNum)
setNumVLinesFromPanel
protected void setNumVLinesFromPanel(int aNum)
getNumVLines
public int getNumVLines()
setOrientation
public void setOrientation(PdVector origin,
PdVector uDir,
PdVector vDir)
compute
public void compute()
The software JavaView® is copyright protected. All Rights Reserved.