public class PwStc extends PjWorkshop
| Modifier and Type | Field and Description |
|---|---|
PgCubeSet |
m_cubeSet
The geometry to work on.
|
PiVector |
m_cubeToSurface
Map from cube index to surface index.
|
int |
m_numSurfaces
The number of surfaces in the Spatial Twist Continuum.
|
PiVector[] |
m_stc
Connectivity of Spatial Twist Continuum.
|
PiVector[] |
m_stcElement
The elements of the Spatial Twist Continuum.
|
PgPolygonSet |
m_stcReebGraph
Neighbourhood Graph in the Spatial Twist Continuum.
|
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_TAGSMODE_BUG, MODE_STANDARD, MODE_VALIDATE| Constructor and Description |
|---|
PwStc()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
computeStcConnectivity()
Compute the spatial twist continuum connectivity.
|
void |
computeStcElements()
Compute all elements in the spatial twist continuum.
|
void |
computeStcNeighbourhood()
Compute neighbourhood graph for STC surfaces.
|
void |
init()
Initialize and reset project, stops the running animation if any.
|
void |
selectSurface(int index)
Select all cubes belonging to STC surface with given index.
|
void |
setGeometry(PgGeometry geom)
Set the geometry to work on.
|
void |
showReebGraph() |
boolean |
update(java.lang.Object event)
React on update events.
|
cancel, close, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, isModal, isStandalone, ok, removeGeometry, reset, setDisplay, setDisplays, setModal, setMode, setStandalone, setVieweraddInspector, 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, updatePanelsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFather, getName, setParentpublic PgCubeSet m_cubeSet
public int m_numSurfaces
public PiVector[] m_stc
public PiVector[] m_stcElement
public PiVector m_cubeToSurface
public PgPolygonSet m_stcReebGraph
public void init()
PjWorkshopinit in class PjWorkshoppublic void setGeometry(PgGeometry geom)
setGeometry in interface PjWorkshopIfsetGeometry in class PjWorkshopgeom - the workshop modifies this geometry.public void computeStcNeighbourhood()
public void showReebGraph()
public void computeStcConnectivity()
public void computeStcElements()
public void selectSurface(int index)
public boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.PsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)"