Ejemplo n.º 1
0
  /** Disposes of image memory and associated objects. */
  public void disposeLocal() {
    m_aafBox = null;
    m_aafM = null;

    m_afShear = null;
    m_afOffset = null;
    m_afA = null;
    m_afB = null;
    m_aiSliceBound = null;
    m_aiBound = null;

    m_aiSliceMin = null;
    m_aiSliceMax = null;
    m_aiClipMin = null;
    m_aiClipMax = null;

    m_aaaasEncode = null;
    m_aaasVolumeEncode = null;
    m_aasSliceEncode = null;

    m_aaiIndex = null;
    m_asSkip = null;
    m_aiCurrentI = null;

    m_aiInterC = null;

    m_kP00 = null;
    m_kP01 = null;
    m_kP10 = null;
    m_kP11 = null;
    m_kPosition = null;

    super.disposeLocal();
    System.gc();
  }
Ejemplo n.º 2
0
 /**
  * Calls disposeLocal of this class to ensure this class nulls the references to global class
  * variables so that memory will be recovered.
  *
  * @throws Throwable DOCUMENT ME!
  */
 protected void finalize() throws Throwable {
   this.disposeLocal();
   super.finalize();
 }
Ejemplo n.º 3
0
  /**
   * Change the camera model.
   *
   * @param bParallel true for a parallel camera, false for a perspective camera
   */
  public void setParallel(boolean bParallel) {

    // no matter what is passed, only parallel viewing is supported
    super.setParallel(bParallel || true);
  }