Class KeyframesView


public class KeyframesView extends BaseView
  • Constructor Details Link icon

    • KeyframesView Link icon

      public KeyframesView(Scene scene)
  • Method Details Link icon

    • entityCheck Link icon

      protected void entityCheck(com.badlogic.ashley.core.Entity entity)
      Description copied from class: AbstractView
      Checks whether the given entity is suitable for this view. This method should throw a RuntimeException if the entity is not suitable.
      Overrides:
      entityCheck in class BaseView
      Parameters:
      entity - The entity.
    • entityChanged Link icon

      protected void entityChanged()
      Description copied from class: AbstractView
      Contains actions to take after a new entity has been set. This method is typically used to initialize the view components.
      Overrides:
      entityChanged in class BaseView
    • entityCleared Link icon

      protected void entityCleared()
      Description copied from class: AbstractView
      This method is called when the entity of this view is cleared. It should set all component references to null.
      Overrides:
      entityCleared in class BaseView
    • refreshData Link icon

      public void refreshData()
      Refreshes the positions and orientations from the keyframes
    • refreshOrientations Link icon

      public void refreshOrientations()
      Refreshes the orientations from the keyframes
    • refreshSingleVector Link icon

      public void refreshSingleVector(com.badlogic.ashley.core.Entity vo, Vector3d pos, Vector3d vec)
    • resamplePath Link icon

      public void resamplePath()
    • setPathKnots Link icon

      public void setPathKnots(double[] kts, double[] dirs, double[] ups, boolean[] seams)
    • addKnot Link icon

      public void addKnot(Vector3d knot, Vector3d dir, Vector3d up, boolean seam)
    • select Link icon

      public FocusView select(int screenX, int screenY, int minPixDist, NaturalCamera camera)
    • checkClickDistance Link icon

      protected boolean checkClickDistance(int screenX, int screenY, com.badlogic.gdx.math.Vector3 pos, NaturalCamera camera, com.badlogic.gdx.graphics.PerspectiveCamera pcamera, double pixelSize)
    • highlight Link icon

      public void highlight(Keyframe keyframe)
    • unhighlight Link icon

      public void unhighlight(Keyframe keyframe)
    • unhighlight Link icon

      public void unhighlight()
    • select Link icon

      public void select(Keyframe keyframe)
    • unselect Link icon

      public void unselect()
    • isSelected Link icon

      public boolean isSelected()
    • moveSelection Link icon

      public boolean moveSelection(int screenX, int screenY, NaturalCamera camera)
    • rotateAroundDir Link icon

      public boolean rotateAroundDir(double dx, double dy, NaturalCamera camera)
    • rotateAroundUp Link icon

      public boolean rotateAroundUp(double dx, double dy, NaturalCamera camera)
    • rotateAroundCrs Link icon

      public boolean rotateAroundCrs(double dx, double dy, NaturalCamera camera)
    • clearOrientations Link icon

      public void clearOrientations()
    • clear Link icon

      public void clear()