/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.36
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


public class OBVibrationData extends OBGenericData {
  private long swigCPtr;

  protected OBVibrationData(long cPtr, boolean cMemoryOwn) {
    super(openbabelJNI.SWIGOBVibrationDataUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected static long getCPtr(OBVibrationData obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      openbabelJNI.delete_OBVibrationData(swigCPtr);
    }
    swigCPtr = 0;
    super.delete();
  }

  public OBVibrationData() {
    this(openbabelJNI.new_OBVibrationData(), true);
  }

  public void SetData(SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t arg0, vectorDouble arg1, vectorDouble arg2) {
    openbabelJNI.OBVibrationData_SetData(swigCPtr, this, SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t.getCPtr(arg0), vectorDouble.getCPtr(arg1), arg1, vectorDouble.getCPtr(arg2), arg2);
  }

  public SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t GetLx() {
    return new SWIGTYPE_p_std__vectorT_std__vectorT_OpenBabel__vector3_t_t(openbabelJNI.OBVibrationData_GetLx(swigCPtr, this), true);
  }

  public vectorDouble GetFrequencies() {
    return new vectorDouble(openbabelJNI.OBVibrationData_GetFrequencies(swigCPtr, this), true);
  }

  public vectorDouble GetIntensities() {
    return new vectorDouble(openbabelJNI.OBVibrationData_GetIntensities(swigCPtr, this), true);
  }

  public long GetNumberOfFrequencies() {
    return openbabelJNI.OBVibrationData_GetNumberOfFrequencies(swigCPtr, this);
  }

}
