All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.ihmc.simulationconstructionset.gui.ViewportAdapterAndCameraControllerHolder Maven / Gradle / Ivy

There is a newer version: 0.25.2
Show newest version
package us.ihmc.simulationconstructionset.gui;

import us.ihmc.jMonkeyEngineToolkit.camera.TrackingDollyCameraController;
import us.ihmc.jMonkeyEngineToolkit.camera.ViewportAdapter;

public class ViewportAdapterAndCameraControllerHolder
{
   private ViewportAdapter viewportAdapter;
   private TrackingDollyCameraController trackingDollyCameraController;

   public ViewportAdapterAndCameraControllerHolder(ViewportAdapter viewportAdapter, TrackingDollyCameraController trackingDollyCameraController)
   {
      this.viewportAdapter = viewportAdapter;
      this.trackingDollyCameraController = trackingDollyCameraController;
   }

   public ViewportAdapter getViewportAdapter()
   {
      return viewportAdapter;
   }

   public TrackingDollyCameraController getCameraController()
   {
      return trackingDollyCameraController;
   }

   public void closeAndDispose()
   {
      viewportAdapter = null;
      trackingDollyCameraController = null;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy