|
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
jvx.surface.PgSurfaceOfRotation
A surface of revolution is generated by rotation a polygonal meridian curve around the z-axis. The meridian is part of this object, and may be assigned from outside. Whenever the meridian changes then the surface of revolution is recomputed. Several parameters of a surface of revolution may be edited on the configuration panel.
| 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 | |
PgSurfaceOfRotation()
|
|
PgSurfaceOfRotation(int dim)
|
|
| Method Summary | |
java.lang.Object |
clone()
Duplicate geometry by recursively cloning all instance variables except inspector panels and lists of registered listeners. |
boolean |
compute()
Calculate the surface vertices based on the generating meridian. |
void |
copy(PsObject object)
Copy a geometry into this geometry. |
PgPolygon |
getMeridian()
Get generating meridian of the surface. |
void |
init()
Initialize and reset instance variables after call to super.init(). |
boolean |
isEnabledCloseBottom()
Check if bottom of surface is closed with a disk. |
boolean |
isEnabledCloseTop()
Check if top of surface is closed with a disk. |
boolean |
isShowingMeridian()
Check visibility of meridian. |
boolean |
makeVertexTextureFromUV()
Create vertex texture of surface. |
void |
setEnabledCloseBottom(boolean flag)
Set enabled if bottom of surface is closed with a disk. |
void |
setEnabledCloseTop(boolean flag)
Set enabled if top of surface is closed with a disk. |
boolean |
setMeridian(PgPolygon meridian)
Set meridian as polygon curve which is used to generate the surface. |
void |
setShowingMeridian(boolean flag)
Enable display of meridian. |
java.lang.String |
toString()
Create a multi-line string representation with detailed information about all instance variables. |
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 PgSurfaceOfRotation()
public PgSurfaceOfRotation(int dim)
| Method Detail |
public void init()
PgElementSet
init in class PgElementSetpublic java.lang.Object clone()
clone in interface PgGeometryIfclone in class PgElementSetcopy(PsObject)public void copy(PsObject object)
copy in class PgElementSetPgElementSet.clone()public java.lang.String toString()
toString in interface PgGeometryIftoString in class PgElementSetpublic boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PgElementSetpublic boolean isShowingMeridian()
public void setShowingMeridian(boolean flag)
public boolean isEnabledCloseTop()
public void setEnabledCloseTop(boolean flag)
public boolean isEnabledCloseBottom()
public void setEnabledCloseBottom(boolean flag)
public PgPolygon getMeridian()
public boolean setMeridian(PgPolygon meridian)
public boolean compute()
public boolean makeVertexTextureFromUV()
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||