|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object endrov.typeNetwork.NetworkModelExtension
public class NetworkModelExtension
Extension to Model Window: shows networks
Field Summary | |
---|---|
javax.swing.JCheckBoxMenuItem |
miRenderPoints
|
javax.swing.JMenuItem |
miSetTraceWidth
|
Constructor Summary | |
---|---|
NetworkModelExtension()
|
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 |
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 |
fillMenus()
|
EvDecimal |
getFirstFrame()
|
EvDecimal |
getLastFrame()
|
java.util.Collection<Network> |
getObjects()
|
java.awt.Color |
getTraceColor()
|
void |
initOpenGL(javax.media.opengl.GL gl)
|
static void |
initPlugin()
Plugin declaration |
void |
readPersonalConfig(org.jdom.Element e)
|
void |
savePersonalConfig(org.jdom.Element e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public javax.swing.JMenuItem miSetTraceWidth
public javax.swing.JCheckBoxMenuItem miRenderPoints
Constructor Detail |
---|
public NetworkModelExtension()
Method Detail |
---|
public void fillMenus()
fillMenus
in interface Viewer3DWindowHook
public void createHook(Viewer3DWindow w)
createHook
in interface Viewer3DWindowHook
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 boolean canRender(EvObject ob)
canRender
in interface Viewer3DWindowHook
public java.util.Collection<Network> getObjects()
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()
public void displayFinal(javax.media.opengl.GL glin, java.util.List<TransparentRenderer3D> transparentRenderers)
displayFinal
in interface Viewer3DWindowHook
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 |