of3d
Class FlowJScintillansRender

java.lang.Object
  extended by java.lang.Thread
      extended by VolumeJ.VJRenderer
          extended by VolumeJ.VJViewspaceRender
              extended by of3d.FlowJScintillansRender
All Implemented Interfaces:
java.lang.Runnable

public class FlowJScintillansRender
extends VJViewspaceRender

FlowJScintillansRender. Implements viewspace rendering for flow volumes in combination with regular static volumes. Flow volumes are displayed as scintillations, i.e small colored streaks with a direction and halo, coding for magnitude direction of the flow vector. Since scintillations are 'splatted' onto the viewport because they extend beyond the voxel they are located at, rendering has to proceed in viewspace order, i.e, first i, then j and then k (regular renders follow the ray all the way top termination) while here an array of rays is advanced one step at a time (thus allowing splatting). This class leans heavily on VJViewspaceRender Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FlowJScintillansRender(VJInterpolator interpolator, VJShader shader, VJClassifier classifier)
           
 
Method Summary
 
Methods inherited from class VolumeJ.VJViewspaceRender
desc, run
 
Methods inherited from class VolumeJ.VJRenderer
defaultViewport, getClassifier, getInterpolator, getPixels, getShader, getTimePerPixel, getTransformation, getViewport, getViewportHeight, getViewportWidth, getVolume, kill, setClassifier, setCutout, setDescription, setInterpolator, setMessage, setOutputColor, setOutputGrayscale, setSequenceNumber, setShader, setTransformation, setTransformation, setViewport, setVolume, trace
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowJScintillansRender

public FlowJScintillansRender(VJInterpolator interpolator,
                              VJShader shader,
                              VJClassifier classifier)
                       throws java.lang.Exception
Throws:
java.lang.Exception