|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.DrawingControl
ucar.unidata.idv.control.PointCloudControl
public class PointCloudControl
A display control for volume rendering of a 3D grid
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.idv.control.DrawingControl |
|---|
ATTR_EDITABLE, ATTR_FRONTDISPLAY, ATTR_TITLE, ATTR_USETIMESINANIMATION, CMD_MOVE, CMD_SELECT, CMD_STRETCH, currentCmd, enabledCbx, FILTER_XGRF, FLAG_FILLED, FLAG_FULLLATLON, FLAG_STRAIGHT, glyphs, 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, noteTextArea, noteWrapper, paramName, requestProperties, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE |
| 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 | |
|---|---|
PointCloudControl()
Default constructor; does nothing. |
|
| Method Summary | |
|---|---|
protected void |
addFileMenuItems(List items,
boolean forMenuBar)
noop so the drawing control doesn't add its items |
protected boolean |
canHandleEvents()
Can we handle events? |
protected Container |
doMakeContents()
Make the UI contents |
void |
exportKml(String filename)
Export to KML |
void |
exportPoints()
write out the points |
Range |
getColorRangeFromData()
Get the color range from the data |
int |
getColorRangeIndex()
Get the color range index |
void |
getControlWidgets(List controlWidgets)
Add in any special control widgets to the current list of widgets. |
MapProjection |
getDataProjection()
Get the data projection |
Unit |
getDistanceUnit()
Get the distance unit |
boolean |
getDoClip()
Get the DoClip property. |
boolean |
getFollowTimeStep()
Get the FollowTimeStep property. |
protected Range |
getInitialRange()
Hook method to allow derived classes to return a different initial Range |
protected double |
getInitialZPosition()
Get the initial z position |
boolean |
getIsRaster()
Is this a raster display |
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
Add export points menu tiem |
protected List |
getShapeCommands()
Define the shapes to use for the drawing |
boolean |
getShowInside()
Get the ShowInside property. |
protected void |
getViewMenuItems(List items,
boolean forMenuBar)
add view menu items |
boolean |
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 |
initDisplayUnit()
Initialize the display unit |
protected void |
processData(Data data)
Process the visad data object. |
void |
reloadPointData()
Reload the point data |
void |
setColorRangeIndex(int index)
Set the color range index |
protected boolean |
setData(DataChoice choice)
Set the data in this control. |
void |
setDoClip(boolean value)
Set the DoClip property. |
void |
setFollowTimeStep(boolean value)
Set the FollowTimeStep property. |
void |
setPointSize(float value)
set the point size |
void |
setShowInside(boolean value)
Set the ShowInside property. |
protected boolean |
shouldAddAnimationListener()
get animation time changes |
protected boolean |
showLocationWidgets()
Show the location widgets |
protected boolean |
showTimeWidgets()
Show the time widget |
protected void |
timeChanged(Real time)
handle when the animation changes. |
| 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 |
| Constructor Detail |
|---|
public PointCloudControl()
| Method Detail |
|---|
protected double getInitialZPosition()
getInitialZPosition in class DrawingControlprotected boolean canHandleEvents()
canHandleEvents in class DrawingControl
protected void getSaveMenuItems(List items,
boolean forMenuBar)
getSaveMenuItems in class DisplayControlImplitems - menu items to add toforMenuBar - for menubar
protected void getViewMenuItems(List items,
boolean forMenuBar)
getViewMenuItems in class DisplayControlImplitems - menu items to add toforMenuBar - for menubar
protected void addFileMenuItems(List items,
boolean forMenuBar)
addFileMenuItems in class DrawingControlitems - menu items to add toforMenuBar - for menubarprotected boolean shouldAddAnimationListener()
shouldAddAnimationListener in class DisplayControlImplprotected void timeChanged(Real time)
timeChanged in class DrawingControltime - current time
public void exportKml(String filename)
throws Exception
filename - the file name
Exception - problem exporting
public void exportPoints()
throws Exception
Exception - on badnessprotected List getShapeCommands()
getShapeCommands in class DrawingControlpublic int getColorRangeIndex()
public void setColorRangeIndex(int index)
index - the index for getting the color rangepublic Range getColorRangeFromData()
protected Range getInitialRange()
throws RemoteException,
VisADException
Range
getInitialRange in class DisplayControlImplRemoteException - Java RMI problem
VisADException - VisAD problempublic MapProjection getDataProjection()
getDataProjection in interface DisplayControlgetDataProjection in class DisplayControlImpl
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DrawingControldataChoice - the DataChoice of the moment.
RemoteException - Java RMI error
VisADException - VisAD Errorprotected boolean showLocationWidgets()
showLocationWidgets in class DrawingControlprotected void initDisplayUnit()
initDisplayUnit in class DrawingControlpublic Unit getDistanceUnit()
getDistanceUnit in class DrawingControlprotected boolean showTimeWidgets()
showTimeWidgets in class DrawingControl
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DrawingControlRemoteException - Java RMI exception
VisADException - Problem creating the VisAD data
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - list of control widgets
VisADException - VisAD error
RemoteException - RMI errorpublic void setPointSize(float value)
setPointSize in class DisplayControlImplvalue - the point size
protected boolean setData(DataChoice choice)
throws VisADException,
RemoteException
setData in class DisplayControlImplchoice - data description
RemoteException - Java RMI error
VisADException - VisAD Errorprotected void processData(Data data)
processData in class DrawingControldata - The data object
public void reloadPointData()
throws Exception
Exception - something bad happenedpublic boolean getIsRaster()
getIsRaster in class DisplayControlImplpublic void setShowInside(boolean value)
value - The new value for ShowInsidepublic boolean getShowInside()
public void setDoClip(boolean value)
value - The new value for DoClippublic boolean getDoClip()
public void setFollowTimeStep(boolean value)
value - The new value for FollowTimeSteppublic boolean getFollowTimeStep()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||