|
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.PwHodge
Study hodge splitting of discrete vector fields. An vector field is split in gradient and rotation free parts with a remaining harmonic component.
| Field Summary | |
protected boolean |
m_autoUpdate
Minimize at change of surface on/off. |
protected PgVectorField |
m_coGradW
Co-gradient of principal function of divergence free part of vector field. |
protected int |
m_dimOfDomain
Dimension of domain and vector fields. |
protected PnEnergyMinimizer |
m_diriU
Class for minimizing a u-energy functional on surfaces. |
protected PnEnergyMinimizer |
m_diriW
Class for minimizing a w-energy functional on surfaces. |
protected PvDisplayIf[] |
m_display
|
protected PgElementSet |
m_domain
Base geometry is a rectangular grid which carries the vector field. |
protected java.awt.Frame[] |
m_frames
|
protected PgVectorField |
m_gradU
Gradient of principal function of rotation free part of vector field. |
protected PnHodgeU |
m_hodgeUEnergy
|
protected PnHodgeW |
m_hodgeWEnergy
|
protected int |
m_numVF
|
protected PuInteger |
m_selectedVF
Scrollbar for vector field selection in case of multiple vector fields. |
protected PgElementSet[] |
m_texDomain
Base geometries for each decomposed vector field including its texture. |
protected PgElementSet |
m_u
Principal function of rotation free part of vector field. |
protected PgGraph |
m_uGraph
Surface paír of domain and u. |
protected PgVectorField |
m_v
Harmonic remainder of vector field. |
protected PgVectorField |
m_vf
Vector field, associated with base geometry. |
protected PgElementSet |
m_w
Principal function of divergence free part of vector field. |
protected PgGraph |
m_wGraph
Surface paír of domain and w. |
protected boolean |
m_zeroBoundsU
Boundary condition 'zero gradients' on/off. |
protected boolean |
m_zeroBoundsW
|
| 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 | |
PwHodge()
|
|
| Method Summary | |
void |
close()
|
protected void |
computeGradient()
|
protected void |
computeHarmonic()
|
protected void |
computeJGradient()
|
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. |
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)
Should be called after the viewer has been already created (e.g. in the start() method of a PjProject class). |
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 the class whenever a child has changed. |
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, 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 int m_dimOfDomain
protected PgElementSet m_domain
protected PgElementSet[] m_texDomain
protected PgVectorField m_vf
protected PnEnergyMinimizer m_diriU
protected PgElementSet m_u
protected PgGraph m_uGraph
protected PgVectorField m_gradU
protected PnEnergyMinimizer m_diriW
protected PgElementSet m_w
protected PgGraph m_wGraph
protected PgVectorField m_coGradW
protected PgVectorField m_v
protected PuInteger m_selectedVF
protected int m_numVF
protected boolean m_zeroBoundsU
protected boolean m_zeroBoundsW
protected PnHodgeU m_hodgeUEnergy
protected PnHodgeW m_hodgeWEnergy
protected boolean m_autoUpdate
protected PvDisplayIf[] m_display
protected java.awt.Frame[] m_frames
| 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.protected void computeGradient()
protected void computeJGradient()
protected void computeHarmonic()
public boolean update(java.lang.Object event)
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()
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.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||