Package ucar.unidata.idv.control
Class PointCloudControl
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.DrawingControl
ucar.unidata.idv.control.PointCloudControl
- All Implemented Interfaces:
ActionListener
,ItemListener
,PropertyChangeListener
,EventListener
,HyperlinkListener
,Sharable
,DataChangeListener
,DisplayControl
,Prototypable
,ControlListener
,DisplayListener
A display control for volume rendering of a 3D grid
- Author:
- IDV Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DrawingControl
DrawingControl.GlyphTable, DrawingControl.GlyphTableModel
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl.SideLegendLabel
-
Field Summary
FieldsFields inherited from class ucar.unidata.idv.control.DrawingControl
ATTR_EDITABLE, ATTR_FRONTDISPLAY, ATTR_TITLE, ATTR_USETIMESINANIMATION, CMD_MOVE, CMD_SELECT, CMD_STRETCH, currentCmd, datachoice, dataChoiceProperties, enabledCbx, FILTER_XGRF, FLAG_FILLED, FLAG_FULLLATLON, FLAG_STRAIGHT, glyphs, isProbsevere, legendNoteTextArea, legendNoteWrapper, selectedGlyphs, SHARE_LINES, straightCbx, SUFFIX_XGRF, TAG_EDITOR
Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE
Fields inherited from class ucar.unidata.idv.control.DisplayControlBase
APPEARANCE_DARK, APPEARANCE_IDV, APPEARANCE_LIGHT, CMD_BARBSIZE, CMD_COLORS, CMD_COLORTABLE, CMD_INTERVAL, CMD_LEVEL, CMD_LINEWIDTH, CMD_POPUP, CMD_REMOVE, DEFAULT_POINT_SIZE, DEFAULT_SAMPLING_MODE, FIND_ALL, FIND_CATEGORY, FIND_CLASS, FIND_SPECIAL, FIND_THIS, FIND_WITHDATA, FIND_WITHTHISDATA, FIND_WITHTHISFIELD, FIND_WITHTHISVIEW, FLAG_COLOR, FLAG_COLORTABLE, FLAG_COLORUNIT, FLAG_CONTOUR, FLAG_DATACONTROL, FLAG_DISPLAYUNIT, FLAG_GRIDTRAJECTORY, FLAG_LINEWIDTH, FLAG_NONE, FLAG_SELECTRANGE, FLAG_SKIPFACTOR, FLAG_SMOOTHING, FLAG_TEXTUREQUALITY, FLAG_TIMERANGE, FLAG_ZPOSITION, GRID_INSETS, ICON_LOCK, ICON_REMOVE, ICON_UNLOCK, LABEL_NONE, log_, MACRO_DATASOURCENAME, MACRO_DISPLAYNAME, MACRO_DISPLAYUNIT, MACRO_FHOUR, MACRO_FHOUR2, MACRO_LONGNAME, MACRO_POSITION, MACRO_RESOLUTION, MACRO_SHORTNAME, MACRO_STATION, MACRO_TIMESTAMP, MACRO_VALUE, NEAREST_NEIGHBOR, PREF_DISPLAYLIST_TEMPLATE, PREF_EXTRALABEL_TEMPLATE, PREF_LEGENDLABEL_TEMPLATE, PROP_REMOVED, SETTINGS_GROUP_DISPLAY, SETTINGS_GROUP_FLAGS, SHARE_CHOICES, SHARE_COLOR, SHARE_COLORSCALE, SHARE_COLORTABLE, SHARE_DISPLAYUNIT, SHARE_POSITION, SHARE_SELECTRANGE, SHARE_SKIPVALUE, SHARE_TRANSECT, SHARE_VISIBILITY, WEIGHTED_AVERAGE
Fields inherited from interface ucar.unidata.idv.DisplayControl
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFileMenuItems
(List items, boolean forMenuBar) noop so the drawing control doesn't add its itemsvoid
Apply the vis filtersprotected boolean
Can we handle events?protected FieldImpl
clippingData
(FieldImpl obs, List<Shape> shapes, int[] scales, int lonIndex, int latIndex) _more_protected Container
Make the UI contentsprotected JComponent
_more_void
Export to KMLvoid
write out the pointsprotected FieldImpl
filterData
(FieldImpl obs) Apply the filters to the given dataGet the color range from the dataint
Get the color range indexvoid
getControlWidgets
(List controlWidgets) Add in any special control widgets to the current list of widgets.Get the data projectionGet the distance unitboolean
Get the DoClip property.boolean
Get the DoFilter property.protected List
_more_Get the filters property.boolean
Get the FollowTimeStep property.protected Range
Hook method to allow derived classes to return a different initialRange
protected double
Get the initial z positionboolean
Is this a raster displayprotected void
getSaveMenuItems
(List items, boolean forMenuBar) Add export points menu tiemprotected List
Define the shapes to use for the drawingboolean
Get the ShowInside property.protected void
getViewMenuItems
(List items, boolean forMenuBar) add view menu itemsboolean
init
(DataChoice dataChoice) Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far).protected void
Initialize the display unitvoid
Init the vis filtersprotected void
processData
(Data data) Process the visad data object.void
Reload the point datavoid
setColorRangeIndex
(int index) Set the color range indexprotected boolean
setData
(DataChoice choice) Set the data in this control.void
setDoClip
(boolean value) Set the DoClip property.void
setDoFilter
(boolean value) Set the DoFilter property.void
setFilters
(List value) Set the filters property.void
setFollowTimeStep
(boolean value) Set the FollowTimeStep property.void
setPointSize
(float value) set the point sizevoid
setShowInside
(boolean value) Set the ShowInside property.protected boolean
get animation time changesprotected boolean
Show the location widgetsprotected boolean
Show the time widgetprotected void
timeChanged
(Real time) handle when the animation changes.Methods inherited from class ucar.unidata.idv.control.DrawingControl
addControlWidgets, addGlyph, addLabelMacros, applyColorToAll, applyZPosition, checkZSliderEnabled, close, closestGlyph, closestGlyph, createGlyph, doCut, doFlythrough, doMakeControlsPanel, doMakeLineWidthBox, doMakeShapesPanel, doMakeStylePanel, doMakeTablePanel, doneMovingGlyph, doProperties, doRemove, evaluateGlyphJython, formatDistance, getAllTimes, getAnimationSet, getControlChangeSleepTime, getCoordType, getCurrentTime, getDefaultDisplayListTemplate, getDisplayUnit, getEditable, getEditMenuItems, getEditorTitle, getEnabled, getExtraLegendComponent, getFileMenuItems, getFilled, getFont, getFrontDisplay, getFrontScale, getFullLatLon, getGlyphJython, getGlyphNameDefault, getGlyphs, getIgnoreTime, getInitialColorTable, getJustification, getLegendLabels, getLineWidth, getRGBColorTable, getShowFronts, getShowNoteInLegend, getStraight, getTimeForGlyph, getUseTime, getVerticalJustification, glyphChanged, handleDisplayChanged, handleWindowClosing, initAfterUnPersistence, isSelected, makeButtonPanel, makeModePanel, processProperties, projectionChanged, receiveShareData, removeAllGlyphs, removeGlyph, resetData, selectionChanged, setActive, setCoordType, setCurrentCommand, setDisplayVisibility, setEditable, setEditorTitle, setEnabled, setFilled, setFrontDisplay, setFrontScale, setFullLatLon, setGlyphJython, setGlyphs, setIgnoreTime, setLines, setLineWidth, setNoteText, setSelection, setSelection, setShowFronts, setShowNoteInLegend, setStraight, setUseTime, shouldAddControlListener, shouldAddDisplayListener, shouldBeVisible, showFilledCbx, toggleVisibilityForVectorGraphicsRendering, updateLegendLabel, viewpointChanged, zSliderChanged
Methods inherited from class ucar.unidata.idv.control.DisplayControlImpl
actionPerformed, activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addDisplaySettings, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyForecastHourMacro, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applySkipFactor, applySmoothing, applyTextureQuality, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDoProgressiveResolution, canExportData, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkFlag, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, displayUnitChanged, doApplyProperties, doExport, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeDataInstance, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeSmoothingWidget, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, exportDisplayedData, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnit, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getContourInfo, getControlContext, getControlMenus, getCursorReadout, getCursorReadoutInner, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjectionForMenu, getDataProjectionLabel, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraMenus, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialFastRendering, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabelTemplate, getLegendToolTip, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMacroNames, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMenuLabel, getMyDataChoices, getNavigatedDisplay, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getPointSize, getProperty, getProperty, getPropertyDisplayName, getRange, getRangeForColorTable, getRangeToApply, getRawDataUnit, getRequestProperties, getSamplingModeName, getSamplingModeValue, getSamplingModeValue, getSelectRange, getSelectRangeEnabled, getSelectRangeWidget, getSettingsPanel, getShortParamName, getShoulDoProgressiveResolution, getShowInDisplayList, getShowInLegend, getShowInTabs, getShowNoteText, getSkipValue, getSkipWidgetLabel, getSmoothingFactor, getSmoothingType, getSomeAnimation, getStore, getTemplateName, getTextureQuality, getTextureQualityLabel, getTimeSet, getTitle, getTransientProperty, getUnitForColor, getUseFastRendering, getUsesTimeDriver, getUseTimesInAnimation, getVersion, getVerticalValue, getViewAnimation, getViewContext, getViewer, getViewManager, getViewManager, getViewManager, getViewManagerClassNames, getViewManagerForCapture, getViewManagers, getViewMenuItems, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPosition, getZPositionSliderLabel, guiExported, guiImported, hasForecastHourMacro, hasMapProjection, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initDone, initializeWithNewData, initWindow, isDisplay3D, isDisplayUnitAlsoColorUnit, isGuiShown, isInitDone, isInTransectView, isInViewManager, itemStateChanged, loadDataFromViewBounds, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, propertyChange, putTransientProperty, reallySetAttributeFlags, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, relocateDisplay, relocateDisplay, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetDimness, resetViewManager, revertToDefaultColorTable, revertToDefaultColorTable, revertToDefaultRange, revertToDefaultRange, saveAsFavorite, saveAsParameterDefaults, saveAsPrototype, saveAsTemplate, saveDataChoiceInCache, saveImage, saveProjection, selectDataChoices, setAnimationInfo, setAnimationSet, setAttributeFlags, setCachedData, setCanDoRemoveAll, setCategories, setCollapseLegend, setColor, setColorBrighter, setColorDimmer, setColorDimness, setColorScaleInfo, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayAreaSubset, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayListTimeZone, setDisplayName, setDisplayUnit, setDisplayUnitName, setDoCursorReadout, setExpandedInTabs, setExtraLabelTemplate, setHadDataChoices, setHelpUrl, setId, setInitDataChoices, setInitialSettings, setInitialViewManager, setIsProgressiveResolution, setIsRaster, setIsTimeDriver, setLabelAsPreference, setLegendBackground, setLegendForeground, setLegendLabel, setLegendLabelTemplate, setLockVisibilityToggle, setMainPanelDimensions, setMainPanelSize, setMakeWindow, setMatchDisplayRegion, setName, setNameFromUser, setNewColorUnit, setNewDisplayUnit, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, setProjectionInView, setProjectionInView, setProjectionInView, setProperty, setRange, setRange, setSelectRange, setSelectRangeEnabled, setSettingsDisplayUnit, setSharedColorScaleInfo, setShowInDisplayList, setShowInLegend, setShowInTabs, setShowNoteText, setSkipValue, setSmoothingFactor, setSmoothingType, setTemplateName, setTextureQuality, setTitle, setUnitForColor, setUseFastRendering, setUsesTimeDriver, setUseTimesInAnimation, setVersion, setViewer, setViewManagerClassNames, setVisbilityAnimationPause, setWindowSize, setWindowVisible, setWindowX, setWindowY, setZPosition, setZPosition, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, toFront, toggleNoteTextArea, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLockButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, writeTestArchive, xxxsetDisplayActive
Methods inherited from class ucar.unidata.idv.control.DisplayControlBase
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ucar.unidata.idv.DisplayControl
getTmpProperty, putTmpProperty, removeTmpProperty
Methods inherited from interface ucar.unidata.collab.Sharable
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
-
Field Details
-
filters
filters for showing data
-
-
Constructor Details
-
PointCloudControl
public PointCloudControl()Default constructor; does nothing.
-
-
Method Details
-
getInitialZPosition
protected double getInitialZPosition()Get the initial z position- Overrides:
getInitialZPosition
in classDrawingControl
- Returns:
- the Z position
-
canHandleEvents
protected boolean canHandleEvents()Can we handle events?- Overrides:
canHandleEvents
in classDrawingControl
- Returns:
- true or false
-
getSaveMenuItems
Add export points menu tiem- Overrides:
getSaveMenuItems
in classDisplayControlImpl
- Parameters:
items
- menu items to add toforMenuBar
- for menubar
-
getViewMenuItems
add view menu items- Overrides:
getViewMenuItems
in classDrawingControl
- Parameters:
items
- menu items to add toforMenuBar
- for menubar
-
addFileMenuItems
noop so the drawing control doesn't add its items- Overrides:
addFileMenuItems
in classDrawingControl
- Parameters:
items
- menu items to add toforMenuBar
- for menubar
-
shouldAddAnimationListener
protected boolean shouldAddAnimationListener()get animation time changes- Overrides:
shouldAddAnimationListener
in classDisplayControlImpl
- Returns:
- true
-
timeChanged
handle when the animation changes. If this is a time sequence and followTimeStep is true then center the display- Overrides:
timeChanged
in classDrawingControl
- Parameters:
time
- current time
-
exportKml
Export to KML- Parameters:
filename
- the file name- Throws:
Exception
- problem exporting
-
exportPoints
write out the points- Throws:
Exception
- on badness
-
getShapeCommands
Define the shapes to use for the drawing- Overrides:
getShapeCommands
in classDrawingControl
- Returns:
- shapes
-
getColorRangeIndex
public int getColorRangeIndex()Get the color range index- Returns:
- the index for the color range
-
setColorRangeIndex
public void setColorRangeIndex(int index) Set the color range index- Parameters:
index
- the index for getting the color range
-
getColorRangeFromData
Get the color range from the data- Returns:
- the range of the data for coloring
-
getInitialRange
Hook method to allow derived classes to return a different initialRange
- Overrides:
getInitialRange
in classDrawingControl
- Returns:
- The initial range to use
- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-
getDataProjection
Get the data projection- Specified by:
getDataProjection
in interfaceDisplayControl
- Overrides:
getDataProjection
in classDisplayControlImpl
- Returns:
- the data projection
-
init
Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far). This method is called from inside DisplayControlImpl.init(several args).- Overrides:
init
in classDrawingControl
- Parameters:
dataChoice
- the DataChoice of the moment.- Returns:
- true if successful
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getFilterNames
_more_- Returns:
- _more_
-
showLocationWidgets
protected boolean showLocationWidgets()Show the location widgets- Overrides:
showLocationWidgets
in classDrawingControl
- Returns:
- false
-
initDisplayUnit
protected void initDisplayUnit()Initialize the display unit- Overrides:
initDisplayUnit
in classDrawingControl
-
getDistanceUnit
Get the distance unit- Overrides:
getDistanceUnit
in classDrawingControl
- Returns:
- the distance unit
-
showTimeWidgets
protected boolean showTimeWidgets()Show the time widget- Overrides:
showTimeWidgets
in classDrawingControl
- Returns:
- false
-
doMakeContents
Make the UI contents- Overrides:
doMakeContents
in classDrawingControl
- Returns:
- the UI contents
- Throws:
RemoteException
- Java RMI exceptionVisADException
- Problem creating the VisAD data
-
getControlWidgets
Add in any special control widgets to the current list of widgets.- Overrides:
getControlWidgets
in classDisplayControlImpl
- Parameters:
controlWidgets
- list of control widgets- Throws:
VisADException
- VisAD errorRemoteException
- RMI error
-
doMakeFilterGui
_more_- Returns:
- _more_
-
initFilters
public void initFilters()Init the vis filters -
applyFilters
public void applyFilters()Apply the vis filters -
setPointSize
public void setPointSize(float value) set the point size- Overrides:
setPointSize
in classDisplayControlImpl
- Parameters:
value
- the point size
-
setData
Set the data in this control.- Overrides:
setData
in classDisplayControlImpl
- Parameters:
choice
- data description- Returns:
- true if successful
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
processData
Process the visad data object.- Overrides:
processData
in classDrawingControl
- Parameters:
data
- The data object
-
reloadPointData
Reload the point data- Throws:
Exception
- something bad happened
-
clippingData
protected FieldImpl clippingData(FieldImpl obs, List<Shape> shapes, int[] scales, int lonIndex, int latIndex) throws Exception _more_- Parameters:
obs
- _more_shapes
- _more_scales
- _more_lonIndex
- _more_latIndex
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
filterData
Apply the filters to the given data- Parameters:
obs
- The data- Returns:
- The filtered data.
- Throws:
Exception
- When bad things happen.
-
getIsRaster
public boolean getIsRaster()Is this a raster display- Overrides:
getIsRaster
in classDisplayControlImpl
- Returns:
- true
-
setShowInside
public void setShowInside(boolean value) Set the ShowInside property.- Parameters:
value
- The new value for ShowInside
-
getShowInside
public boolean getShowInside()Get the ShowInside property.- Returns:
- The ShowInside
-
setDoClip
public void setDoClip(boolean value) Set the DoClip property.- Parameters:
value
- The new value for DoClip
-
getDoClip
public boolean getDoClip()Get the DoClip property.- Returns:
- The DoClip
-
setDoFilter
public void setDoFilter(boolean value) Set the DoFilter property.- Parameters:
value
- The new value for DoClip
-
getFilters
Get the filters property.- Returns:
- The filters
-
setFilters
Set the filters property.- Parameters:
value
- The new value for filters
-
getDoFilter
public boolean getDoFilter()Get the DoFilter property.- Returns:
- The DoFilter
-
setFollowTimeStep
public void setFollowTimeStep(boolean value) Set the FollowTimeStep property.- Parameters:
value
- The new value for FollowTimeStep
-
getFollowTimeStep
public boolean getFollowTimeStep()Get the FollowTimeStep property.- Returns:
- The FollowTimeStep
-