public class LasWriter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ILasWriter
Description 'Esri LasWriter.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID3ab70c14_75fc_4f66_b511_06192aef160d, xxDummy
Constructor and Description |
---|
LasWriter()
Constructs a LasWriter using ArcGIS Engine.
|
LasWriter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
LasWriter theLasWriter = (LasWriter) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addPoints(IXyzArray pPoints,
ILongArray pIntensities,
ILongArray pCodes,
ILongArray pFlags,
IDoubleArray pGPS,
IRgbArray pRGBs,
ILongArray pNIRs,
byte[] extraBytes)
Add point records.
|
void |
addPointsCStyle(int count,
_WKSPointZ pPoints,
int[] pIntensities,
int[] pCodes,
int[] pFlags,
double[] pGPS,
_RGB32 pRGBs,
int[] pNIRs,
int extraByteCount,
byte[] extraBytes)
Add point records using C-Style array.
|
void |
addVlr(boolean bIsEVLR,
byte[] vlr)
Add a variable length record or extended variable length record.
|
void |
addVlrCStyle(boolean bIsEVLR,
int length,
byte[] pVLR)
Add a variable length record or extended variable length record using C-Style array.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
esri_finalize(boolean bSaveResult,
boolean bComputeStats)
Finish adding data to the LAS file and save the result.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
init(ITrackCancel pTrackCancel,
ISpatialReference pSpatialRef,
java.lang.String fileName,
boolean bOverWrite,
boolean bAsZlas,
boolean bRearrange,
boolean bStandardGpsTime,
int verMajor,
int verMinor,
int pointFormat,
int extraBytes,
double xOffset,
double yOffset,
double zOffset,
double xScaleFactor,
double yScaleFactor,
double zScaleFactor)
Initialize the writer object.
|
void |
release()
Release this COM object reference
|
void |
setEmpty()
Empty the object.
|
void |
setFileSourceID(int iD)
The file source ID of the LAS file.
|
void |
setGeneratingSoftware(java.lang.String software)
The generating software of the LAS file.
|
void |
setGUID(IUID pGuid)
The GUID of the LAS file.
|
void |
setSystemID(java.lang.String iD)
The system ID of the LAS file.
|
void |
setTempFilePath(java.lang.String path)
The path for temp files.
|
public LasWriter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic LasWriter(java.lang.Object obj) throws java.io.IOException
LasWriter theLasWriter = (LasWriter) obj;
obj
to LasWriter
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setEmpty() throws java.io.IOException, AutomationException
setEmpty
in interface ILasWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTempFilePath(java.lang.String path) throws java.io.IOException, AutomationException
setTempFilePath
in interface ILasWriter
path
- The path (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void init(ITrackCancel pTrackCancel, ISpatialReference pSpatialRef, java.lang.String fileName, boolean bOverWrite, boolean bAsZlas, boolean bRearrange, boolean bStandardGpsTime, int verMajor, int verMinor, int pointFormat, int extraBytes, double xOffset, double yOffset, double zOffset, double xScaleFactor, double yScaleFactor, double zScaleFactor) throws java.io.IOException, AutomationException
init
in interface ILasWriter
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)pSpatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)fileName
- The fileName (in)bOverWrite
- The bOverWrite (in)bAsZlas
- The bAsZlas (in)bRearrange
- The bRearrange (in)bStandardGpsTime
- The bStandardGpsTime (in)verMajor
- The verMajor (in)verMinor
- The verMinor (in)pointFormat
- The pointFormat (in)extraBytes
- The extraBytes (in)xOffset
- The xOffset (in)yOffset
- The yOffset (in)zOffset
- The zOffset (in)xScaleFactor
- The xScaleFactor (in)yScaleFactor
- The yScaleFactor (in)zScaleFactor
- The zScaleFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void esri_finalize(boolean bSaveResult, boolean bComputeStats) throws java.io.IOException, AutomationException
esri_finalize
in interface ILasWriter
bSaveResult
- The bSaveResult (in)bComputeStats
- The bComputeStats (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGUID(IUID pGuid) throws java.io.IOException, AutomationException
setGUID
in interface ILasWriter
pGuid
- A reference to a com.esri.arcgis.system.IUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSystemID(java.lang.String iD) throws java.io.IOException, AutomationException
setSystemID
in interface ILasWriter
iD
- The iD (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFileSourceID(int iD) throws java.io.IOException, AutomationException
setFileSourceID
in interface ILasWriter
iD
- The iD (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGeneratingSoftware(java.lang.String software) throws java.io.IOException, AutomationException
setGeneratingSoftware
in interface ILasWriter
software
- The software (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addVlrCStyle(boolean bIsEVLR, int length, byte[] pVLR) throws java.io.IOException, AutomationException
addVlrCStyle
in interface ILasWriter
bIsEVLR
- The bIsEVLR (in)length
- The length (in)pVLR
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addVlr(boolean bIsEVLR, byte[] vlr) throws java.io.IOException, AutomationException
addVlr
in interface ILasWriter
bIsEVLR
- The bIsEVLR (in)vlr
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addPointsCStyle(int count, _WKSPointZ pPoints, int[] pIntensities, int[] pCodes, int[] pFlags, double[] pGPS, _RGB32 pRGBs, int[] pNIRs, int extraByteCount, byte[] extraBytes) throws java.io.IOException, AutomationException
addPointsCStyle
in interface ILasWriter
count
- The count (in)pPoints
- A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)pIntensities
- The pIntensities (in)pCodes
- The pCodes (in)pFlags
- The pFlags (in)pGPS
- The pGPS (in)pRGBs
- A Structure: com.esri.arcgis.geodatabaseextensions._RGB32 (A com.esri.arcgis.geodatabaseextensions._RGB32 COM typedef) (in)pNIRs
- The pNIRs (in)extraByteCount
- The extraByteCount (in)extraBytes
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addPoints(IXyzArray pPoints, ILongArray pIntensities, ILongArray pCodes, ILongArray pFlags, IDoubleArray pGPS, IRgbArray pRGBs, ILongArray pNIRs, byte[] extraBytes) throws java.io.IOException, AutomationException
addPoints
in interface ILasWriter
pPoints
- A reference to a com.esri.arcgis.geodatabaseextensions.IXyzArray (in)pIntensities
- A reference to a com.esri.arcgis.system.ILongArray (in)pCodes
- A reference to a com.esri.arcgis.system.ILongArray (in)pFlags
- A reference to a com.esri.arcgis.system.ILongArray (in)pGPS
- A reference to a com.esri.arcgis.system.IDoubleArray (in)pRGBs
- A reference to a com.esri.arcgis.geodatabaseextensions.IRgbArray (in)pNIRs
- A reference to a com.esri.arcgis.system.ILongArray (in)extraBytes
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.