public class Camera
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
Camera.Reference |
static class |
Camera.Type |
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Camera(Camera camera) |
protected |
Camera(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
Vector |
getCenter() |
java.util.Optional<Chunk> |
getChunk()
Chunk container, may be null.
|
protected static long |
getCPtr(Camera obj) |
Vector |
getError(Vector pt,
Vector proj) |
java.util.Optional<CameraGroup> |
getGroup()
Camera group, may be null.
|
int |
getKey()
Camera identifier.
|
java.lang.String |
getLabel()
Camera label.
|
java.util.Optional<Image> |
getMask()
Camera mask, may be null.
|
java.util.Optional<Camera> |
getMaster()
Camera master, may be null.
|
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Camera meta data.
|
int |
getOrientation()
Image orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree).
|
java.util.Optional<Photo> |
getPhoto()
Camera photo, may be null.
|
Camera.Reference |
getReference()
Camera reference data.
|
java.util.Optional<Sensor> |
getSensor()
Camera sensor, may be null.
|
java.util.Optional<Shutter> |
getShutter()
Camera shutter, may be null.
|
java.util.Optional<Image> |
getThumbnail()
Camera thumbnail, may be null.
|
java.util.Optional<Matrix> |
getTransform()
4x4 matrix describing photo location in the chunk coordinate system, may be null.
|
Camera.Type |
getType()
Camera type.
|
Vignetting[] |
getVignetting()
Vignetting for each band.
|
boolean |
isEnabled()
Enables/disables the photo.
|
boolean |
isSelected()
Selects/deselects the photo.
|
java.util.Optional<Image> |
loadImage()
Camera image, may be null.
|
Vector |
project(Vector pt) |
void |
setEnabled(boolean state)
Enables/disables the photo.
|
void |
setGroup(CameraGroup group)
Camera group, may be null.
|
void |
setLabel(java.lang.String label)
Camera label.
|
void |
setMask(Image mask)
Camera mask, may be null.
|
void |
setMaster(Camera camera)
Camera master, may be null.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Camera meta data.
|
void |
setOrientation(int orientation)
Image orientation (1 - normal, 6 - 90 degree, 3 - 180 degree, 8 - 270 degree).
|
void |
setPhoto(Photo photo)
Camera photo, may be null.
|
void |
setReference(Camera.Reference reference)
Camera reference data.
|
void |
setSelected(boolean state)
Selects/deselects the photo.
|
void |
setSensor(Sensor sensor)
Camera sensor, may be null.
|
void |
setShutter(Shutter shutter)
Camera shutter, may be null.
|
void |
setThumbnail(Image thumbnail)
Camera thumbnail, may be null.
|
void |
setTransform(Matrix transform)
4x4 matrix describing photo location in the chunk coordinate system, may be null.
|
void |
setType(Camera.Type type)
Camera type.
|
void |
setVignetting(Vignetting[] vignetting)
Vignetting for each band.
|
Vector |
unproject(Vector proj) |
Vector |
unproject3D(Vector proj) |
protected Camera(long cPtr, boolean cMemoryOwn)
public Camera(Camera camera)
protected static long getCPtr(Camera obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public int getKey()
public java.util.Optional<Chunk> getChunk()
public void setType(Camera.Type type)
public Camera.Type getType()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setEnabled(boolean state)
public boolean isEnabled()
public void setSelected(boolean state)
public boolean isSelected()
public void setOrientation(int orientation)
public int getOrientation()
public void setSensor(Sensor sensor)
public java.util.Optional<Sensor> getSensor()
public void setMaster(Camera camera)
public java.util.Optional<Camera> getMaster()
public void setGroup(CameraGroup group)
public java.util.Optional<CameraGroup> getGroup()
public void setPhoto(Photo photo)
public java.util.Optional<Photo> getPhoto()
public void setTransform(Matrix transform)
public java.util.Optional<Matrix> getTransform()
public void setMask(Image mask)
public java.util.Optional<Image> getMask()
public void setThumbnail(Image thumbnail)
public java.util.Optional<Image> getThumbnail()
public void setShutter(Shutter shutter)
public java.util.Optional<Shutter> getShutter()
public void setVignetting(Vignetting[] vignetting)
public Vignetting[] getVignetting()
public Vector getCenter()
public java.util.Optional<Image> loadImage()
public Camera.Reference getReference()
public void setReference(Camera.Reference reference)
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Map<java.lang.String,java.lang.String> getMeta()