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 intprivate float[]private ScalarMap[]private DisplayImplprivate Gridded1DSetprivate float[]private intprivate floatprivate floatprivate floatprivate DataDisplayLinkprivate static final org.slf4j.Loggerprivate intprivate intprivate Stringprivate intprivate static final intprivate floatprivate floatprivate floatprivate booleanprivate floatprivate floatprivate floatprivate DataReferenceprivate float[][]private ShadowTypeprivate float[][]private booleanprivate DisplayTupleTypeprivate MathTypeprivate StringFields inherited from class visad.java3d.RendererJ3D
renderOrderPriorityFields inherited from class visad.DataRenderer
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatcheckClose(double[] origin, double[] direction) voidvoiddrag_direct(VisADRay ray, boolean first, int mouseModifiers) private intgetAxisToComponent(int i) private ScalarMapgetDirectMap(int i) voidsetSpatialValues(float[][] spatial_values) voidMethods inherited from class visad.java3d.DirectManipulationRendererJ3D
addPoint, clearScene, clone, doTransform, isLegalTextureMap, setBranch, setLinksMethods inherited from class visad.java3d.RendererJ3D
clearBranch, doAction, flush, getBranch, getOrderedGroupIndex, getRenderOrderPriority, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggleMethods 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:
getWhyNotDirectin classDataRenderer
-
setSpatialValues
- Overrides:
setSpatialValuesin classDataRenderer
-
checkDirect
- Overrides:
checkDirectin classDirectManipulationRendererJ3D- Throws:
VisADExceptionRemoteException
-
checkClose
- Overrides:
checkClosein classDataRenderer
-
drag_direct
- Overrides:
drag_directin classDataRenderer
-
getAxisToComponent
-
getDirectMap
-
stop_direct
- Overrides:
stop_directin classDataRenderer
-