public class PointCloudDataSource extends FilesDataSource
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fieldName
_more_
|
static float |
GRID_MISSING
_more_
|
static int |
INDEX_ALT
_more_
|
static int |
INDEX_LAT
_more_
|
static int |
INDEX_LON
_more_
|
adapters, oldSourceFromBundles, sourceschangeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESDATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TIMESTRIDE, PROP_TITLE| Constructor and Description |
|---|
PointCloudDataSource()
Default constructor
|
PointCloudDataSource(DataSourceDescriptor descriptor,
java.util.List sources,
java.lang.String name,
java.util.Hashtable properties)
Create a PointDataSource
|
PointCloudDataSource(DataSourceDescriptor descriptor,
java.lang.String filename,
java.util.Hashtable properties)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyProperties()
_more_
|
boolean |
canDoGeoSelection()
_more_
|
protected boolean |
canDoGeoSelectionStride()
_more_
|
void |
doMakeDataChoices()
_more_
|
int |
getColorByIndex()
Get the ColorByIndex property.
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
_more_
|
java.lang.String |
getDelimiter()
Get the Delimiter property.
|
int |
getGridHeight()
Get the GridHeight property.
|
int |
getGridWidth()
Get the GridWidth property.
|
java.lang.String |
getHeader()
Get the Header property.
|
float |
getHillShadeAngle()
Get the HillShadeAngle property.
|
float |
getHillShadeAzimuth()
Get the HillShadeAzimuth property.
|
void |
getPropertiesComponents(java.util.List comps)
_more_
|
protected ucar.unidata.geoloc.ProjectionImpl |
getSampleDataProjection()
_more_
|
int |
getSkip()
Get the Skip property.
|
UtmInfo |
getUtmInfo()
Get the UtmInfo property.
|
static void |
main(java.lang.String[] args)
_more_
|
static visad.FlatField |
makeField(visad.MathType rangeType,
float[][] pts)
_more_
|
protected float[][] |
readPoints(java.lang.String filePath,
DataSelection dataSelection,
int skipToUse)
This reads the actual lat/lon/alt points and returns an array of the form:
|
void |
setColorByIndex(int value)
Set the ColorByIndex property.
|
void |
setDelimiter(java.lang.String value)
Set the Delimiter property.
|
void |
setGridHeight(int value)
Set the GridHeight property.
|
void |
setGridWidth(int value)
Set the GridWidth property.
|
void |
setHeader(java.lang.String value)
Set the Header property.
|
void |
setHillShadeAngle(float value)
Set the HillShadeAngle property.
|
void |
setHillShadeAzimuth(float value)
Set the HillShadeAzimuth property.
|
void |
setSkip(int value)
Set the Skip property.
|
void |
setUtmInfo(UtmInfo value)
Set the UtmInfo property.
|
doRemove, equals, getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateStateaddActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelectionMap, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFileapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueIdpublic static final float GRID_MISSING
public static final int INDEX_ALT
public static final int INDEX_LON
public static final int INDEX_LAT
protected java.lang.String fieldName
public PointCloudDataSource()
public PointCloudDataSource(DataSourceDescriptor descriptor, java.lang.String filename, java.util.Hashtable properties)
descriptor - _more_filename - _more_properties - _more_public PointCloudDataSource(DataSourceDescriptor descriptor, java.util.List sources, java.lang.String name, java.util.Hashtable properties) throws visad.VisADException
descriptor - descriptor for the DataSourcesources - _more_name - _more_properties - extra propertiesvisad.VisADExceptionpublic boolean canDoGeoSelection()
canDoGeoSelection in interface DataSourcecanDoGeoSelection in class DataSourceImplprotected boolean canDoGeoSelectionStride()
canDoGeoSelectionStride in class DataSourceImplprotected ucar.unidata.geoloc.ProjectionImpl getSampleDataProjection()
getSampleDataProjection in class DataSourceImplpublic void getPropertiesComponents(java.util.List comps)
getPropertiesComponents in class DataSourceImplcomps - _more_public boolean applyProperties()
applyProperties in class DataSourceImplprotected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner in class DataSourceImpldataChoice - _more_category - _more_dataSelection - _more_requestProperties - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_protected float[][] readPoints(java.lang.String filePath,
DataSelection dataSelection,
int skipToUse)
throws java.io.IOException
float[lat/lon/alt/optional value][number pf points]
filePath - Path to the file or urldataSelection - data subsettingskipToUse - skip factor 0 = all points. 1 = skip 1, etc.java.io.IOException - On badnesspublic static visad.FlatField makeField(visad.MathType rangeType,
float[][] pts)
throws visad.VisADException,
java.rmi.RemoteException
rangeType - _more_pts - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_public void doMakeDataChoices()
doMakeDataChoices in class DataSourceImplpublic void setUtmInfo(UtmInfo value)
value - The new value for UtmInfopublic UtmInfo getUtmInfo()
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - _more_java.lang.Exception - _more_public void setDelimiter(java.lang.String value)
value - The new value for Delimiterpublic java.lang.String getDelimiter()
public void setColorByIndex(int value)
value - The new value for ColorByIndexpublic int getColorByIndex()
public void setSkip(int value)
value - The new value for Skippublic int getSkip()
public void setHeader(java.lang.String value)
value - The new value for Headerpublic java.lang.String getHeader()
public void setGridWidth(int value)
value - The new value for GridWidthpublic int getGridWidth()
public void setGridHeight(int value)
value - The new value for GridHeightpublic int getGridHeight()
public void setHillShadeAzimuth(float value)
value - The new value for HillShadeAzimuthpublic float getHillShadeAzimuth()
public void setHillShadeAngle(float value)
value - The new value for HillShadeAnglepublic float getHillShadeAngle()