Package com.agisoft.metashape
Class Photo
java.lang.Object
com.agisoft.metashape.Photo
public class Photo extends Object
Photo instance.
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
-
Method Summary
Modifier and Type Method Description ImagecreateThumbnail(int width, int height)Create new thumbnail with specified dimensions.voiddelete()protected voidfinalize()static longgetCPtr(Photo obj)longgetLayer()Layer index in the image file.MetaDatagetMeta()Photo meta data.StringgetPath()Path to the image file.voidsetLayer(long layer)Layer index in the image file.voidsetMeta(MetaData meta)Photo meta data.voidsetPath(String path)Path to the image file.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Photo
public Photo(long cPtr, boolean cMemoryOwn) -
Photo
public Photo() -
Photo
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setPath
Path to the image file. -
getPath
Path to the image file. -
setLayer
public void setLayer(long layer)Layer index in the image file. -
getLayer
public long getLayer()Layer index in the image file. -
setMeta
Photo meta data. -
getMeta
Photo meta data. -
createThumbnail
Create new thumbnail with specified dimensions.- Parameters:
width- Thumbnail width.height- Thumbnail height.
-