|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.DataRenderer visad.java2d.RendererJ2D visad.java2d.DirectManipulationRendererJ2D
public class DirectManipulationRendererJ2D
DirectManipulationRendererJ2D is the VisAD class for direct manipulation rendering under Java2D.
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 or YAxis
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
DirectManipulationRendererJ2D()
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 YAxis |
Method Summary | |
---|---|
void |
addPoint(float[] x)
add point for temporary rendering; intended to be over-ridden by graphics-API-specific extensions of DataRenderer |
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 |
Object |
clone()
|
VisADGroup |
doTransform()
create a VisADGroup scene graph for Data in links[0] |
VisADGroup |
getExtraBranch()
|
boolean |
isLegalTextureMap()
|
void |
setLinks(DataDisplayLink[] links,
DisplayImpl d)
set DataDisplayLinks for linked Data, and set associated DisplayImpl |
Methods inherited from class visad.java2d.RendererJ2D |
---|
clearBranch, clearScene, doAction, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectManipulationRendererJ2D()
Method Detail |
---|
public void setLinks(DataDisplayLink[] links, DisplayImpl d) throws VisADException
DataRenderer
setLinks
in class RendererJ2D
links
- array of DataDisplayLinks to setd
- associated DisplayImpl to set
VisADException
- a VisAD error occurredpublic void checkDirect() throws VisADException, RemoteException
DataRenderer
checkDirect
in class DataRenderer
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void addPoint(float[] x) throws VisADException
DataRenderer
addPoint
in class DataRenderer
x
- 3-D graphics coordinates of point to render
VisADException
- a VisAD error occurredpublic VisADGroup getExtraBranch()
public VisADGroup doTransform() throws VisADException, RemoteException
doTransform
in class RendererJ2D
VisADException
RemoteException
public boolean isLegalTextureMap()
isLegalTextureMap
in class DataRenderer
public Object clone()
clone
in class DataRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |