Package com.agisoft.metashape
Class Marker
java.lang.Object
com.agisoft.metashape.Marker
public class Marker extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarker.Projectionstatic classMarker.Reference -
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static long[]cArrayUnwrap(Marker[] arrayWrapper)static Marker[]cArrayWrap(long[] cArray, boolean cMemoryOwn)voiddelete()protected voidfinalize()int[]getCameraKeys()List of camera keys containing marker projections.ChunkgetChunk()Chunk container.static longgetCPtr(Marker obj)intgetKey()Marker identifier.StringgetLabel()Marker label.MetaDatagetMeta()Marker meta data.Vector3dgetPosition()Marker position in the current frame or null.Marker.ProjectiongetProjection(int camera)Get marker projection.Marker.ReferencegetReference()Marker reference data.booleanisEnabled()Enables/disables the marker.booleanisSelected()Selects/deselects the marker.voidsetEnabled(boolean state)Enables/disables the marker.voidsetLabel(String label)Marker label.voidsetMeta(MetaData meta)Marker 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.
-
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. -
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 or null.
-
getProjection
Get marker projection.- Parameters:
camera- Camera key.- Returns:
- Image coordinates or null.
-
getPosition
Marker position in the current frame or 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.
-