Class PointCloudDataSource

All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class PointCloudDataSource extends FilesDataSource
A display control for volume rendering of a 3D grid
Version:
$Revision: 1.11 $
Author:
Unidata IDV Development Team
  • Field Details

  • Constructor Details

    • PointCloudDataSource

      public PointCloudDataSource()
      Default constructor
    • PointCloudDataSource

      public PointCloudDataSource(DataSourceDescriptor descriptor, String filename, Hashtable properties)
      _more_
      Parameters:
      descriptor - _more_
      filename - _more_
      properties - _more_
    • PointCloudDataSource

      public PointCloudDataSource(DataSourceDescriptor descriptor, List sources, String name, Hashtable properties) throws VisADException
      Create a PointDataSource
      Parameters:
      descriptor - descriptor for the DataSource
      sources - _more_
      name - _more_
      properties - extra properties
      Throws:
      VisADException
  • Method Details

    • canDoGeoSelection

      public boolean canDoGeoSelection()
      _more_
      Specified by:
      canDoGeoSelection in interface DataSource
      Overrides:
      canDoGeoSelection in class DataSourceImpl
      Returns:
      _more_
    • canDoGeoSelectionStride

      protected boolean canDoGeoSelectionStride()
      _more_
      Overrides:
      canDoGeoSelectionStride in class DataSourceImpl
      Returns:
      _more_
    • getSampleDataProjection

      protected ucar.unidata.geoloc.ProjectionImpl getSampleDataProjection()
      _more_
      Overrides:
      getSampleDataProjection in class DataSourceImpl
      Returns:
      _more_
    • getPropertiesComponents

      public void getPropertiesComponents(List comps)
      _more_
      Overrides:
      getPropertiesComponents in class DataSourceImpl
      Parameters:
      comps - _more_
    • applyProperties

      public boolean applyProperties()
      _more_
      Overrides:
      applyProperties in class DataSourceImpl
      Returns:
      _more_
    • getDataInner

      protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException
      _more_
      Overrides:
      getDataInner in class DataSourceImpl
      Parameters:
      dataChoice - _more_
      category - _more_
      dataSelection - _more_
      requestProperties - _more_
      Returns:
      _more_
      Throws:
      RemoteException - _more_
      VisADException - _more_
    • readPoints

      protected float[][] readPoints(String filePath, DataSelection dataSelection, int skipToUse) throws IOException
      This reads the actual lat/lon/alt points and returns an array of the form:
      float[lat/lon/alt/optional value][number pf points]
      Parameters:
      filePath - Path to the file or url
      dataSelection - data subsetting
      skipToUse - skip factor 0 = all points. 1 = skip 1, etc.
      Returns:
      points
      Throws:
      IOException - On badness
    • makeField

      public static FlatField makeField(MathType rangeType, float[][] pts) throws VisADException, RemoteException
      _more_
      Parameters:
      rangeType - _more_
      pts - _more_
      Returns:
      _more_
      Throws:
      RemoteException - _more_
      VisADException - _more_
    • doMakeDataChoices

      public void doMakeDataChoices()
      _more_
      Overrides:
      doMakeDataChoices in class DataSourceImpl
    • setUtmInfo

      public void setUtmInfo(UtmInfo value)
      Set the UtmInfo property.
      Parameters:
      value - The new value for UtmInfo
    • getUtmInfo

      public UtmInfo getUtmInfo()
      Get the UtmInfo property.
      Returns:
      The UtmInfo
    • main

      public static void main(String[] args) throws Exception
      _more_
      Parameters:
      args - _more_
      Throws:
      Exception - _more_
    • setDelimiter

      public void setDelimiter(String value)
      Set the Delimiter property.
      Parameters:
      value - The new value for Delimiter
    • getDelimiter

      public String getDelimiter()
      Get the Delimiter property.
      Returns:
      The Delimiter
    • setColorByIndex

      public void setColorByIndex(int value)
      Set the ColorByIndex property.
      Parameters:
      value - The new value for ColorByIndex
    • getColorByIndex

      public int getColorByIndex()
      Get the ColorByIndex property.
      Returns:
      The ColorByIndex
    • setSkip

      public void setSkip(int value)
      Set the Skip property.
      Parameters:
      value - The new value for Skip
    • getSkip

      public int getSkip()
      Get the Skip property.
      Returns:
      The Skip
    • setHeader

      public void setHeader(String value)
      Set the Header property.
      Parameters:
      value - The new value for Header
    • getHeader

      public String getHeader()
      Get the Header property.
      Returns:
      The Header
    • setGridWidth

      public void setGridWidth(int value)
      Set the GridWidth property.
      Parameters:
      value - The new value for GridWidth
    • getGridWidth

      public int getGridWidth()
      Get the GridWidth property.
      Returns:
      The GridWidth
    • setGridHeight

      public void setGridHeight(int value)
      Set the GridHeight property.
      Parameters:
      value - The new value for GridHeight
    • getGridHeight

      public int getGridHeight()
      Get the GridHeight property.
      Returns:
      The GridHeight
    • setHillShadeAzimuth

      public void setHillShadeAzimuth(float value)
      Set the HillShadeAzimuth property.
      Parameters:
      value - The new value for HillShadeAzimuth
    • getHillShadeAzimuth

      public float getHillShadeAzimuth()
      Get the HillShadeAzimuth property.
      Returns:
      The HillShadeAzimuth
    • setHillShadeAngle

      public void setHillShadeAngle(float value)
      Set the HillShadeAngle property.
      Parameters:
      value - The new value for HillShadeAngle
    • getHillShadeAngle

      public float getHillShadeAngle()
      Get the HillShadeAngle property.
      Returns:
      The HillShadeAngle