Package com.agisoft.metashape
Class Camera
java.lang.Object
com.agisoft.metashape.Camera
Camera instance.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long[]cArrayUnwrap(Camera[] arrayWrapper) static Camera[]cArrayWrap(long[] cArray, boolean cMemoryOwn) voiddelete()protected voidfinalize()getChunk()Chunk container, may be null.static longgetGroup()Camera group, may be null.intgetKey()Camera identifier.getLabel()Camera label.getMask()Camera mask, may be null.Camera master, may be null.getMeta()Camera meta data.intImage orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree).getPhoto()Camera photo, may be null.Camera reference data.Camera sensor, may be null.Camera shutter, may be null.Camera thumbnail, may be null.4x4 matrix describing photo location in the chunk coordinate system, may be null.getType()Camera type.Vignetting for each band.booleanEnables/disables the photo.booleanSelects/deselects the photo.Camera image, may be null.voidsetEnabled(boolean state) Enables/disables the photo.voidsetGroup(CameraGroup group) Camera group, may be null.voidCamera label.voidCamera mask, may be null.voidCamera master, may be null.voidCamera meta data.voidsetOrientation(int orientation) Image orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree).voidCamera photo, may be null.voidsetReference(Camera.Reference reference) Camera reference data.voidsetSelected(boolean state) Selects/deselects the photo.voidCamera sensor, may be null.voidsetShutter(Shutter shutter) Camera shutter, may be null.voidsetThumbnail(Image thumbnail) Camera thumbnail, may be null.voidsetTransform(Matrix4x4d transform) 4x4 matrix describing photo location in the chunk coordinate system, may be null.voidsetType(Camera.Type type) Camera type.voidsetVignetting(Vignetting[] vignetting) Vignetting for each band.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Camera
public Camera(long cPtr, boolean cMemoryOwn) -
Camera
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
cArrayUnwrap
-
cArrayWrap
-
getKey
public int getKey()Camera identifier. -
getChunk
Chunk container, may be null. -
setType
Camera type. -
getType
Camera type. -
setLabel
Camera label. -
getLabel
Camera label. -
setEnabled
public void setEnabled(boolean state) Enables/disables the photo. -
isEnabled
public boolean isEnabled()Enables/disables the photo. -
setSelected
public void setSelected(boolean state) Selects/deselects the photo. -
isSelected
public boolean isSelected()Selects/deselects the photo. -
setOrientation
public void setOrientation(int orientation) Image orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree). -
getOrientation
public int getOrientation()Image orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree). -
setSensor
Camera sensor, may be null. -
getSensor
Camera sensor, may be null. -
setMaster
Camera master, may be null. -
getMaster
Camera master, may be null. -
setGroup
Camera group, may be null. -
getGroup
Camera group, may be null. -
setPhoto
Camera photo, may be null. -
getPhoto
Camera photo, may be null. -
setTransform
4x4 matrix describing photo location in the chunk coordinate system, may be null. -
getTransform
4x4 matrix describing photo location in the chunk coordinate system, may be null. -
setMask
Camera mask, may be null. -
getMask
Camera mask, may be null. -
setThumbnail
Camera thumbnail, may be null. -
getThumbnail
Camera thumbnail, may be null. -
setShutter
Camera shutter, may be null. -
getShutter
Camera shutter, may be null. -
setVignetting
Vignetting for each band. -
getVignetting
Vignetting for each band. -
getCenter
-
getError
-
project
-
unproject
-
unproject
-
loadImage
Camera image, may be null. -
getReference
Camera reference data. -
setReference
Camera reference data. -
setMeta
Camera meta data. -
getMeta
Camera meta data.
-