|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--VolumeJ.VJRenderView | +--VolumeJ.VJRenderViewInteractive
VJRenderViewInteractive implements a shell for interactively modifying the view (by rotating etc).
It adds methods to change the current rotation and scaling, and can be controlled from another class.
To start the first rendering, call start
To change the view, call rotateInPlane
Copyright (c) 2001-2003, Michael Abramoff. All rights reserved.
Field Summary | |
protected ij.ImagePlus |
imp
|
Fields inherited from class VolumeJ.VJRenderView |
description, m, message, mLight, renderer, rotx, roty, rotz, running, scale |
Fields inherited from class java.lang.Thread |
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals |
Constructor Summary | |
VJRenderViewInteractive(ij.ImagePlus imp,
VJRenderer renderer,
double scale,
java.lang.String message)
Instantiates a new interactive render viewer. |
Method Summary | |
void |
newView()
Renders a view. |
void |
rotateInPlane(float anglex,
float angley)
Rotate the transformation matrix by viewing plane rotation angles rotx, roty. |
void |
run()
Generates the first view and stays on. |
Methods inherited from class VolumeJ.VJRenderView |
center, computeTransformationMatrix, kill, memoryInUse, renderToImageProcessor, renderToPixelArray, report, toString |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ij.ImagePlus imp
Constructor Detail |
public VJRenderViewInteractive(ij.ImagePlus imp, VJRenderer renderer, double scale, java.lang.String message)
renderer
- a VJRendererscale
- the amount by which to scale the volumemessage
- a useful message to identify the characteristics of this rendering.Method Detail |
public void rotateInPlane(float anglex, float angley)
anglex
- angle in degrees in x direction.angley
- angle in degrees in y direction.public void newView()
public void run()
run
in class VJRenderView
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |