Package 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
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int[]
private int
private float[]
private ScalarMap[]
private DisplayImpl
private Gridded1DSet
private float[]
private int
private float
private float
private float
private DataDisplayLink
private static final org.slf4j.Logger
private int
private int
private String
private int
private static final int
private float
private float
private float
private boolean
private float
private float
private float
private DataReference
private float[][]
private ShadowType
private float[][]
private boolean
private DisplayTupleType
private MathType
private String
Fields inherited from class visad.java3d.RendererJ3D
renderOrderPriority
Fields inherited from class visad.DataRenderer
enabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
checkClose
(double[] origin, double[] direction) void
void
drag_direct
(VisADRay ray, boolean first, int mouseModifiers) private int
getAxisToComponent
(int i) private ScalarMap
getDirectMap
(int i) void
setSpatialValues
(float[][] spatial_values) void
Methods inherited from class visad.java3d.DirectManipulationRendererJ3D
addPoint, clearScene, clone, doTransform, isLegalTextureMap, setBranch, setLinks
Methods inherited from class visad.java3d.RendererJ3D
clearBranch, doAction, flush, getBranch, getOrderedGroupIndex, getRenderOrderPriority, 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, getPolygonOffset, getPolygonOffsetFactor, getProjectionControlListeners, getRanges, getRealVectorTypes, hasPolygonOffset, isTransformControl, prepareAction, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, spatialToEarth, spatialToEarth, suppressExceptions
-
Field Details
-
logger
-
spatialValues
-
closeIndex
-
offsetx
-
offsety
-
offsetz
-
offset_count
-
OFFSET_COUNT_INIT
- See Also:
-
link
-
ref
-
type
-
shadow
-
point_x
-
point_y
-
point_z
-
line_x
-
line_y
-
line_z
-
f
-
d
-
notRealType
-
whyNotDirect
-
pickCrawlToCursor
-
axisToComponent
-
directMap
-
display
-
tuple
-
stop
-
domainSet
-
last_idx
-
samples
-
mouseModifiersMask
-
mouseModifiersValue
-
-
Constructor Details
-
GrabLineRendererJ3D
public GrabLineRendererJ3D() -
GrabLineRendererJ3D
-
-
Method Details
-
getWhyNotDirect
- Overrides:
getWhyNotDirect
in classDataRenderer
-
setSpatialValues
- Overrides:
setSpatialValues
in classDataRenderer
-
checkDirect
- Overrides:
checkDirect
in classDirectManipulationRendererJ3D
- Throws:
VisADException
RemoteException
-
checkClose
- Overrides:
checkClose
in classDataRenderer
-
drag_direct
- Overrides:
drag_direct
in classDataRenderer
-
getAxisToComponent
-
getDirectMap
-
stop_direct
- Overrides:
stop_direct
in classDataRenderer
-