Class Sensor

java.lang.Object
com.agisoft.metashape.Sensor

public class Sensor extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Sensor

      public Sensor(long cPtr, boolean cMemoryOwn)
    • Sensor

      public Sensor(Sensor sensor)
  • Method Details

    • getCPtr

      public static long getCPtr(Sensor obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • cArrayUnwrap

      public static long[] cArrayUnwrap(Sensor[] arrayWrapper)
    • cArrayWrap

      public static Sensor[] cArrayWrap(long[] cArray, boolean cMemoryOwn)
    • getKey

      public int getKey()
      Sensor identifier.
    • getChunk

      public Chunk getChunk()
      Chunk container, may be null.
    • setLabel

      public void setLabel(String label)
      Sensor label.
    • getLabel

      public String getLabel()
      Sensor label.
    • setResolution

      public void setResolution(long width, long height)
      Image resolution.
    • getWidth

      public long getWidth()
      Image width.
    • getHeight

      public long getHeight()
      Image width.
    • setCameraModel

      public void setCameraModel(Calibration.Type type)
      Sensor projection model.
    • getCameraModel

      public Calibration.Type getCameraModel()
      Sensor projection model.
    • setCalibration

      public void setCalibration(Calibration calibration)
      Adjusted calibration of the photo.
    • getCalibration

      public Calibration getCalibration()
      Adjusted calibration of the photo.
    • setUserCalib

      public void setUserCalib(Calibration calibration)
      Custom calibration used as initial calibration during photo alignment, may be null.
    • getUserCalib

      public Calibration getUserCalib()
      Custom calibration used as initial calibration during photo alignment, may be null.
    • setFixed

      public void setFixed(boolean fixed)
      Fix calibration flag.
    • isFixed

      public boolean isFixed()
      Fix calibration flag.
    • setPixelSize

      public void setPixelSize(double width, double height)
      Pixel size in mm.
    • getPixelWidth

      public double getPixelWidth()
      Pixel width in mm.
    • getPixelHeight

      public double getPixelHeight()
      Pixel height in mm.
    • setFocalLength

      public void setFocalLength(double focal_length)
      Focal length in mm.
    • getFocalLength

      public double getFocalLength()
      Focal length in mm.
    • setMaster

      public void setMaster(Sensor sensor)
      Sensor master, may be null.
    • getMaster

      public Sensor getMaster()
      Sensor master, may be null.
    • setReference

      public void setReference(Sensor.Reference reference)
      Sensor reference data.
    • getReference

      public Sensor.Reference getReference()
      Sensor reference data.
    • setAntenna

      public void setAntenna(Antenna antenna)
      GPS antenna correction.
    • getAntenna

      public Antenna getAntenna()
      GPS antenna correction.
    • setVignetting

      public void setVignetting(Vignetting[] vignetting)
      Vignetting for each band.
    • getVignetting

      public Vignetting[] getVignetting()
      Vignetting for each band.
    • setMeta

      public void setMeta(MetaData meta)
      Sensor meta data.
    • getMeta

      public MetaData getMeta()
      Sensor meta data.
    • makeMaster

      public void makeMaster()
      Make this sensor master in the multi-camera system.