|
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
jvx.project.PjWorkshop
jvx.geom.PwTexture
Utility class for generation of surface textures.
| Field Summary | |
static java.lang.String |
m_defDijkstraTexture
Default texture for triangular elements. |
static java.lang.String |
m_defQuadTexture
Default texture for quadrilateral and higher elements. |
static java.lang.String |
m_defTriTexture
Default texture for triangular elements. |
| 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 | |
PwTexture()
Constructor. |
|
| Method Summary | |
void |
burn()
|
int |
getLicSize()
|
void |
init()
Resets all properties to default values. |
static void |
makeDijkstraTexture(PgElementSet geom)
Generate element texture showing lines through all mid points of edges with different Dijkstra values at their ends. |
static void |
makePatchTexture(PgElementSet geom)
Assign same texture image to each element of a geometry. |
void |
setGeometry(PgElementSet geom)
Assign an element set which must be a triangulation. |
void |
setLicSize(int size)
|
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed. |
| Methods inherited from class jvx.project.PjWorkshop |
cancel, close, getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, isModal, ok, removeGeometry, reset, setDisplay, setDisplays, setGeometry, setModal, setViewer |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, getName, setParent |
| Field Detail |
public static java.lang.String m_defQuadTexture
public static java.lang.String m_defTriTexture
public static java.lang.String m_defDijkstraTexture
| Constructor Detail |
public PwTexture()
| Method Detail |
public void init()
init in class PjWorkshoppublic void setGeometry(PgElementSet geom)
Geometry is triangulated if it is no triangulation.
geom - may be null to indicate that the geometry shall be removed from this workshop.public boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.
public int getLicSize()
public void setLicSize(int size)
public void burn()
public static void makePatchTexture(PgElementSet geom)
Method assigns a texture to the geometry if not available.
Texture image is either set to PwTexture#m_defTriTexture
for triangulations, or to PwTexture#m_defQuadTexture.
public static void makeDijkstraTexture(PgElementSet geom)
Method assigns a texture to the geometry if not available.
Texture image is set to PwTexture#m_defDijkstraTexture.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||