|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectendrov.typeLineage.modw.LineageModelExtension
public class LineageModelExtension
Lineage extension to Model Window
Nested Class Summary | |
---|---|
static class |
LineageModelExtension.ShowExp
How to show expression patterns |
Field Summary | |
---|---|
javax.swing.JMenu |
miDefaultNonselectMeshRender
|
javax.swing.JMenuItem |
miDefaultNonselectMeshRenderOff
|
javax.swing.JMenuItem |
miDefaultNonselectMeshRenderSolid
|
javax.swing.JMenuItem |
miDefaultNonselectMeshRenderWireframe
|
javax.swing.JMenu |
miDefaultSelectMeshRender
|
javax.swing.JMenuItem |
miDefaultSelectMeshRenderOff
|
javax.swing.JMenuItem |
miDefaultSelectMeshRenderSolid
|
javax.swing.JMenuItem |
miDefaultSelectMeshRenderWireframe
|
javax.swing.JMenuItem |
miHideSelectedNuc
|
javax.swing.JMenuItem |
miSelectVisible
|
javax.swing.JMenuItem |
miSetTraceWidth
|
javax.swing.JCheckBoxMenuItem |
miShowDelaunay
|
javax.swing.JCheckBoxMenuItem |
miShowDiv
|
javax.swing.JRadioButtonMenuItem |
miShowExpColorAND
|
javax.swing.JRadioButtonMenuItem |
miShowExpColorMod
|
javax.swing.JRadioButtonMenuItem |
miShowExpMarkerColor
|
javax.swing.JRadioButtonMenuItem |
miShowExpMarkerSize
|
javax.swing.JRadioButtonMenuItem |
miShowNamesAll
|
javax.swing.JRadioButtonMenuItem |
miShowNamesNone
|
javax.swing.JRadioButtonMenuItem |
miShowNamesSelected
|
javax.swing.JMenuItem |
miShowNucSize0
|
javax.swing.JMenuItem |
miShowNucSize100
|
javax.swing.JMenuItem |
miShowNucSize25
|
javax.swing.JMenuItem |
miShowNucSize50
|
javax.swing.JMenuItem |
miShowNucSize75
|
javax.swing.JMenuItem |
miShowNucSizeCustom
|
javax.swing.JMenuItem |
miShowSelectedNuc
|
javax.swing.JCheckBoxMenuItem |
miShowSimpleTraces
|
javax.swing.JRadioButtonMenuItem |
miShowTraceAll
|
javax.swing.JRadioButtonMenuItem |
miShowTraceNone
|
javax.swing.JRadioButtonMenuItem |
miShowTraceSel
|
javax.swing.JMenu |
mShowExp
|
javax.swing.ButtonGroup |
mShowExpGroup
|
javax.swing.JMenu |
mShowNames
|
javax.swing.ButtonGroup |
mShowNamesGroup
|
javax.swing.JMenu |
mShowNucSize
|
javax.swing.JMenu |
mShowTrace
|
javax.swing.ButtonGroup |
mShowTraceGroup
|
double |
nucMagnification
|
LineageModelExtension.ShowExp |
showExpAs
|
EvColor |
traceColor
Color of the movement trace of particles |
Constructor Summary | |
---|---|
LineageModelExtension()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.util.Collection<BoundingBox3D> |
adjustScale()
Adjust the scale |
java.util.Collection<javax.vecmath.Vector3d> |
autoCenterMid()
Give suitable center of all objects |
double |
autoCenterRadius(javax.vecmath.Vector3d mid)
Given a middle position, figure out radius required to fit objects |
boolean |
canRender(EvObject ob)
|
void |
commitModifyingNuc()
Currently modified particles is finalized. |
void |
createHook(Viewer3DWindow w)
|
void |
datachangedEvent()
|
void |
displayFinal(javax.media.opengl.GL glin,
java.util.List<TransparentRenderer3D> transparentRenderers)
Render graphics |
void |
displayInit(javax.media.opengl.GL gl)
Prepare for rendering |
void |
displaySelect(javax.media.opengl.GL gl)
Render for selection |
void |
drawSelectSphere(javax.media.opengl.GL2 gl,
double r)
|
void |
fillMenus()
|
EvDecimal |
getFirstFrame()
|
EvDecimal |
getLastFrame()
|
java.awt.Color |
getTraceColor(Lineage.Particle nuc)
|
java.util.Collection<Lineage> |
getVisibleLineages()
|
void |
initOpenGL(javax.media.opengl.GL gl)
|
static void |
initPlugin()
Plugin declaration |
boolean |
mouseClicked(java.awt.event.MouseEvent e,
javax.swing.JPopupMenu menu)
Handle mouse click. |
boolean |
mouseDragged(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
readPersonalConfig(org.jdom.Element e)
|
void |
savePersonalConfig(org.jdom.Element e)
|
void |
setDefaultNonselectMeshRenderMode(Lineage.MeshRenderMode rm)
|
void |
setDefaultSelectMeshRenderMode(Lineage.MeshRenderMode rm)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double nucMagnification
public javax.swing.JMenu mShowNames
public javax.swing.JRadioButtonMenuItem miShowNamesNone
public javax.swing.JRadioButtonMenuItem miShowNamesSelected
public javax.swing.JRadioButtonMenuItem miShowNamesAll
public javax.swing.ButtonGroup mShowNamesGroup
public javax.swing.JMenu mShowExp
public javax.swing.JRadioButtonMenuItem miShowExpColorMod
public javax.swing.JRadioButtonMenuItem miShowExpColorAND
public javax.swing.JRadioButtonMenuItem miShowExpMarkerColor
public javax.swing.JRadioButtonMenuItem miShowExpMarkerSize
public javax.swing.ButtonGroup mShowExpGroup
public javax.swing.JMenuItem miShowSelectedNuc
public javax.swing.JMenuItem miHideSelectedNuc
public javax.swing.JMenu mShowTrace
public javax.swing.JRadioButtonMenuItem miShowTraceNone
public javax.swing.JRadioButtonMenuItem miShowTraceSel
public javax.swing.JRadioButtonMenuItem miShowTraceAll
public javax.swing.ButtonGroup mShowTraceGroup
public javax.swing.JCheckBoxMenuItem miShowSimpleTraces
public javax.swing.JMenuItem miSetTraceWidth
public javax.swing.JMenu mShowNucSize
public javax.swing.JMenuItem miShowNucSize0
public javax.swing.JMenuItem miShowNucSize25
public javax.swing.JMenuItem miShowNucSize50
public javax.swing.JMenuItem miShowNucSize75
public javax.swing.JMenuItem miShowNucSize100
public javax.swing.JMenuItem miShowNucSizeCustom
public javax.swing.JMenuItem miSelectVisible
public javax.swing.JMenu miDefaultSelectMeshRender
public javax.swing.JMenu miDefaultNonselectMeshRender
public javax.swing.JMenuItem miDefaultSelectMeshRenderOff
public javax.swing.JMenuItem miDefaultSelectMeshRenderSolid
public javax.swing.JMenuItem miDefaultSelectMeshRenderWireframe
public javax.swing.JMenuItem miDefaultNonselectMeshRenderOff
public javax.swing.JMenuItem miDefaultNonselectMeshRenderSolid
public javax.swing.JMenuItem miDefaultNonselectMeshRenderWireframe
public LineageModelExtension.ShowExp showExpAs
public EvColor traceColor
public javax.swing.JCheckBoxMenuItem miShowDiv
public javax.swing.JCheckBoxMenuItem miShowDelaunay
Constructor Detail |
---|
public LineageModelExtension()
Method Detail |
---|
public void fillMenus()
fillMenus
in interface Viewer3DWindowHook
public void commitModifyingNuc()
public void createHook(Viewer3DWindow w)
createHook
in interface Viewer3DWindowHook
public boolean mouseClicked(java.awt.event.MouseEvent e, javax.swing.JPopupMenu menu)
Viewer3DMouseListener
mouseClicked
in interface Viewer3DMouseListener
public boolean mouseDragged(java.awt.event.MouseEvent e, int dx, int dy)
mouseDragged
in interface Viewer3DMouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface Viewer3DMouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface Viewer3DMouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface Viewer3DMouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface Viewer3DMouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface Viewer3DMouseListener
public void readPersonalConfig(org.jdom.Element e)
readPersonalConfig
in interface Viewer3DWindowHook
public void savePersonalConfig(org.jdom.Element e)
savePersonalConfig
in interface Viewer3DWindowHook
public void datachangedEvent()
datachangedEvent
in interface Viewer3DWindowHook
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void setDefaultSelectMeshRenderMode(Lineage.MeshRenderMode rm)
public void setDefaultNonselectMeshRenderMode(Lineage.MeshRenderMode rm)
public boolean canRender(EvObject ob)
canRender
in interface Viewer3DWindowHook
public java.util.Collection<Lineage> getVisibleLineages()
public void initOpenGL(javax.media.opengl.GL gl)
initOpenGL
in interface Viewer3DWindowHook
public void displayInit(javax.media.opengl.GL gl)
displayInit
in interface Viewer3DWindowHook
public void displaySelect(javax.media.opengl.GL gl)
displaySelect
in interface Viewer3DWindowHook
public java.awt.Color getTraceColor(Lineage.Particle nuc)
public void displayFinal(javax.media.opengl.GL glin, java.util.List<TransparentRenderer3D> transparentRenderers)
displayFinal
in interface Viewer3DWindowHook
public void drawSelectSphere(javax.media.opengl.GL2 gl, double r)
public java.util.Collection<BoundingBox3D> adjustScale()
adjustScale
in interface Viewer3DWindowHook
public java.util.Collection<javax.vecmath.Vector3d> autoCenterMid()
autoCenterMid
in interface Viewer3DWindowHook
public double autoCenterRadius(javax.vecmath.Vector3d mid)
autoCenterRadius
in interface Viewer3DWindowHook
public EvDecimal getFirstFrame()
getFirstFrame
in interface Viewer3DWindowHook
public EvDecimal getLastFrame()
getLastFrame
in interface Viewer3DWindowHook
public static void initPlugin()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |