|
||||||||||
| 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.DirectManipulationRendererJ3D
DirectManipulationRendererJ3D is the VisAD class for direct manipulation rendering under Java3D.
| Field Summary | |
(package private) javax.media.j3d.BranchGroup |
branch
|
| Fields inherited from class visad.java3d.RendererJ3D |
branches, branchNonEmpty, sw, switchFlags, swParent |
| Fields inherited from class visad.DataRenderer |
enabled, pickCrawlToCursor |
| Constructor Summary | |
DirectManipulationRendererJ3D()
this DataRenderer supports direct manipulation for Real, RealTuple and Field Data objects (Field data objects must have RealType or RealTupleType ranges and Gridded1DSet domain Sets); no RealType may be mapped to multiple spatial DisplayRealTypes; the RealType of a Real object must be mapped to XAxis, YAxis or YAxis; at least one of the RealType components of a RealTuple object must be mapped to XAxis, YAxis or YAxis; the domain RealType and at least one RealType range component of a Field object must be mapped to XAxis, YAxis or ZAxis |
|
| Method Summary | |
void |
addPoint(float[] x)
add point for temporary rendering; intended to be over-ridden by graphics-API-specific extensions of DataRenderer |
(package private) void |
addSwitch(DisplayRendererJ3D displayRenderer,
javax.media.j3d.BranchGroup branch)
|
void |
checkDirect()
set isDirectManipulation = true if this DataRenderer supports direct manipulation for the MathType of its linked Data, and for its ScalarMaps; intended to be over-ridden by extensions of DataRenderer |
void |
clearScene()
clear any scene graph created by this DataRenderer, and clear all instance variables |
Object |
clone()
|
javax.media.j3d.BranchGroup |
doTransform()
create a BranchGroup scene graph for Data in links[0] |
boolean |
isLegalTextureMap()
|
void |
setBranch(javax.media.j3d.BranchGroup b)
for use by sub-classes that override doTransform() |
void |
setLinks(DataDisplayLink[] links,
DisplayImpl d)
set DataDisplayLinks for linked Data, and set associated DisplayImpl |
| Methods inherited from class visad.java3d.RendererJ3D |
clearBranch, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
javax.media.j3d.BranchGroup branch
| Constructor Detail |
public DirectManipulationRendererJ3D()
| Method Detail |
public void setLinks(DataDisplayLink[] links,
DisplayImpl d)
throws VisADException
DataRenderer
setLinks in class RendererJ3DVisADException
public void checkDirect()
throws VisADException,
RemoteException
DataRenderer
checkDirect in class DataRendererRemoteException - an RMI error occurred
VisADException - a VisAD error occurred
public void addPoint(float[] x)
throws VisADException
DataRenderer
addPoint in class DataRendererx - 3-D graphics coordinates of point to render
VisADException - a VisAD error occurred
public javax.media.j3d.BranchGroup doTransform()
throws VisADException,
RemoteException
doTransform in class RendererJ3DVisADException
RemoteExceptionpublic void setBranch(javax.media.j3d.BranchGroup b)
void addSwitch(DisplayRendererJ3D displayRenderer,
javax.media.j3d.BranchGroup branch)
addSwitch in class RendererJ3Dpublic boolean isLegalTextureMap()
isLegalTextureMap in class DataRendererpublic void clearScene()
DataRenderer
clearScene in class RendererJ3Dpublic Object clone()
clone in class DataRenderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||