|
|||||||||
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
visad.bom.CurveManipulationRendererJ3D
public class CurveManipulationRendererJ3D
CurveManipulationRendererJ3D is the VisAD class for direct manipulation rendering of curves under Java3D, where curves are represented by UnionSets of Gridded2DSets with manifold dimension = 2
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
CurveManipulationRendererJ3D()
this DataRenderer supports direct manipulation for representations of curves by UnionSets of Gridded2DSets with manifold dimension = 2; the Set's domain RealTypes must be mapped to two of (XAxis, YAxis, ZAxis) |
|
CurveManipulationRendererJ3D(int mmm,
int mmv)
mmm and mmv determine whehter SHIFT or CTRL keys are required - this is needed since this is a greedy DirectManipulationRenderer that will grab any right mouse click (that intersects its 2-D sub-manifold) |
|
CurveManipulationRendererJ3D(int mmm,
int mmv,
boolean oo)
mmm and mmv determine whehter SHIFT or CTRL keys are required - this is needed since this is a greedy DirectManipulationRenderer that will grab any right mouse click (that intersects its 2-D sub-manifold); oo is true to indicate that only one curve should exist at any one time |
Method Summary | |
---|---|
void |
addPoint(float[] x)
|
float |
checkClose(double[] origin,
double[] direction)
find minimum distance from ray to spatialValues |
void |
checkDirect()
set isDirectManipulation = true if this DataRenderer supports direct manipulation for its linked Data |
java.lang.Object |
clone()
|
void |
drag_direct(VisADRay ray,
boolean first,
int mouseModifiers)
|
java.lang.String |
getWhyNotDirect()
|
static void |
main(java.lang.String[] args)
test CurveManipulationRendererJ3D |
ShadowType |
makeShadowSetType(SetType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowSetType |
void |
release_direct()
mouse button released, ending direct manipulation |
void |
setSpatialValues(float[][] spatial_values)
set spatialValues from ShadowType.doTransform |
void |
stop_direct()
discontinue dragging this DataRenderer; this method is not a general disable |
Methods inherited from class visad.java3d.DirectManipulationRendererJ3D |
---|
doTransform, isLegalTextureMap, setBranch, setLinks |
Methods inherited from class visad.java3d.RendererJ3D |
---|
clearBranch, clearScene, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurveManipulationRendererJ3D()
public CurveManipulationRendererJ3D(int mmm, int mmv)
public CurveManipulationRendererJ3D(int mmm, int mmv, boolean oo)
Method Detail |
---|
public ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowSetType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public void checkDirect() throws VisADException, java.rmi.RemoteException
DataRenderer
checkDirect
in class DirectManipulationRendererJ3D
VisADException
java.rmi.RemoteException
public java.lang.String getWhyNotDirect()
getWhyNotDirect
in class DataRenderer
public void addPoint(float[] x) throws VisADException
addPoint
in class DirectManipulationRendererJ3D
VisADException
public void setSpatialValues(float[][] spatial_values)
setSpatialValues
in class DataRenderer
public float checkClose(double[] origin, double[] direction)
checkClose
in class DataRenderer
public void release_direct()
release_direct
in class DataRenderer
public void stop_direct()
DataRenderer
stop_direct
in class DataRenderer
public void drag_direct(VisADRay ray, boolean first, int mouseModifiers)
drag_direct
in class DataRenderer
public java.lang.Object clone()
clone
in class DirectManipulationRendererJ3D
public static void main(java.lang.String[] args) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |