Package com.agisoft.metashape
Class Marker
java.lang.Object
com.agisoft.metashape.Marker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long[]cArrayUnwrap(Marker[] arrayWrapper) static Marker[]cArrayWrap(long[] cArray, boolean cMemoryOwn) voiddelete()protected voidfinalize()int[]List of camera keys containing marker projections.getChunk()Chunk container, may be null.static longintgetKey()Marker identifier.getLabel()Marker label.getMeta()Marker meta data.Marker position in the current frame, may be null.getProjection(int camera) Get marker projection.Marker reference data.getType()Marker type.booleanEnables/disables the marker.booleanSelects/deselects the marker.voidsetEnabled(boolean state) Enables/disables the marker.voidMarker label.voidMarker meta data.voidsetProjection(int camera, Marker.Projection projection) Set marker projection.voidsetReference(Marker.Reference reference) Marker reference data.voidsetSelected(boolean state) Selects/deselects the marker.voidsetType(Marker.Type type) Marker type.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Marker
public Marker(long cPtr, boolean cMemoryOwn) -
Marker
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
cArrayUnwrap
-
cArrayWrap
-
getKey
public int getKey()Marker identifier. -
getChunk
Chunk container, may be null. -
setType
Marker type. -
getType
Marker type. -
setLabel
Marker label. -
getLabel
Marker label. -
setEnabled
public void setEnabled(boolean state) Enables/disables the marker. -
isEnabled
public boolean isEnabled()Enables/disables the marker. -
setSelected
public void setSelected(boolean state) Selects/deselects the marker. -
isSelected
public boolean isSelected()Selects/deselects the marker. -
setProjection
Set marker projection.- Parameters:
camera- Camera key.projection- Image coordinates, may be null.
-
getProjection
Get marker projection.- Parameters:
camera- Camera key.- Returns:
- Image coordinates, may be null.
-
getPosition
Marker position in the current frame, may be null. -
getCameraKeys
public int[] getCameraKeys()List of camera keys containing marker projections. -
getReference
Marker reference data. -
setReference
Marker reference data. -
setMeta
Marker meta data. -
getMeta
Marker meta data.
-