JavaView® v2.12

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.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Fields inherited from interface jv.project.PgGeometryIf
AMBIENT_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, 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, 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)
           
 void setNumVLines(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, clearTagVertex, clone, copy, getAmbientBounds, 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, getNumVectors, getNumVertices, getPolygon, getPolygonColors, getPolygonNormals, getPolygons, getTextureImage, getTextureImageName, getType, getVectorFieldColors, getVectorFieldName, getVectors, getVertex, getVertexColors, getVertexFunctions, getVertexNormals, getVertexTextures, getVertices, hasTagVertex, isDefaultLabelEnabled, isShowingBackface, isShowingBoundaries, isShowingEdgeColors, isShowingEdgeLabels, isShowingEdges, isShowingElementBackColor, isShowingElementBackColors, isShowingElementColors, isShowingElementLabels, isShowingElementNormalArrow, isShowingElementNormals, isShowingElements, isShowingElementTexture, isShowingIndices, isShowingOutline, isShowingPolygonColors, isShowingPolygonEndArrow, isShowingPolygonLabels, isShowingPolygonNormalArrow, isShowingPolygonNormals, isShowingPolygons, isShowingPolygonStartArrow, isShowingVectorArrows, isShowingVectorColors, isShowingVectorField, isShowingVertexColors, isShowingVertexLabels, isShowingVertexNormalArrow, isShowingVertexNormals, isShowingVertexTexture, isShowingVertices, isVectorElementBased, makeElementColorsFromXYZ, makeElementNormals, makeQuadrConn, paint, reflect, setDefaultLabelEnabled, setDimOfElements, setDimOfPolygons, setDimOfVertices, setEdge, setEdgeColors, setEdges, setElement, setElementBackColors, setElementBased, 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, setNeighbours, setNumEdges, setNumElements, setNumPolygons, setNumVectorFields, setNumVectors, setNumVertices, setPolygon, setPolygonColors, setPolygonNormals, setPolygons, setState, setTagVertex, setTextureImage, setTextureImageName, setType, 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, showVectorArrows, showVectorColors, showVectorField, showVertexColors, showVertexLabels, showVertexNormalArrow, showVertexNormals, showVertexTexture, showVertices
 
Methods inherited from class jv.project.PgGeometry
addDisplay, blend, clearTagElement, clearTagPolygon, copy, fillMethodMenu, getAmbientInvMatrix, getAmbientMatrix, getAmbientProjection, getAmbientSpace, getAuthorInfo, getAuthors, getCenter, getCenterOfElement, getControlPanel, getDiameter, getDimOfSimplex, getDimOfVertices, getDisplays, getGeometryInfo, getLabelAttribute, getMaterialPanel, getModelMatrix, getTitle, getVersion, getVersionType, hasAmbientMatrix, hasDisplay, hasModelMatrix, hasTagElement, hasTagPolygon, intersectionWithLine, isConfigurable, isShowingBndBox, isShowingCenter, isShowingTitle, isVisible, merge, removeDisplay, removeElement, removePolygon, removeVertex, setAmbientMatrix, setAmbientProjection, setAmbientSpace, setAuthorInfo, setAuthors, setCenter, setDimOfSimplex, setGeometryInfo, setLabelAttribute, setLabelAttribute, setModelMatrix, setTagElement, setTagPolygon, setTitle, setVersion, setVersionType, setVisible, showBndBox, showCenter, showTitle, toString, update
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jv.project.PgGeometryIf
assureInspector, getInfoPanel, getName, setName
 
Methods inherited from interface jv.object.PsUpdateIf
getFather, setParent
 

Constructor Detail

PvGrid

public PvGrid(int dim)
Method Detail

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)

getNumULines

public int getNumULines()

setNumVLines

public void setNumVLines(int aNum)

getNumVLines

public int getNumVLines()

setOrientation

public void setOrientation(PdVector origin,
                           PdVector uDir,
                           PdVector vDir)

compute

public void compute()

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.