|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.DataRenderer
visad.java3d.RendererJ3D
visad.java3d.DefaultRendererJ3D
visad.bom.ImageRendererJ3D
public class ImageRendererJ3D
ImageRendererJ3D is the VisAD class for fast loading of images and image sequences under Java3D. WARNING - when reUseFrames is true during doTransform() ImageRendererJ3D makes these assumptions: 1. That the images in a new time sequence are identical to any images at the same time in a previous sequence. 2. That the image sequence defines the entire animation sampling.
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
ImageRendererJ3D()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
javax.media.j3d.BranchGroup |
doTransform()
create a BranchGroup scene graph for Data in links[0] |
boolean |
getReUseFrames()
|
boolean |
getSetSetOnReUseFrames()
|
static boolean |
isImageType(MathType type)
determine whether the given MathType is usable with ImageRendererJ3D |
static boolean |
isRendererUsable(MathType type,
ScalarMap[] maps)
determine whether the given MathType and collection of ScalarMaps meets the criteria to use ImageRendererJ3D. |
static void |
main(java.lang.String[] args)
run 'java visad.bom.ImageRendererJ3D len step' to test animation behavior of ImageRendererJ3D renders a loop of len at step ms per frame then updates loop by deleting first time and adding a new last time |
ShadowType |
makeShadowFunctionType(FunctionType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowFunctionType; these factories are invoked by the buildShadowType methods of the MathType subclasses, which are invoked by DataDisplayLink.prepareData, which is invoked by DataRenderer.prepareAction |
void |
setReUseFrames()
Deprecated. - use setReUseFrames(boolean reuse) |
void |
setReUseFrames(boolean reuse)
Toggle the re-using of frames when a new image or set of images is set in the datareference. |
void |
setSetSetOnReUseFrames(boolean ss)
|
static void |
verifyImageRendererUsable(MathType type,
ScalarMap[] maps)
Deprecated. Use isRendererUsable(MathType, ScalarMap[]) instead. |
Methods inherited from class visad.java3d.DefaultRendererJ3D |
---|
getLink, setLinks |
Methods inherited from class visad.java3d.RendererJ3D |
---|
clearBranch, clearScene, doAction, flush, getBranch, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageRendererJ3D()
Method Detail |
---|
public static boolean isImageType(MathType type)
public static void verifyImageRendererUsable(MathType type, ScalarMap[] maps) throws VisADException
VisADException
public static boolean isRendererUsable(MathType type, ScalarMap[] maps) throws VisADException
VisADException
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowFunctionType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public void setReUseFrames(boolean reuse)
WARNING - when reUseFrames is true during doTransform() ImageRendererJ3D makes these assumptions:
public void setReUseFrames()
public boolean getReUseFrames()
public void setSetSetOnReUseFrames(boolean ss)
public boolean getSetSetOnReUseFrames()
public javax.media.j3d.BranchGroup doTransform() throws VisADException, java.rmi.RemoteException
DefaultRendererJ3D
doTransform
in class DefaultRendererJ3D
VisADException
java.rmi.RemoteException
public java.lang.Object clone()
clone
in class DefaultRendererJ3D
public static void main(java.lang.String[] args) throws VisADException, java.rmi.RemoteException, java.io.IOException
VisADException
java.rmi.RemoteException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |