public class CurveManipulationRendererJ3D extends DirectManipulationRendererJ3D
enabled, pickCrawlToCursor| Constructor and Description | 
|---|
| CurveManipulationRendererJ3D()Construct a DataRenderer that supports direct manipulation of
 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)Construct a DataRenderer that supports direct manipulation of
 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,
                            boolean oo)Construct a DataRenderer that supports direct manipulation of
 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). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPoint(float[] x)Add a point to the data. | 
| float | checkClose(double[] origin,
          double[] direction)Find minimum distance from ray to spatialValues. | 
| void | checkDirect()Check whether direct manipulation is possible for this Renderer. | 
| Object | clone()Clone this renderer. | 
| void | drag_direct(VisADRay ray,
           boolean first,
           int mouseModifiers)This method is called when direct manipulation is occuring. | 
| String | getWhyNotDirect()Get the error messages on why direct manipulation is not possible. | 
| static void | main(String[] args)test CurveManipulationRendererJ3D | 
| ShadowType | makeShadowSetType(SetType type,
                 DataDisplayLink link,
                 ShadowType parent)Create a ShadowType based on the SetType | 
| void | release_direct()Mouse button released, ending direct manipulation. | 
| void | setGreedy(boolean greedy) | 
| void | setSpatialValues(float[][] spatial_values)Set spatialValues from ShadowType.doTransform. | 
| void | stop_direct()Stop direct manipulation. | 
clearScene, doTransform, isLegalTextureMap, setBranch, setLinksclearBranch, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggleaddException, checkAction, clearAVControls, clearExceptions, computeRanges, constrainDragPoint, earthToSpatial, earthToSpatial, findRayManifoldIntersection, get_all_feasible, get_any_changed, get_any_transform_control, getBadScale, getDisplay, getDisplayCoordinateSystem, getDisplayRenderer, getEarthDimension, getEarthUnits, getEnabled, getExceptionVector, getIsDirectManipulation, getLastMouseModifiers, getLatLonIndices, getLatLonRange, getLink, getLinks, getPickCrawlToCursor, getPolygonOffset, getPolygonOffsetFactor, getProjectionControlListeners, getRanges, getRealVectorTypes, hasPolygonOffset, isTransformControl, prepareAction, realCheckDirect, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, spatialToEarth, spatialToEarth, suppressExceptionspublic CurveManipulationRendererJ3D()
public CurveManipulationRendererJ3D(int mmm,
                                    int mmv)
mmm - mouse modifiersmmv - mouse mask to check.public CurveManipulationRendererJ3D(int mmm,
                                    int mmv,
                                    boolean oo)
mmm - mouse modifiersmmv - mouse mask to check.oo - if true, only one curve should exist at any one time.public ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
makeShadowSetType in class RendererJ3Dtype - SetType of UnionSet.link - DataDisplayLink for DataReferenceparent - Parent ShadowTypeVisADException - problem creating a VisAD objectRemoteException - problem creating a remote objectpublic void checkDirect()
                 throws VisADException,
                        RemoteException
checkDirect in class DirectManipulationRendererJ3DVisADException - problem accessing informationRemoteException - problem accessing information for remote objectspublic String getWhyNotDirect()
getWhyNotDirect in class DataRendererpublic void addPoint(float[] x)
              throws VisADException
addPoint in class DirectManipulationRendererJ3Dx - point to add.VisADException - error occured.public void setSpatialValues(float[][] spatial_values)
setSpatialValues in class DataRendererspatial_values - spatial values.public float checkClose(double[] origin,
                        double[] direction)
checkClose in class DataRendererorigin - origin of raydirection - direction of the raypublic void setGreedy(boolean greedy)
public void release_direct()
release_direct in class DataRendererpublic void stop_direct()
stop_direct in class DataRendererpublic void drag_direct(VisADRay ray, boolean first, int mouseModifiers)
drag_direct in class DataRendererray - ray to dragging point of mousefirst - true if this is the first point.mouseModifiers - modifiers used with mouse click.public Object clone()
clone in class DirectManipulationRendererJ3Dpublic static void main(String[] args) throws VisADException, RemoteException
VisADExceptionRemoteExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.