|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.point.PointCloudDataSource
public class PointCloudDataSource
A display control for volume rendering of a 3D grid
| Field Summary | |
|---|---|
protected String |
fieldName
_more_ |
static float |
GRID_MISSING
_more_ |
static int |
INDEX_ALT
_more_ |
static int |
INDEX_LAT
_more_ |
static int |
INDEX_LON
_more_ |
| Fields inherited from class ucar.unidata.data.FilesDataSource |
|---|
adapters, oldSourceFromBundles, sources |
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields inherited from interface ucar.unidata.data.DataSource |
|---|
DATAPATH_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_TITLE |
| Constructor Summary | |
|---|---|
PointCloudDataSource()
Default constructor |
|
PointCloudDataSource(DataSourceDescriptor descriptor,
List sources,
String name,
Hashtable properties)
Create a PointDataSource |
|
PointCloudDataSource(DataSourceDescriptor descriptor,
String filename,
Hashtable properties)
_more_ |
|
| Method Summary | |
|---|---|
boolean |
applyProperties()
_more_ |
boolean |
canDoGeoSelection()
_more_ |
protected boolean |
canDoGeoSelectionStride()
_more_ |
void |
doMakeDataChoices()
_more_ |
int |
getColorByIndex()
Get the ColorByIndex property. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
_more_ |
String |
getDelimiter()
Get the Delimiter property. |
int |
getGridHeight()
Get the GridHeight property. |
int |
getGridWidth()
Get the GridWidth property. |
String |
getHeader()
Get the Header property. |
float |
getHillShadeAngle()
Get the HillShadeAngle property. |
float |
getHillShadeAzimuth()
Get the HillShadeAzimuth property. |
void |
getPropertiesComponents(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(String[] args)
_more_ |
static FlatField |
makeField(MathType rangeType,
float[][] pts)
_more_ |
protected float[][] |
readPoints(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(String value)
Set the Delimiter property. |
void |
setGridHeight(int value)
Set the GridHeight property. |
void |
setGridWidth(int value)
Set the GridWidth property. |
void |
setHeader(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. |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
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, updateState |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
public static final float GRID_MISSING
public static final int INDEX_ALT
public static final int INDEX_LON
public static final int INDEX_LAT
protected String fieldName
| Constructor Detail |
|---|
public PointCloudDataSource()
public PointCloudDataSource(DataSourceDescriptor descriptor,
String filename,
Hashtable properties)
descriptor - _more_filename - _more_properties - _more_
public PointCloudDataSource(DataSourceDescriptor descriptor,
List sources,
String name,
Hashtable properties)
throws VisADException
descriptor - descriptor for the DataSourcesources - _more_name - _more_properties - extra properties
VisADException| Method Detail |
|---|
public 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(List comps)
getPropertiesComponents in class DataSourceImplcomps - _more_public boolean applyProperties()
applyProperties in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - _more_category - _more_dataSelection - _more_requestProperties - _more_
RemoteException - _more_
VisADException - _more_
protected float[][] readPoints(String filePath,
DataSelection dataSelection,
int skipToUse)
throws 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.
IOException - On badness
public static FlatField makeField(MathType rangeType,
float[][] pts)
throws VisADException,
RemoteException
rangeType - _more_pts - _more_
RemoteException - _more_
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(String[] args)
throws Exception
args - _more_
Exception - _more_public void setDelimiter(String value)
value - The new value for Delimiterpublic 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(String value)
value - The new value for Headerpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||