public void objectPointChanged(
      int found_markers, int[] ar_code_index, float[][] resultf, float[] cameraRHf) {

    synchronized (this) {
      this.found_markers = found_markers;
      for (int i = 0; i < MARKER_MAX; i++) {
        this.ar_code_index[i] = ar_code_index[i];
        System.arraycopy(resultf[i], 0, this.resultf[i], 0, 16);
      }
      System.arraycopy(cameraRHf, 0, this.cameraRHf, 0, 16);
    }

    objectClear();

    for (int i = 0; i < MARKER_MAX; i++) {

      if (ar_code_index[i] > (_scene.children().size() - 1)) continue;

      Log.i("min3D Render", "Draw Model number:" + ar_code_index[i]);
      Object3d o = _scene.children().get(ar_code_index[i]);
      if (!o.isVisible()) {
        if (o.animationEnabled()) ((AnimationObject3d) o).play();
        o.isVisible(true);
        o.matrix(resultf[i]);
      }
    }
  }
 public void onClick(View $v) {
   if ($v == flipButton && checkBox.isChecked()) ogre.play("flip", true);
   else if ($v == flipButton && !checkBox.isChecked()) ogre.play("flip", false);
   else if ($v == saluteButton && checkBox.isChecked()) ogre.play("salute", true);
   else if ($v == saluteButton && !checkBox.isChecked()) ogre.play("salute", false);
 }