public abstract class PgWeierstrassDescr extends PgGeometry
Modifier and Type | Field and Description |
---|---|
int |
m_numUserReflections
Number of reflections added interactively by the user.
|
static int |
REFLECT_LINE
Reflect real part of a patch at the straight line through a boundary polygon,
reflect the imaginary part at the plane passing through the corresponding boundary polygon.
|
static int |
REFLECT_PLANE
Reflect real part of a patch at the plane passing through a boundary polygon,
reflect the imaginary part at the straight line through the corresponding boundary polygon.
|
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_TAGS
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, 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 |
---|
PgWeierstrassDescr(int numIntegratedPatches)
Constructor
|
PgWeierstrassDescr(int numIntegratedPatches,
int numDiscrSliders)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(PsObject parm)
Add a parameter of the surface to parameter list.
|
void |
connectPart(int partNr1,
int bndNr1,
int partNr2,
int bndNr2)
Appoint boundaries of parts to be glued together.
|
boolean |
connectReflection(int partNr)
Appoint, if a reflection shall be glued to it's original.
|
boolean |
connectReflection(PiVector partPath,
int partNr)
Appoint, if a reflection shall be glued to it's original.
|
boolean |
equals(PiVector partPath,
int i)
Compare a PiVector with one int; return true, if the PiVector has size 1 and the only entry is equal to the int argument.
|
boolean |
equals(PiVector partPath,
int[] path)
Compare a PiVector with an int array; return true, if PiVector and array have the same size and the entries are equal for each index.
|
boolean |
equals(PiVector partPath,
int i,
int j)
Compare a PiVector with two ints; return true, if the PiVector has size 2 and the entries are equal to the two int arguments, respectively.
|
abstract PuComplex |
f(PuComplex z)
Compute the Weierstrass function f.
|
PuComplex[] |
fun(PuComplex z)
Compute Weierstrass integrand from the Weierstrass functions f and g.
|
abstract PuComplex |
g(PuComplex z)
Compute the Weierstrass function g.
|
void |
getBndReflectType(PiVector partPath,
int partNr,
PiVector bndReflectType)
set reflectType == REFLECT_PLANE to reflect Re on plane and rotate Im on line
or reflectType == REFLECT_LINE to rotate Re on line and reflect Im on plane.
|
void |
getConnections()
Connect parts of the surface.
|
void |
getConnections(PiVector partPath)
Connect parts of a part of the surface.
|
PiVector[][] |
getConnections(PiVector partPath,
PiVector[][] cc,
int numParts)
Return Vector of part connections.
|
int |
getDimOfElements()
Return dimension of elements.
|
PuComplex[] |
getFStart(int partNr)
Return complex as starting value for integration.
|
PuComplex[] |
getFStart(PiVector partPath,
int partNr)
Return complex as starting value for integration.
|
int |
getMarkedBndNr()
Retrun number of marked boundary polygon.
|
int |
getNumIntegratedPatches()
Get number of patches, that are integrated from Weierstrass data.
|
int |
getNumParts()
Return number of parts of the surface.
|
int |
getNumParts(PiVector partPath)
Return number of parts of the surface.
|
int |
getNumULines(int partNr)
Get number of lines in domain's u direction.
|
int |
getNumVLines(int partNr)
Get number of lines in domain's v direction.
|
void |
getReflections()
Return vector of part reflections.
|
void |
getReflections(PiVector partPath)
Return vector of part reflections in a part.
|
PiVector[] |
getReflections(PiVector partPath,
int numParts)
Return vector with numbers of parts to be reflected.
|
int |
getStartU(PiVector partPath,
int partNr)
Return index of u-line to start integration with.
|
int |
getStartV(PiVector partPath,
int partNr)
Return index of v-line to start integration with.
|
double |
getUMax(int patchIndex)
Get maximum u value for a patch domain.
|
double |
getUMin(int patchIndex)
Get minimum u value for a patch domain.
|
double |
getVMax(int patchIndex)
Get maximum v value for a patch domain.
|
double |
getVMin(int patchIndex)
Get minimum v value for a patch domain.
|
void |
init()
Initialisation
|
boolean |
isEnabledMarkBnd()
Check if the user is allowed to mark a PgBndPolygon for reflecting the surface.
|
void |
newReflection()
Save a reflection, that was invoked by the user.
|
boolean |
partIsSubdivided(PiVector partPath,
int partNr)
Return, if a part of the surface must be composed from several parts itself.
|
void |
reflectPart(int partNr1,
int partNr0,
int bndNr0)
Appoint a part of the surface to be reflection of an other part.
|
void |
returnUserReflections()
Return vector of reflections invoked by the user.
|
void |
setConnections(PiVector[][] a)
Appoint connections of parts of the surface.
|
void |
setDomain(int patchIndex,
double uMin,
double uMax,
double vMin,
double vMax)
Set rectangular domain size for a patch domain.
|
void |
setEnabledMarkBnd(boolean bMarkBnd)
Set if the user is allowed to mark a PgBndPolygon for reflecting the surface.
|
void |
setMarkedBndNr(int nr)
Appoint number of marked boundary polygon.
|
void |
setNumIntegratedPatches(int numIntegratedPatches)
Set number of patches, that will be integrated from Weierstrass data.
|
void |
setPartBndNr(int nr)
Appoint index of boundary polygon to reflect part at.
|
void |
setReflection(PiVector[] a)
Appoint reflections of parts.
|
void |
setReflectPartNr(int nr)
Appoint index of part to be reflected by the user.
|
void |
setUMax(int patchIndex,
double value)
Set maximum u value for a patch domain.
|
void |
setUMin(int patchIndex,
double value)
Set minimum u value for a patch domain.
|
void |
setVertDim(int aVertDim)
Set dimension of vertices.
|
void |
setVMax(int patchIndex,
double value)
Set maximum v value for a patch domain.
|
void |
setVMin(int patchIndex,
double value)
Set minimum v value for a patch domain.
|
PuComplex |
transform(int patchIndex,
PuComplex z)
Transformation of rectangular domain before computing Weierstrass functions f and g.
|
PuComplex |
transform(PuComplex z)
Transformation of rectangular domain before computing Weierstrass functions f and g.
|
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed.
|
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, paint, 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, toString
addInspector, 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, updatePanels
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
assureInspector, getInfoPanel, getName, hasTag, setName
getFather, setParent
public static final int REFLECT_PLANE
public static final int REFLECT_LINE
public int m_numUserReflections
public PgWeierstrassDescr(int numIntegratedPatches)
public PgWeierstrassDescr(int numIntegratedPatches, int numDiscrSliders)
public void init()
init
in class PgGeometry
public boolean update(java.lang.Object event)
update
in interface PsUpdateIf
update
in class PgGeometry
event
- carries a lot of informationPsObject.setParent(PsUpdateIf)
,
PsObject.getFather()
,
PsObject.addUpdateListener(PsUpdateIf)
public void setNumIntegratedPatches(int numIntegratedPatches)
public int getNumIntegratedPatches()
public void setDomain(int patchIndex, double uMin, double uMax, double vMin, double vMax)
public int getNumULines(int partNr)
public int getNumVLines(int partNr)
public void setUMin(int patchIndex, double value)
public double getUMin(int patchIndex)
public void setUMax(int patchIndex, double value)
public double getUMax(int patchIndex)
public void setVMin(int patchIndex, double value)
public double getVMin(int patchIndex)
public void setVMax(int patchIndex, double value)
public double getVMax(int patchIndex)
public void addParameter(PsObject parm)
public void setVertDim(int aVertDim)
public PuComplex[] fun(PuComplex z)
public PuComplex transform(PuComplex z)
public PuComplex transform(int patchIndex, PuComplex z)
public int getNumParts()
public int getNumParts(PiVector partPath)
public int getDimOfElements()
public boolean partIsSubdivided(PiVector partPath, int partNr)
public void getConnections()
public void setConnections(PiVector[][] a)
public void getConnections(PiVector partPath)
public PiVector[][] getConnections(PiVector partPath, PiVector[][] cc, int numParts)
public void connectPart(int partNr1, int bndNr1, int partNr2, int bndNr2)
public PiVector[] getReflections(PiVector partPath, int numParts)
public void returnUserReflections()
public void newReflection()
public void setReflection(PiVector[] a)
public void getReflections(PiVector partPath)
public void getReflections()
public boolean connectReflection(int partNr)
public boolean connectReflection(PiVector partPath, int partNr)
public void reflectPart(int partNr1, int partNr0, int bndNr0)
public void getBndReflectType(PiVector partPath, int partNr, PiVector bndReflectType)
public int getStartU(PiVector partPath, int partNr)
public int getStartV(PiVector partPath, int partNr)
public PuComplex[] getFStart(int partNr)
public PuComplex[] getFStart(PiVector partPath, int partNr)
public int getMarkedBndNr()
public void setMarkedBndNr(int nr)
public void setReflectPartNr(int nr)
public void setPartBndNr(int nr)
public boolean isEnabledMarkBnd()
public void setEnabledMarkBnd(boolean bMarkBnd)
public boolean equals(PiVector partPath, int i)
public boolean equals(PiVector partPath, int i, int j)
public boolean equals(PiVector partPath, int[] path)
"