|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwLIC
Make Line Integral Convolution texture image to given vector field in a JavaView workshop.
Uses the methods provided by class PnLIC.
PnLIC, Serialized Form| Field Summary | |
protected PuDouble |
m_coarseness
Coarseness of the convoluted noise. |
protected PuInteger |
m_conv
Width of convolution window. |
protected static int |
m_dimOfDomain
Dimension of domain and vector fields. |
protected boolean |
m_fast
Specifies whether euler integration or 4th order runge kutta. |
protected PgElementSet |
m_geom
Base geometry is a rectangular grid which carries the vector field. |
protected java.lang.Thread |
m_LIC
the process that computes the LIC images |
protected PuInteger |
m_LICSize
Size of quadratic LIC texture image. |
protected PuInteger |
m_minConv
Minimum width of convolution window. |
protected PgVectorField |
m_vf
Vector field, associated with base geometry. |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, m_infoPanel, m_name, m_panelList, m_parent, m_tag, m_updateList, NUM_TAGS |
| Constructor Summary | |
PwLIC()
|
|
| Method Summary | |
void |
init()
If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances. |
boolean |
isComputingLIC()
|
void |
run()
|
void |
setFast(boolean flag)
Sets whether 4th-order runge-kutta or euler integration will be used. |
void |
setGeometry(PgElementSet geom)
Sets the triangulation. |
void |
startLIC()
Starts a new thread that computes the LIC texture. |
void |
stopLIC()
Stops the LIC thread if it is currently running. |
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final int m_dimOfDomain
protected PgElementSet m_geom
protected PgVectorField m_vf
protected java.lang.Thread m_LIC
protected PuInteger m_LICSize
protected PuInteger m_conv
protected PuInteger m_minConv
protected PuDouble m_coarseness
protected boolean m_fast
| Constructor Detail |
public PwLIC()
| Method Detail |
public void init()
PsObjectinit in class PsObjectpublic void setGeometry(PgElementSet geom)
public boolean update(java.lang.Object event)
update in class PsObjectjv.object.PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public void setFast(boolean flag)
flag - true: euler; false: 4th order r.-k.public boolean isComputingLIC()
public void startLIC()
public void stopLIC()
public void run()
run in interface java.lang.Runnable
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||