endrov.windowViewer3Dimset.voxel
Class StackRendererInterface
java.lang.Object
endrov.windowViewer3Dimset.voxel.StackRendererInterface
- Direct Known Subclasses:
- Stack2D, Stack3D
public abstract class StackRendererInterface
- extends java.lang.Object
General interface to any stack renderer
Method Summary |
abstract java.util.Collection<BoundingBox3D> |
adjustScale(Viewer3DWindow w)
|
abstract java.util.Collection<javax.vecmath.Vector3d> |
autoCenterMid()
|
abstract double |
autoCenterRadius(javax.vecmath.Vector3d mid)
|
abstract void |
clean(javax.media.opengl.GL gl)
|
abstract void |
loadGL(javax.media.opengl.GL gl)
|
abstract boolean |
newCreate(ProgressHandle progh,
Viewer3DWindow.ProgressMeter pm,
EvDecimal frame,
java.util.List<StackRendererInterface.ChannelSelection> chsel,
Viewer3DWindow w)
|
abstract void |
render(javax.media.opengl.GL gl,
java.util.List<TransparentRenderer3D> transparentRenderers,
EvGLCamera cam,
boolean solidColor,
boolean drawEdges,
boolean mixColors,
Viewer3DView view)
|
void |
renderEdge(javax.media.opengl.GL2 gl,
double w,
double h,
double d)
Render the edges of the volume, assuming it is cube-like |
void |
stopCreate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newlastFrame
public EvDecimal newlastFrame
newisReady
public boolean newisReady
outOfDate
public boolean outOfDate
stopBuildThread
protected boolean stopBuildThread
StackRendererInterface
public StackRendererInterface()
adjustScale
public abstract java.util.Collection<BoundingBox3D> adjustScale(Viewer3DWindow w)
autoCenterMid
public abstract java.util.Collection<javax.vecmath.Vector3d> autoCenterMid()
autoCenterRadius
public abstract double autoCenterRadius(javax.vecmath.Vector3d mid)
newCreate
public abstract boolean newCreate(ProgressHandle progh,
Viewer3DWindow.ProgressMeter pm,
EvDecimal frame,
java.util.List<StackRendererInterface.ChannelSelection> chsel,
Viewer3DWindow w)
loadGL
public abstract void loadGL(javax.media.opengl.GL gl)
render
public abstract void render(javax.media.opengl.GL gl,
java.util.List<TransparentRenderer3D> transparentRenderers,
EvGLCamera cam,
boolean solidColor,
boolean drawEdges,
boolean mixColors,
Viewer3DView view)
clean
public abstract void clean(javax.media.opengl.GL gl)
stopCreate
public void stopCreate()
renderEdge
public void renderEdge(javax.media.opengl.GL2 gl,
double w,
double h,
double d)
- Render the edges of the volume, assuming it is cube-like