Package com.agisoft.metashape.tasks
Class ImportShapes
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ImportShapes
Task class containing processing parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.agisoft.metashape.tasks.Task
Task.TaskTarget -
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()Boundary type to be applied to imported shapes.Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group).protected static longgetCPtr(ImportShapes obj) getCRS()Reference data coordinate system (csv format only).Column delimiter in csv format.Shapes format.booleanCombine consequitive delimiters in csv format.getPath()Path to shape file.booleanReplace current shapes with new data.intNumber of rows to skip in (csv format only).voidBoundary type to be applied to imported shapes.voidsetColumns(String value) Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group).voidsetCRS(CoordinateSystem value) Reference data coordinate system (csv format only).voidsetDelimiter(String value) Column delimiter in csv format.voidsetFormat(ShapesFormat value) Shapes format.voidsetGroupDelimiters(boolean value) Combine consequitive delimiters in csv format.voidPath to shape file.voidsetReplace(boolean value) Replace current shapes with new data.voidsetSkipRows(int value) Number of rows to skip in (csv format only).Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getParameterNames, getTarget, getWorkitemCount, isGPUSupported, setParameter, setWorkitemCount, toNetworkTask, toNetworkTask, toNetworkTask, toNetworkTask
-
Constructor Details
-
ImportShapes
protected ImportShapes(long cPtr, boolean cMemoryOwn) -
ImportShapes
public ImportShapes()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setBoundaryType
Boundary type to be applied to imported shapes. Default: Shape.BoundaryType.NoBoundary -
getBoundaryType
Boundary type to be applied to imported shapes. Default: Shape.BoundaryType.NoBoundary -
setColumns
Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group). -
getColumns
Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group). -
setCRS
Reference data coordinate system (csv format only). -
getCRS
Reference data coordinate system (csv format only). -
setDelimiter
Column delimiter in csv format. -
getDelimiter
Column delimiter in csv format. -
setFormat
Shapes format. Default: ShapesFormat.ShapesFormatNone -
getFormat
Shapes format. Default: ShapesFormat.ShapesFormatNone -
setGroupDelimiters
public void setGroupDelimiters(boolean value) Combine consequitive delimiters in csv format. Default: false -
getGroupDelimiters
public boolean getGroupDelimiters()Combine consequitive delimiters in csv format. Default: false -
setPath
Path to shape file. -
getPath
Path to shape file. -
setReplace
public void setReplace(boolean value) Replace current shapes with new data. Default: false -
getReplace
public boolean getReplace()Replace current shapes with new data. Default: false -
setSkipRows
public void setSkipRows(int value) Number of rows to skip in (csv format only). Default: 0 -
getSkipRows
public int getSkipRows()Number of rows to skip in (csv format only). Default: 0
-