package com.metaio.sdk.jni;

public class Frame
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public Frame()
  {
    this(MetaioSDKJNI.new_Frame(), true);
  }

  public Frame(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public static long getCPtr(Frame paramFrame)
  {
    if (paramFrame == null)
      return 0L;
    return paramFrame.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_Frame(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public ImageStruct getCapturedImage()
  {
    long l = MetaioSDKJNI.Frame_capturedImage_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new ImageStruct(l, false);
  }

  public int getCapturedImageFlip()
  {
    return MetaioSDKJNI.Frame_capturedImageFlip_get(this.swigCPtr, this);
  }

  public double getCapturedImageTimestamp()
  {
    return MetaioSDKJNI.Frame_getCapturedImageTimestamp(this.swigCPtr, this);
  }

  public FaceVector getDetectedFaces()
  {
    long l = MetaioSDKJNI.Frame_detectedFaces_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new FaceVector(l, false);
  }

  public int getIndex()
  {
    return MetaioSDKJNI.Frame_index_get(this.swigCPtr, this);
  }

  public ImageMetaData getMetaData()
  {
    long l = MetaioSDKJNI.Frame_metaData_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new ImageMetaData(l, false);
  }

  public boolean getRealTimeFaceDetection()
  {
    return MetaioSDKJNI.Frame_realTimeFaceDetection_get(this.swigCPtr, this);
  }

  public ImageStruct getRenderingImageAsImageStruct()
  {
    return new ImageStruct(MetaioSDKJNI.Frame_getRenderingImageAsImageStruct__SWIG_1(this.swigCPtr, this), true);
  }

  public ImageStruct getRenderingImageAsImageStruct(boolean paramBoolean)
  {
    return new ImageStruct(MetaioSDKJNI.Frame_getRenderingImageAsImageStruct__SWIG_0(this.swigCPtr, this, paramBoolean), true);
  }

  public ESCREEN_ROTATION getScreenRotation()
  {
    return ESCREEN_ROTATION.swigToEnum(MetaioSDKJNI.Frame_screenRotation_get(this.swigCPtr, this));
  }

  public SensorValues getSensorValues()
  {
    long l = MetaioSDKJNI.Frame_sensorValues_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new SensorValues(l, false);
  }

  public boolean getShouldUseForRenderingOnly()
  {
    return MetaioSDKJNI.Frame_shouldUseForRenderingOnly_get(this.swigCPtr, this);
  }

  public boolean isRenderable()
  {
    return MetaioSDKJNI.Frame_isRenderable(this.swigCPtr, this);
  }

  public boolean isTrackable()
  {
    return MetaioSDKJNI.Frame_isTrackable(this.swigCPtr, this);
  }

  public void release()
  {
    MetaioSDKJNI.Frame_release(this.swigCPtr, this);
  }

  public void setCapturedImage(ImageStruct paramImageStruct)
  {
    MetaioSDKJNI.Frame_capturedImage_set(this.swigCPtr, this, ImageStruct.getCPtr(paramImageStruct), paramImageStruct);
  }

  public void setCapturedImageFlip(int paramInt)
  {
    MetaioSDKJNI.Frame_capturedImageFlip_set(this.swigCPtr, this, paramInt);
  }

  public void setDetectedFaces(FaceVector paramFaceVector)
  {
    MetaioSDKJNI.Frame_detectedFaces_set(this.swigCPtr, this, FaceVector.getCPtr(paramFaceVector), paramFaceVector);
  }

  public void setIndex(int paramInt)
  {
    MetaioSDKJNI.Frame_index_set(this.swigCPtr, this, paramInt);
  }

  public void setMetaData(ImageMetaData paramImageMetaData)
  {
    MetaioSDKJNI.Frame_metaData_set(this.swigCPtr, this, ImageMetaData.getCPtr(paramImageMetaData), paramImageMetaData);
  }

  public void setRealTimeFaceDetection(boolean paramBoolean)
  {
    MetaioSDKJNI.Frame_realTimeFaceDetection_set(this.swigCPtr, this, paramBoolean);
  }

  public void setScreenRotation(ESCREEN_ROTATION paramESCREEN_ROTATION)
  {
    MetaioSDKJNI.Frame_screenRotation_set(this.swigCPtr, this, paramESCREEN_ROTATION.swigValue());
  }

  public void setSensorValues(SensorValues paramSensorValues)
  {
    MetaioSDKJNI.Frame_sensorValues_set(this.swigCPtr, this, SensorValues.getCPtr(paramSensorValues), paramSensorValues);
  }

  public void setShouldUseForRenderingOnly(boolean paramBoolean)
  {
    MetaioSDKJNI.Frame_shouldUseForRenderingOnly_set(this.swigCPtr, this, paramBoolean);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.Frame
 * JD-Core Version:    0.6.2
 */