endrov.windowViewer3Dimset.voxel
Class VoxelExtension

java.lang.Object
  extended by endrov.windowViewer3Dimset.voxel.VoxelExtension
All Implemented Interfaces:
Viewer3DWindowHook, java.awt.event.ActionListener, java.util.EventListener

public class VoxelExtension
extends java.lang.Object
implements Viewer3DWindowHook, java.awt.event.ActionListener

3D stack renderers


Field Summary
 javax.swing.JCheckBoxMenuItem miDrawEdge
           
 javax.swing.JCheckBoxMenuItem miMixColors
           
 javax.swing.JRadioButtonMenuItem miRender2dTexture
           
 javax.swing.JRadioButtonMenuItem miRender3dTexture
           
 javax.swing.JCheckBoxMenuItem miSolidColor
           
 
Constructor Summary
VoxelExtension()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.util.Collection<BoundingBox3D> adjustScale()
           
 java.util.Collection<javax.vecmath.Vector3d> autoCenterMid()
           
 double autoCenterRadius(javax.vecmath.Vector3d mid)
           
 boolean canRender(EvObject ob)
           
 void createHook(Viewer3DWindow w)
           
 void datachangedEvent()
           
 void displayFinal(javax.media.opengl.GL gl, java.util.List<TransparentRenderer3D> transparentRenderers)
           
 void displayInit(javax.media.opengl.GL gl)
           
 void displaySelect(javax.media.opengl.GL gl)
           
 void fillMenus()
           
static EvDecimal getClosestFrame(java.util.SortedSet<EvDecimal> frames, EvDecimal frame)
          Assuming set is non-empty, get the closest match
 StackRendererInterface getCurrentStack()
           
 EvDecimal getFirstFrame()
           
 EvDecimal getFrame()
           
 EvDecimal getLastFrame()
           
 void initOpenGL(javax.media.opengl.GL gl)
           
static void initPlugin()
          Plugin declaration
 void markOutOfDate()
           
 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

miRender3dTexture

public javax.swing.JRadioButtonMenuItem miRender3dTexture

miRender2dTexture

public javax.swing.JRadioButtonMenuItem miRender2dTexture

miSolidColor

public javax.swing.JCheckBoxMenuItem miSolidColor

miDrawEdge

public javax.swing.JCheckBoxMenuItem miDrawEdge

miMixColors

public javax.swing.JCheckBoxMenuItem miMixColors
Constructor Detail

VoxelExtension

public VoxelExtension()
Method Detail

createHook

public void createHook(Viewer3DWindow w)
Specified by:
createHook in interface Viewer3DWindowHook

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getCurrentStack

public StackRendererInterface getCurrentStack()

adjustScale

public java.util.Collection<BoundingBox3D> adjustScale()
Specified by:
adjustScale in interface Viewer3DWindowHook

autoCenterMid

public java.util.Collection<javax.vecmath.Vector3d> autoCenterMid()
Specified by:
autoCenterMid in interface Viewer3DWindowHook

autoCenterRadius

public double autoCenterRadius(javax.vecmath.Vector3d mid)
Specified by:
autoCenterRadius in interface Viewer3DWindowHook

canRender

public boolean canRender(EvObject ob)
Specified by:
canRender in interface Viewer3DWindowHook

initOpenGL

public void initOpenGL(javax.media.opengl.GL gl)
Specified by:
initOpenGL in interface Viewer3DWindowHook

displayInit

public void displayInit(javax.media.opengl.GL gl)
Specified by:
displayInit in interface Viewer3DWindowHook

displaySelect

public void displaySelect(javax.media.opengl.GL gl)
Specified by:
displaySelect in interface Viewer3DWindowHook

readPersonalConfig

public void readPersonalConfig(org.jdom.Element e)
Specified by:
readPersonalConfig in interface Viewer3DWindowHook

savePersonalConfig

public void savePersonalConfig(org.jdom.Element e)
Specified by:
savePersonalConfig in interface Viewer3DWindowHook

fillMenus

public void fillMenus()
Specified by:
fillMenus in interface Viewer3DWindowHook

getFrame

public EvDecimal getFrame()

datachangedEvent

public void datachangedEvent()
Specified by:
datachangedEvent in interface Viewer3DWindowHook

displayFinal

public void displayFinal(javax.media.opengl.GL gl,
                         java.util.List<TransparentRenderer3D> transparentRenderers)
Specified by:
displayFinal in interface Viewer3DWindowHook

getFirstFrame

public EvDecimal getFirstFrame()
Specified by:
getFirstFrame in interface Viewer3DWindowHook

getLastFrame

public EvDecimal getLastFrame()
Specified by:
getLastFrame in interface Viewer3DWindowHook

markOutOfDate

public void markOutOfDate()

getClosestFrame

public static EvDecimal getClosestFrame(java.util.SortedSet<EvDecimal> frames,
                                        EvDecimal frame)
Assuming set is non-empty, get the closest match


initPlugin

public static void initPlugin()
Plugin declaration