|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwHodge
Study hodge splitting of discrete vector fields. An vector field is split in gradient and rotation free parts with a remaining harmonic component.
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PwHodge()
|
|
| Method Summary | |
void |
close()
|
PvDisplayIf |
getDisplay(int dispIndex)
|
boolean |
getDisplayVisibility(int dispIndex)
Handling of the displays that show the vector field components and the potentials. |
PgVectorField |
getDivergenceFree()
Call method minimize() before using methods with this comment. |
PgVectorField |
getHarmonic()
Call method minimize() before using methods with this comment. |
PgElementSet |
getPotentialU()
Call method minimize() before using methods with this comment. |
PgElementSet |
getPotentialW()
Call method minimize() before using methods with this comment. |
PgVectorField |
getRotationFree()
Call method minimize() before using methods with this comment. |
PgGraph |
getUGraph()
Call method minimize() before using methods with this comment. |
boolean |
getVisibleComponent(int index)
|
boolean |
getVisibleGraph(int index)
|
PgGraph |
getWGraph()
Call method minimize() before using methods with this comment. |
void |
init()
If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances. |
void |
minimize()
Initiates minimization of the two energies that produce the three parts of the decomposition. |
void |
setAutoUpdate(boolean flag)
|
void |
setDisplaySize(int dispIndex,
int width,
int height)
|
void |
setDisplayVisibility(int dispIndex,
boolean visible)
Handling of the displays that show the vector field components and the potentials. |
void |
setVectorField(PgElementSet domain,
int vfIndex)
|
void |
setVisibleComponent(int index,
boolean visible)
|
void |
setVisibleGraph(int index,
boolean visible)
|
void |
setZeroBounds(boolean flag)
|
void |
setZeroBoundsU(boolean flag)
Sets zero boundary condition of potential of rotation free part. |
void |
setZeroBoundsW(boolean flag)
Sets zero boundary condition of potential of divergence free part. |
void |
stop()
Stop minimization explicitly before it is completed. |
boolean |
update(java.lang.Object event)
Update all inspector panels, send update to all registered update listeners and finally update parent. |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
|
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PwHodge()
| Method Detail |
public void init()
PsObjectinit in class PsObject
public void setVectorField(PgElementSet domain,
int vfIndex)
domain - Reference to geometry that is base of vector field. Must be triangulation.vfIndex - Vector field to decomposite. Should be element based.public void setZeroBounds(boolean flag)
public void setZeroBoundsU(boolean flag)
public void setZeroBoundsW(boolean flag)
public void setAutoUpdate(boolean flag)
public PgVectorField getRotationFree()
minimize() before using methods with this comment.public PgVectorField getDivergenceFree()
minimize() before using methods with this comment.public PgVectorField getHarmonic()
minimize() before using methods with this comment.public PgElementSet getPotentialU()
minimize() before using methods with this comment.public PgElementSet getPotentialW()
minimize() before using methods with this comment.public PgGraph getUGraph()
minimize() before using methods with this comment.public PgGraph getWGraph()
minimize() before using methods with this comment.
public void setVisibleComponent(int index,
boolean visible)
public boolean getVisibleComponent(int index)
public void setVisibleGraph(int index,
boolean visible)
public boolean getVisibleGraph(int index)
public boolean update(java.lang.Object event)
PsObjectCentral update method of this object. Must be overwritten if this class receives unknown events, say, from new children. Any subclass must class invoke super.update(event) on all events it does handle itself.
update in class PsObjectjv.object.PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)
public void setDisplayVisibility(int dispIndex,
boolean visible)
public boolean getDisplayVisibility(int dispIndex)
public PvDisplayIf getDisplay(int dispIndex)
public void setDisplaySize(int dispIndex,
int width,
int height)
public void minimize()
A call of minimize() will terminate instantly, if there is already an
unterminated minimization process running at the moment!!! To ensure that
a new minimization is initiated, call stop() first
and then minimize()!
public void stop()
public void close()
public void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListener
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||