|
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.VJRenderViewCine
This subclass of VJRenderView implements cine mode rendering. Subclasses of VJRenderer need to implement a new instantiation method, and a new prepareNext(). If the total cine renderings are smaller than 32Mb, they are shown on screen as a stack, and backed-up in the ImageJ directory under the name "VolumeJ_Cine.tif". If the total cine renderings would be larger than 32 Mb, each rendering is separately saved in the ImageJ directory under the name "VolumeJ_Cine_XXXX.tif". Copyright (c) 2001-2002, Michael Abramoff. All rights reserved.
Field Summary | |
protected int |
n
Total number of view to be rendered (in a stack) |
protected float |
stepx
The rotation steps to go to the next view. |
protected float |
stepy
The rotation steps to go to the next view. |
protected float |
stepz
The rotation steps to go to the next view. |
protected boolean |
toDisk
Whether the cine rendering will be written to disk only or also displayed. |
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 | |
VJRenderViewCine(VJRenderer renderer,
float scale,
float rotx,
float roty,
float rotz,
java.lang.String message,
int n,
boolean toDisk)
Instantiates a new rendering shell: a wrapper for a VJRenderer to allow cine (multiple rotated views) renderings. |
Method Summary | |
protected void |
nextView(int k)
Prepare for the next rendering in a cine rendering. |
void |
run()
The top level rendering thread handler. |
void |
setRotationSteps(float stepx,
float stepy,
float stepz)
Set the rotation steps around the x,y and z axes (per cine step). |
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 int n
protected float stepx
protected float stepy
protected float stepz
protected boolean toDisk
Constructor Detail |
public VJRenderViewCine(VJRenderer renderer, float scale, float rotx, float roty, float rotz, java.lang.String message, int n, boolean toDisk)
renderer
- a VJRendererscale
- the amount by which to scale the volumerotx,
- roty, rotz the amount by which to rotate the amount in that order.message
- a useful message to identify the characteristics of this rendering.Method Detail |
public void run()
run
in class VJRenderView
protected void nextView(int k)
k
- the number of the current (i.e. before the next) rendering.public void setRotationSteps(float stepx, float stepy, float stepz)
stepx
- rotation in degrees around x-axis.stepy
- rotation in degrees around y-axis.stepz
- rotation in degrees around z-axis.
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |