|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jv.project.PgGeometry
jv.geom.PgPointSet
jv.geom.PgElementSet
vgp.surface.common.PgSurface
Computes parametrized surfaces defined by a surface descriptor. Surface is not contrained to 3D Euclidean space but may lie in spaces like the 3-sphere, 3-hyperbolic space, or a higher dimensional Euclidean space.
| Field Summary |
| Fields inherited from class jv.object.PsObject |
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 |
| Constructor Summary | |
PgSurface(int dim)
Constructor with vertex dimension. |
|
| Method Summary | |
java.lang.Object |
clone()
Duplicate geometry by recursively cloning all instance variables except inspector panels and lists of registered listeners. |
void |
computeSurface()
Recompute surface using current descriptor. |
void |
copy(PsObject object)
Copy instance variables by duplication, not by copying a reference. |
PgSurfaceDescr |
getDescr()
Get the descriptor of this surface. |
boolean |
getDiamondDirection()
Check if diamond is oriented in u- or v-direction. |
void |
init()
Initialize and reset instance variables after call to super.init(). |
boolean |
isEnabledAlternateGrid()
Check if ordinary uv-mesh and diamond mesh is enabled where every other row is shifted. |
boolean |
isEnabledDualGrid()
Check if dual grid is enabled. |
void |
setAmbientProjection(int mode)
Set projection mode of ambient space used in model transformations. |
void |
setAmbientSpace(int mode)
Set ambient space used in model transformations. |
void |
setDescr(PgSurfaceDescr descr)
Assign a surface descriptor which completely describes this surface. |
void |
setDiamondDirection(boolean bDirection)
Determine if diamond is oriented in u- or v-direction. |
void |
setEnabledAlternateGrid(boolean bAlternate)
Switch among ordinary uv-mesh to diamond mesh where every other row is shifted. |
void |
setEnabledDualGrid(boolean bDualGrid)
Determine if dual grid is enabled. |
boolean |
setSurfaceName(java.lang.String aSurface,
java.lang.String baseSurfaceName)
Creates a surface descriptor and assign it using setDescr(PgSurfaceDescr descr). |
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed. |
| Methods inherited from class jv.object.PsObject |
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 |
| 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, hasTag, setName |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, setParent |
| Constructor Detail |
public PgSurface(int dim)
dim - number of coordinates of each vertex| Method Detail |
public void init()
PgElementSet
init in class PgElementSetpublic java.lang.Object clone()
null.
clone in interface PgGeometryIfclone in class PgElementSetcopy(PsObject)public void copy(PsObject object)
The argument was changed from PgGeometry to PsObject since there were problems in J/Link which preferred to use jv.object.PsObject#copy(PsObject) instead of jv.project.PgGeometry#copy(PsObject).
copy in class PgElementSetclone()public boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PgElementSetpublic boolean isEnabledAlternateGrid()
public void setEnabledAlternateGrid(boolean bAlternate)
public boolean getDiamondDirection()
public void setDiamondDirection(boolean bDirection)
public boolean isEnabledDualGrid()
public void setEnabledDualGrid(boolean bDualGrid)
public void setAmbientSpace(int mode)
setAmbientSpace in interface PgGeometryIfsetAmbientSpace in class PgGeometrymode - One of the values PgGeometryIf#AMBIENT_...public void setAmbientProjection(int mode)
setAmbientProjection in interface PgGeometryIfsetAmbientProjection in class PgGeometrymode - One of the values PgGeometryIf#PROJ_...
public boolean setSurfaceName(java.lang.String aSurface,
java.lang.String baseSurfaceName)
This method is a shortcut and should be avoided since this method must instantiate a class by name.
public PgSurfaceDescr getDescr()
public void setDescr(PgSurfaceDescr descr)
public void computeSurface()
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||