Class LasConstraints
- java.lang.Object
-
- org.hortonmachine.gears.io.las.utils.LasConstraints
-
public class LasConstraints extends Object
-
-
Constructor Summary
Constructors Constructor Description LasConstraints()
-
Method Summary
-
-
-
Method Detail
-
getFilteredPoints
public List<LasRecord> getFilteredPoints()
- Returns:
- the points that survived the last
#applyConstraints(ALasReader)run.
-
applyConstraints
public void applyConstraints(ALasReader lasReader, boolean doReread, IProgressPrinter progressPrinter) throws Exception
Get the data filtered by the current constraints.- Parameters:
lasReader- the reader.doReread- if true, the data are read again, else only the existing are filtered.progressPrinter- the monitor. This needs to consider that every 1000 a worked(1) is called.- Throws:
Exception
-
getElevationColorInterpolator
public ColorInterpolator getElevationColorInterpolator()
-
getIntensityColorInterpolator
public ColorInterpolator getIntensityColorInterpolator()
-
getImpulseColorInterpolator
public ColorInterpolator getImpulseColorInterpolator()
-
getClassificationColorInterpolator
public ColorInterpolator getClassificationColorInterpolator()
-
getStats
public double[] getStats()
-
getFilteredEnvelope
public org.locationtech.jts.geom.Envelope getFilteredEnvelope()
-
setSampling
public void setSampling(Integer sampling)
-
setClassifications
public void setClassifications(int[] classes)
-
setImpulses
public void setImpulses(int[] impulses)
-
setMaxIntensity
public void setMaxIntensity(Double maxInt)
-
setMinIntensity
public void setMinIntensity(Double minInt)
-
setWest
public void setWest(Double west)
-
setEast
public void setEast(Double east)
-
setSouth
public void setSouth(Double south)
-
setNorth
public void setNorth(Double north)
-
setMinZ
public void setMinZ(Double minZ)
-
setMaxZ
public void setMaxZ(Double maxZ)
-
checkBounds
public Double[] checkBounds()
-
setDtm
public void setDtm(org.geotools.coverage.grid.GridCoverage2D dtm)
-
setLowerThres
public void setLowerThres(Double lowerThres)
-
setUpperThres
public void setUpperThres(Double upperThres)
-
-