edu.wisc.ssec.mcidasv.data.hydra
Class GrabLineRendererJ3D
java.lang.Object
visad.DataRenderer
visad.java3d.RendererJ3D
visad.java3d.DirectManipulationRendererJ3D
edu.wisc.ssec.mcidasv.data.hydra.GrabLineRendererJ3D
- All Implemented Interfaces:
- Cloneable
public class GrabLineRendererJ3D
- extends DirectManipulationRendererJ3D
Grab and drag lines parallel to a coordinate axis. For simple
2D graphs, not yet generalized for 3D displays. For a
vertical line, map Real to Display.XAxis, and assign
ConstantMap for Display.YAxis. Vice-a-versa for a horizontal
line.
Methods inherited from class visad.java3d.RendererJ3D |
clearBranch, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle |
Methods inherited from class visad.DataRenderer |
addException, 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, getRanges, getRealVectorTypes, isTransformControl, prepareAction, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, spatialToEarth, spatialToEarth, suppressExceptions |
spatialValues
private float[][] spatialValues
closeIndex
private int closeIndex
offsetx
private float offsetx
offsety
private float offsety
offsetz
private float offsetz
offset_count
private int offset_count
OFFSET_COUNT_INIT
private static final int OFFSET_COUNT_INIT
- See Also:
- Constant Field Values
link
private transient DataDisplayLink link
ref
private transient DataReference ref
type
private transient MathType type
shadow
private transient ShadowType shadow
point_x
private float point_x
point_y
private float point_y
point_z
private float point_z
line_x
private float line_x
line_y
private float line_y
line_z
private float line_z
f
private float[] f
d
private float[] d
notRealType
private String notRealType
whyNotDirect
private String whyNotDirect
pickCrawlToCursor
private boolean pickCrawlToCursor
axisToComponent
private int[] axisToComponent
directMap
private ScalarMap[] directMap
display
private DisplayImpl display
tuple
private DisplayTupleType tuple
stop
private boolean stop
domainSet
private Gridded1DSet domainSet
last_idx
private int last_idx
samples
private float[][] samples
mouseModifiersMask
private int mouseModifiersMask
mouseModifiersValue
private int mouseModifiersValue
GrabLineRendererJ3D
public GrabLineRendererJ3D()
GrabLineRendererJ3D
public GrabLineRendererJ3D(Gridded1DSet domainSet)
getWhyNotDirect
public String getWhyNotDirect()
- Overrides:
getWhyNotDirect
in class DataRenderer
setSpatialValues
public void setSpatialValues(float[][] spatial_values)
- Overrides:
setSpatialValues
in class DataRenderer
checkDirect
public void checkDirect()
throws VisADException,
RemoteException
- Overrides:
checkDirect
in class DirectManipulationRendererJ3D
- Throws:
VisADException
RemoteException
checkClose
public float checkClose(double[] origin,
double[] direction)
- Overrides:
checkClose
in class DataRenderer
drag_direct
public void drag_direct(VisADRay ray,
boolean first,
int mouseModifiers)
- Overrides:
drag_direct
in class DataRenderer
getAxisToComponent
private int getAxisToComponent(int i)
getDirectMap
private ScalarMap getDirectMap(int i)
stop_direct
public void stop_direct()
- Overrides:
stop_direct
in class DataRenderer